7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/inspector2/model/SeverityCounts.h>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
64 inline void SetAmi(
Aws::String&& value) { m_amiHasBeenSet =
true; m_ami = std::move(value); }
65 inline void SetAmi(
const char* value) { m_amiHasBeenSet =
true; m_ami.assign(value); }
79 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
110 inline void SetNetworkFindings(
long long value) { m_networkFindingsHasBeenSet =
true; m_networkFindings = value; }
122 inline void SetOperatingSystem(
const char* value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem.assign(value); }
142 bool m_accountIdHasBeenSet =
false;
145 bool m_amiHasBeenSet =
false;
148 bool m_instanceIdHasBeenSet =
false;
151 bool m_instanceTagsHasBeenSet =
false;
153 long long m_networkFindings;
154 bool m_networkFindingsHasBeenSet =
false;
157 bool m_operatingSystemHasBeenSet =
false;
160 bool m_severityCountsHasBeenSet =
false;
Ec2InstanceAggregationResponse & WithInstanceTags(Aws::Map< Aws::String, Aws::String > &&value)
Ec2InstanceAggregationResponse & WithOperatingSystem(const char *value)
bool InstanceIdHasBeenSet() const
Ec2InstanceAggregationResponse & WithAmi(const Aws::String &value)
const Aws::String & GetAccountId() const
Ec2InstanceAggregationResponse & AddInstanceTags(const char *key, const char *value)
void SetInstanceId(Aws::String &&value)
Ec2InstanceAggregationResponse & WithAccountId(const char *value)
bool SeverityCountsHasBeenSet() const
void SetAmi(Aws::String &&value)
Ec2InstanceAggregationResponse & WithInstanceTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetInstanceId(const char *value)
Ec2InstanceAggregationResponse & AddInstanceTags(const Aws::String &key, const Aws::String &value)
const SeverityCounts & GetSeverityCounts() const
bool OperatingSystemHasBeenSet() const
Ec2InstanceAggregationResponse & AddInstanceTags(Aws::String &&key, const Aws::String &value)
AWS_INSPECTOR2_API Ec2InstanceAggregationResponse()
Ec2InstanceAggregationResponse & AddInstanceTags(const Aws::String &key, Aws::String &&value)
Ec2InstanceAggregationResponse & WithSeverityCounts(const SeverityCounts &value)
void SetNetworkFindings(long long value)
Ec2InstanceAggregationResponse & WithInstanceId(const char *value)
bool InstanceTagsHasBeenSet() const
bool AmiHasBeenSet() const
bool NetworkFindingsHasBeenSet() const
AWS_INSPECTOR2_API Ec2InstanceAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Ec2InstanceAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetOperatingSystem(const char *value)
Ec2InstanceAggregationResponse & WithOperatingSystem(Aws::String &&value)
const Aws::String & GetInstanceId() const
Ec2InstanceAggregationResponse & WithOperatingSystem(const Aws::String &value)
void SetOperatingSystem(const Aws::String &value)
Ec2InstanceAggregationResponse & WithNetworkFindings(long long value)
const Aws::String & GetAmi() const
Ec2InstanceAggregationResponse & WithSeverityCounts(SeverityCounts &&value)
void SetAmi(const Aws::String &value)
void SetAccountId(Aws::String &&value)
Ec2InstanceAggregationResponse & WithInstanceId(const Aws::String &value)
void SetSeverityCounts(SeverityCounts &&value)
const Aws::String & GetOperatingSystem() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetOperatingSystem(Aws::String &&value)
Ec2InstanceAggregationResponse & WithAccountId(Aws::String &&value)
Ec2InstanceAggregationResponse & WithAmi(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetAccountId(const char *value)
void SetSeverityCounts(const SeverityCounts &value)
Ec2InstanceAggregationResponse & AddInstanceTags(const char *key, Aws::String &&value)
void SetAccountId(const Aws::String &value)
void SetAmi(const char *value)
long long GetNetworkFindings() const
void SetInstanceId(const Aws::String &value)
Ec2InstanceAggregationResponse & AddInstanceTags(Aws::String &&key, Aws::String &&value)
Ec2InstanceAggregationResponse & WithAmi(const char *value)
Ec2InstanceAggregationResponse & WithAccountId(const Aws::String &value)
void SetInstanceTags(const Aws::Map< Aws::String, Aws::String > &value)
Ec2InstanceAggregationResponse & WithInstanceId(Aws::String &&value)
Ec2InstanceAggregationResponse & AddInstanceTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetInstanceTags() const
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