7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/SeverityCounts.h>
48 template<
typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
50 template<
typename AccountIdT = Aws::String>
60 inline void SetAffectedInstances(
long long value) { m_affectedInstancesHasBeenSet =
true; m_affectedInstances = value; }
70 template<
typename AmiT = Aws::String>
71 void SetAmi(AmiT&& value) { m_amiHasBeenSet =
true; m_ami = std::forward<AmiT>(value); }
72 template<
typename AmiT = Aws::String>
82 template<
typename SeverityCountsT = SeverityCounts>
83 void SetSeverityCounts(SeverityCountsT&& value) { m_severityCountsHasBeenSet =
true; m_severityCounts = std::forward<SeverityCountsT>(value); }
84 template<
typename SeverityCountsT = SeverityCounts>
90 bool m_accountIdHasBeenSet =
false;
92 long long m_affectedInstances{0};
93 bool m_affectedInstancesHasBeenSet =
false;
96 bool m_amiHasBeenSet =
false;
98 SeverityCounts m_severityCounts;
99 bool m_severityCountsHasBeenSet =
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