7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/SeverityCounts.h>
50 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
62 inline void SetAffectedInstances(
long long value) { m_affectedInstancesHasBeenSet =
true; m_affectedInstances = value; }
73 inline void SetAmi(
Aws::String&& value) { m_amiHasBeenSet =
true; m_ami = std::move(value); }
74 inline void SetAmi(
const char* value) { m_amiHasBeenSet =
true; m_ami.assign(value); }
94 bool m_accountIdHasBeenSet =
false;
96 long long m_affectedInstances;
97 bool m_affectedInstancesHasBeenSet =
false;
100 bool m_amiHasBeenSet =
false;
103 bool m_severityCountsHasBeenSet =
false;
AWS_INSPECTOR2_API AmiAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
const SeverityCounts & GetSeverityCounts() const
bool AmiHasBeenSet() const
AmiAggregationResponse & WithAffectedInstances(long long value)
void SetAccountId(Aws::String &&value)
bool AccountIdHasBeenSet() const
AmiAggregationResponse & WithAmi(Aws::String &&value)
void SetAccountId(const char *value)
bool AffectedInstancesHasBeenSet() const
AmiAggregationResponse & WithSeverityCounts(SeverityCounts &&value)
AWS_INSPECTOR2_API AmiAggregationResponse()
const Aws::String & GetAccountId() const
AmiAggregationResponse & WithAmi(const Aws::String &value)
void SetSeverityCounts(const SeverityCounts &value)
AmiAggregationResponse & WithAccountId(Aws::String &&value)
void SetAccountId(const Aws::String &value)
long long GetAffectedInstances() const
void SetAffectedInstances(long long value)
AmiAggregationResponse & WithSeverityCounts(const SeverityCounts &value)
void SetAmi(const Aws::String &value)
AWS_INSPECTOR2_API AmiAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SeverityCountsHasBeenSet() const
void SetSeverityCounts(SeverityCounts &&value)
void SetAmi(Aws::String &&value)
AmiAggregationResponse & WithAccountId(const Aws::String &value)
AmiAggregationResponse & WithAmi(const char *value)
const Aws::String & GetAmi() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AmiAggregationResponse & WithAccountId(const char *value)
void SetAmi(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue