7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/Provider.h>
10#include <aws/inspector2/model/SeverityCounts.h>
43 template <
typename AmiT = Aws::String>
45 m_amiHasBeenSet =
true;
46 m_ami = std::forward<AmiT>(value);
48 template <
typename AmiT = Aws::String>
50 SetAmi(std::forward<AmiT>(value));
61 template <
typename AccountIdT = Aws::String>
63 m_accountIdHasBeenSet =
true;
64 m_accountId = std::forward<AccountIdT>(value);
66 template <
typename AccountIdT = Aws::String>
83 m_cloudProviderHasBeenSet =
true;
84 m_cloudProvider = value;
103 template <
typename CloudPartitionT = Aws::String>
105 m_cloudPartitionHasBeenSet =
true;
106 m_cloudPartition = std::forward<CloudPartitionT>(value);
108 template <
typename CloudPartitionT = Aws::String>
124 template <
typename CloudRegionT = Aws::String>
126 m_cloudRegionHasBeenSet =
true;
127 m_cloudRegion = std::forward<CloudRegionT>(value);
129 template <
typename CloudRegionT = Aws::String>
142 template <
typename CloudOrgIdT = Aws::String>
144 m_cloudOrgIdHasBeenSet =
true;
145 m_cloudOrgId = std::forward<CloudOrgIdT>(value);
147 template <
typename CloudOrgIdT = Aws::String>
160 template <
typename CloudAccountIdT = Aws::String>
162 m_cloudAccountIdHasBeenSet =
true;
163 m_cloudAccountId = std::forward<CloudAccountIdT>(value);
165 template <
typename CloudAccountIdT = Aws::String>
178 template <
typename SeverityCountsT = SeverityCounts>
180 m_severityCountsHasBeenSet =
true;
181 m_severityCounts = std::forward<SeverityCountsT>(value);
183 template <
typename SeverityCountsT = SeverityCounts>
197 m_affectedInstancesHasBeenSet =
true;
198 m_affectedInstances = value;
220 SeverityCounts m_severityCounts;
222 long long m_affectedInstances{0};
223 bool m_amiHasBeenSet =
false;
224 bool m_accountIdHasBeenSet =
false;
225 bool m_cloudProviderHasBeenSet =
false;
226 bool m_cloudPartitionHasBeenSet =
false;
227 bool m_cloudRegionHasBeenSet =
false;
228 bool m_cloudOrgIdHasBeenSet =
false;
229 bool m_cloudAccountIdHasBeenSet =
false;
230 bool m_severityCountsHasBeenSet =
false;
231 bool m_affectedInstancesHasBeenSet =
false;
void SetCloudAccountId(CloudAccountIdT &&value)
AWS_INSPECTOR2_API AmiAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
const SeverityCounts & GetSeverityCounts() const
bool CloudRegionHasBeenSet() const
void SetCloudOrgId(CloudOrgIdT &&value)
bool AmiHasBeenSet() const
void SetAccountId(AccountIdT &&value)
AmiAggregationResponse & WithCloudOrgId(CloudOrgIdT &&value)
AmiAggregationResponse & WithAffectedInstances(long long value)
bool AccountIdHasBeenSet() const
AWS_INSPECTOR2_API AmiAggregationResponse()=default
AmiAggregationResponse & WithCloudRegion(CloudRegionT &&value)
void SetCloudRegion(CloudRegionT &&value)
bool AffectedInstancesHasBeenSet() const
const Aws::String & GetAccountId() const
AmiAggregationResponse & WithCloudPartition(CloudPartitionT &&value)
const Aws::String & GetCloudRegion() const
AmiAggregationResponse & WithCloudAccountId(CloudAccountIdT &&value)
Provider GetCloudProvider() const
AmiAggregationResponse & WithCloudProvider(Provider value)
void SetCloudProvider(Provider value)
long long GetAffectedInstances() const
void SetAffectedInstances(long long value)
AmiAggregationResponse & WithAmi(AmiT &&value)
AWS_INSPECTOR2_API AmiAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeverityCounts(SeverityCountsT &&value)
void SetCloudPartition(CloudPartitionT &&value)
bool SeverityCountsHasBeenSet() const
bool CloudProviderHasBeenSet() const
AmiAggregationResponse & WithAccountId(AccountIdT &&value)
const Aws::String & GetCloudAccountId() const
void SetAmi(AmiT &&value)
const Aws::String & GetCloudOrgId() const
bool CloudAccountIdHasBeenSet() const
bool CloudPartitionHasBeenSet() const
const Aws::String & GetAmi() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AmiAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
const Aws::String & GetCloudPartition() const
bool CloudOrgIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue