7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/Classification.h>
9#include <aws/apiportal/model/DiscoverySource.h>
10#include <aws/apiportal/model/HttpMethod.h>
11#include <aws/apiportal/model/ManagedBy.h>
12#include <aws/apiportal/model/Visibility.h>
13#include <aws/apiportal/model/WafStatus.h>
14#include <aws/apiportal/model/Workload.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
50 m_methodHasBeenSet =
true;
63 template <
typename HostT = Aws::String>
65 m_hostHasBeenSet =
true;
66 m_host = std::forward<HostT>(value);
68 template <
typename HostT = Aws::String>
70 SetHost(std::forward<HostT>(value));
79 inline int GetPort()
const {
return m_port; }
82 m_portHasBeenSet =
true;
97 template <
typename PathT = Aws::String>
99 m_pathHasBeenSet =
true;
100 m_path = std::forward<PathT>(value);
102 template <
typename PathT = Aws::String>
104 SetPath(std::forward<PathT>(value));
115 template <
typename AccountIdT = Aws::String>
117 m_accountIdHasBeenSet =
true;
118 m_accountId = std::forward<AccountIdT>(value);
120 template <
typename AccountIdT = Aws::String>
134 template <
typename ResourceArnT = Aws::String>
136 m_resourceArnHasBeenSet =
true;
137 m_resourceArn = std::forward<ResourceArnT>(value);
139 template <
typename ResourceArnT = Aws::String>
152 template <
typename RegionT = Aws::String>
154 m_regionHasBeenSet =
true;
155 m_region = std::forward<RegionT>(value);
157 template <
typename RegionT = Aws::String>
169 m_discoverySourceHasBeenSet =
true;
170 m_discoverySource = value;
184 template <
typename FirstSeenT = Aws::Utils::DateTime>
186 m_firstSeenHasBeenSet =
true;
187 m_firstSeen = std::forward<FirstSeenT>(value);
189 template <
typename FirstSeenT = Aws::Utils::DateTime>
202 template <
typename LastSeenT = Aws::Utils::DateTime>
204 m_lastSeenHasBeenSet =
true;
205 m_lastSeen = std::forward<LastSeenT>(value);
207 template <
typename LastSeenT = Aws::Utils::DateTime>
219 m_visibilityHasBeenSet =
true;
220 m_visibility = value;
233 m_wafStatusHasBeenSet =
true;
247 m_classificationHasBeenSet =
true;
248 m_classification = value;
261 m_managedByHasBeenSet =
true;
278 template <
typename WorkloadsT = Aws::Vector<Workload>>
280 m_workloadsHasBeenSet =
true;
281 m_workloads = std::forward<WorkloadsT>(value);
283 template <
typename WorkloadsT = Aws::Vector<Workload>>
289 m_workloadsHasBeenSet =
true;
290 m_workloads.push_back(value);
324 bool m_methodHasBeenSet =
false;
325 bool m_hostHasBeenSet =
false;
326 bool m_portHasBeenSet =
false;
327 bool m_pathHasBeenSet =
false;
328 bool m_accountIdHasBeenSet =
false;
329 bool m_resourceArnHasBeenSet =
false;
330 bool m_regionHasBeenSet =
false;
331 bool m_discoverySourceHasBeenSet =
false;
332 bool m_firstSeenHasBeenSet =
false;
333 bool m_lastSeenHasBeenSet =
false;
334 bool m_visibilityHasBeenSet =
false;
335 bool m_wafStatusHasBeenSet =
false;
336 bool m_classificationHasBeenSet =
false;
337 bool m_managedByHasBeenSet =
false;
338 bool m_workloadsHasBeenSet =
false;
void SetMethod(HttpMethod value)
HttpMethod GetMethod() const
void SetPath(PathT &&value)
AWS_APIPORTAL_API ApiInventoryItem()=default
Classification GetClassification() const
void SetFirstSeen(FirstSeenT &&value)
bool HostHasBeenSet() const
bool RegionHasBeenSet() const
ApiInventoryItem & WithClassification(Classification value)
void SetHost(HostT &&value)
bool FirstSeenHasBeenSet() const
void SetAccountId(AccountIdT &&value)
bool LastSeenHasBeenSet() const
ApiInventoryItem & WithMethod(HttpMethod value)
void SetWafStatus(WafStatus value)
ApiInventoryItem & WithDiscoverySource(DiscoverySource value)
const Aws::String & GetPath() const
const Aws::Vector< Workload > & GetWorkloads() const
ApiInventoryItem & WithWafStatus(WafStatus value)
AWS_APIPORTAL_API ApiInventoryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WorkloadsHasBeenSet() const
WafStatus GetWafStatus() const
void SetWorkloads(WorkloadsT &&value)
bool MethodHasBeenSet() const
const Aws::String & GetResourceArn() const
void SetManagedBy(ManagedBy value)
ApiInventoryItem & WithWorkloads(WorkloadsT &&value)
ApiInventoryItem & WithPath(PathT &&value)
bool DiscoverySourceHasBeenSet() const
ApiInventoryItem & WithPort(int value)
ApiInventoryItem & WithLastSeen(LastSeenT &&value)
ManagedBy GetManagedBy() const
ApiInventoryItem & AddWorkloads(Workload value)
AWS_APIPORTAL_API ApiInventoryItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
ApiInventoryItem & WithResourceArn(ResourceArnT &&value)
bool AccountIdHasBeenSet() const
ApiInventoryItem & WithVisibility(Visibility value)
bool PortHasBeenSet() const
void SetDiscoverySource(DiscoverySource value)
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool VisibilityHasBeenSet() const
bool ManagedByHasBeenSet() const
Visibility GetVisibility() const
const Aws::String & GetRegion() const
bool ClassificationHasBeenSet() const
ApiInventoryItem & WithManagedBy(ManagedBy value)
ApiInventoryItem & WithAccountId(AccountIdT &&value)
void SetResourceArn(ResourceArnT &&value)
void SetVisibility(Visibility value)
ApiInventoryItem & WithRegion(RegionT &&value)
bool WafStatusHasBeenSet() const
ApiInventoryItem & WithFirstSeen(FirstSeenT &&value)
bool ResourceArnHasBeenSet() const
const Aws::String & GetHost() const
bool PathHasBeenSet() const
const Aws::Utils::DateTime & GetLastSeen() const
const Aws::Utils::DateTime & GetFirstSeen() const
void SetRegion(RegionT &&value)
void SetLastSeen(LastSeenT &&value)
DiscoverySource GetDiscoverySource() const
ApiInventoryItem & WithHost(HostT &&value)
void SetClassification(Classification value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue