7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/SeverityCounts.h>
42 template <
typename AmiT = Aws::String>
44 m_amiHasBeenSet =
true;
45 m_ami = std::forward<AmiT>(value);
47 template <
typename AmiT = Aws::String>
49 SetAmi(std::forward<AmiT>(value));
60 template <
typename AccountIdT = Aws::String>
62 m_accountIdHasBeenSet =
true;
63 m_accountId = std::forward<AccountIdT>(value);
65 template <
typename AccountIdT = Aws::String>
78 template <
typename SeverityCountsT = SeverityCounts>
80 m_severityCountsHasBeenSet =
true;
81 m_severityCounts = std::forward<SeverityCountsT>(value);
83 template <
typename SeverityCountsT = SeverityCounts>
97 m_affectedInstancesHasBeenSet =
true;
98 m_affectedInstances = value;
112 long long m_affectedInstances{0};
113 bool m_amiHasBeenSet =
false;
114 bool m_accountIdHasBeenSet =
false;
115 bool m_severityCountsHasBeenSet =
false;
116 bool m_affectedInstancesHasBeenSet =
false;
AWS_INSPECTOR2_API AmiAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
const SeverityCounts & GetSeverityCounts() const
bool AmiHasBeenSet() const
void SetAccountId(AccountIdT &&value)
AmiAggregationResponse & WithAffectedInstances(long long value)
bool AccountIdHasBeenSet() const
AWS_INSPECTOR2_API AmiAggregationResponse()=default
bool AffectedInstancesHasBeenSet() const
const Aws::String & GetAccountId() const
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)
bool SeverityCountsHasBeenSet() const
AmiAggregationResponse & WithAccountId(AccountIdT &&value)
void SetAmi(AmiT &&value)
const Aws::String & GetAmi() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AmiAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue