7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/Provider.h>
11#include <aws/inspector2/model/SeverityCounts.h>
44 template <
typename ResourceIdT = Aws::String>
46 m_resourceIdHasBeenSet =
true;
47 m_resourceId = std::forward<ResourceIdT>(value);
49 template <
typename ResourceIdT = Aws::String>
66 m_cloudProviderHasBeenSet =
true;
67 m_cloudProvider = value;
81 template <
typename CloudAccountIdT = Aws::String>
83 m_cloudAccountIdHasBeenSet =
true;
84 m_cloudAccountId = std::forward<CloudAccountIdT>(value);
86 template <
typename CloudAccountIdT = Aws::String>
104 template <
typename CloudPartitionT = Aws::String>
106 m_cloudPartitionHasBeenSet =
true;
107 m_cloudPartition = std::forward<CloudPartitionT>(value);
109 template <
typename CloudPartitionT = Aws::String>
125 template <
typename CloudRegionT = Aws::String>
127 m_cloudRegionHasBeenSet =
true;
128 m_cloudRegion = std::forward<CloudRegionT>(value);
130 template <
typename CloudRegionT = Aws::String>
143 template <
typename CloudOrgIdT = Aws::String>
145 m_cloudOrgIdHasBeenSet =
true;
146 m_cloudOrgId = std::forward<CloudOrgIdT>(value);
148 template <
typename CloudOrgIdT = Aws::String>
161 template <
typename VmImageReferenceT = Aws::String>
163 m_vmImageReferenceHasBeenSet =
true;
164 m_vmImageReference = std::forward<VmImageReferenceT>(value);
166 template <
typename VmImageReferenceT = Aws::String>
179 template <
typename OperatingSystemT = Aws::String>
181 m_operatingSystemHasBeenSet =
true;
182 m_operatingSystem = std::forward<OperatingSystemT>(value);
184 template <
typename OperatingSystemT = Aws::String>
197 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
199 m_tagsHasBeenSet =
true;
200 m_tags = std::forward<TagsT>(value);
202 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 SetTags(std::forward<TagsT>(value));
207 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
209 m_tagsHasBeenSet =
true;
210 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
221 template <
typename AccountIdT = Aws::String>
223 m_accountIdHasBeenSet =
true;
224 m_accountId = std::forward<AccountIdT>(value);
226 template <
typename AccountIdT = Aws::String>
237 template <
typename SeverityCountsT = SeverityCounts>
239 m_severityCountsHasBeenSet =
true;
240 m_severityCounts = std::forward<SeverityCountsT>(value);
242 template <
typename SeverityCountsT = SeverityCounts>
257 m_networkFindingsHasBeenSet =
true;
258 m_networkFindings = value;
274 m_exploitAvailableActiveFindingsCountHasBeenSet =
true;
275 m_exploitAvailableActiveFindingsCount = value;
290 m_fixAvailableActiveFindingsCountHasBeenSet =
true;
291 m_fixAvailableActiveFindingsCount = value;
319 SeverityCounts m_severityCounts;
321 long long m_networkFindings{0};
323 long long m_exploitAvailableActiveFindingsCount{0};
325 long long m_fixAvailableActiveFindingsCount{0};
326 bool m_resourceIdHasBeenSet =
false;
327 bool m_cloudProviderHasBeenSet =
false;
328 bool m_cloudAccountIdHasBeenSet =
false;
329 bool m_cloudPartitionHasBeenSet =
false;
330 bool m_cloudRegionHasBeenSet =
false;
331 bool m_cloudOrgIdHasBeenSet =
false;
332 bool m_vmImageReferenceHasBeenSet =
false;
333 bool m_operatingSystemHasBeenSet =
false;
334 bool m_tagsHasBeenSet =
false;
335 bool m_accountIdHasBeenSet =
false;
336 bool m_severityCountsHasBeenSet =
false;
337 bool m_networkFindingsHasBeenSet =
false;
338 bool m_exploitAvailableActiveFindingsCountHasBeenSet =
false;
339 bool m_fixAvailableActiveFindingsCountHasBeenSet =
false;
const Aws::String & GetCloudOrgId() const
bool CloudRegionHasBeenSet() const
const Aws::String & GetCloudRegion() const
void SetNetworkFindings(long long value)
VmInstanceAggregationResponse & WithOperatingSystem(OperatingSystemT &&value)
VmInstanceAggregationResponse & WithCloudOrgId(CloudOrgIdT &&value)
AWS_INSPECTOR2_API VmInstanceAggregationResponse()=default
void SetTags(TagsT &&value)
VmInstanceAggregationResponse & WithVmImageReference(VmImageReferenceT &&value)
bool CloudAccountIdHasBeenSet() const
VmInstanceAggregationResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetCloudOrgId(CloudOrgIdT &&value)
void SetExploitAvailableActiveFindingsCount(long long value)
VmInstanceAggregationResponse & WithCloudAccountId(CloudAccountIdT &&value)
VmInstanceAggregationResponse & WithAccountId(AccountIdT &&value)
const SeverityCounts & GetSeverityCounts() const
void SetOperatingSystem(OperatingSystemT &&value)
VmInstanceAggregationResponse & WithCloudPartition(CloudPartitionT &&value)
const Aws::String & GetResourceId() const
AWS_INSPECTOR2_API VmInstanceAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
Provider GetCloudProvider() const
long long GetExploitAvailableActiveFindingsCount() const
VmInstanceAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
bool CloudPartitionHasBeenSet() const
bool VmImageReferenceHasBeenSet() const
bool NetworkFindingsHasBeenSet() const
VmInstanceAggregationResponse & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetVmImageReference() const
long long GetNetworkFindings() const
VmInstanceAggregationResponse & WithNetworkFindings(long long value)
void SetCloudPartition(CloudPartitionT &&value)
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetAccountId() const
const Aws::String & GetOperatingSystem() const
bool CloudProviderHasBeenSet() const
void SetCloudAccountId(CloudAccountIdT &&value)
bool FixAvailableActiveFindingsCountHasBeenSet() const
void SetVmImageReference(VmImageReferenceT &&value)
void SetCloudRegion(CloudRegionT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCloudPartition() const
AWS_INSPECTOR2_API VmInstanceAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
VmInstanceAggregationResponse & WithFixAvailableActiveFindingsCount(long long value)
bool CloudOrgIdHasBeenSet() const
bool ResourceIdHasBeenSet() const
bool SeverityCountsHasBeenSet() const
void SetSeverityCounts(SeverityCountsT &&value)
void SetCloudProvider(Provider value)
bool AccountIdHasBeenSet() const
VmInstanceAggregationResponse & WithCloudProvider(Provider value)
VmInstanceAggregationResponse & WithResourceId(ResourceIdT &&value)
const Aws::String & GetCloudAccountId() const
void SetFixAvailableActiveFindingsCount(long long value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ExploitAvailableActiveFindingsCountHasBeenSet() const
VmInstanceAggregationResponse & WithExploitAvailableActiveFindingsCount(long long value)
long long GetFixAvailableActiveFindingsCount() const
void SetAccountId(AccountIdT &&value)
bool OperatingSystemHasBeenSet() const
VmInstanceAggregationResponse & WithCloudRegion(CloudRegionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue