7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/SeverityCounts.h>
43 template <
typename InstanceIdT = Aws::String>
45 m_instanceIdHasBeenSet =
true;
46 m_instanceId = std::forward<InstanceIdT>(value);
48 template <
typename InstanceIdT = Aws::String>
61 template <
typename AmiT = Aws::String>
63 m_amiHasBeenSet =
true;
64 m_ami = std::forward<AmiT>(value);
66 template <
typename AmiT = Aws::String>
68 SetAmi(std::forward<AmiT>(value));
79 template <
typename OperatingSystemT = Aws::String>
81 m_operatingSystemHasBeenSet =
true;
82 m_operatingSystem = std::forward<OperatingSystemT>(value);
84 template <
typename OperatingSystemT = Aws::String>
97 template <
typename InstanceTagsT = Aws::Map<Aws::String, Aws::String>>
99 m_instanceTagsHasBeenSet =
true;
100 m_instanceTags = std::forward<InstanceTagsT>(value);
102 template <
typename InstanceTagsT = Aws::Map<Aws::String, Aws::String>>
107 template <
typename InstanceTagsKeyT = Aws::String,
typename InstanceTagsValueT = Aws::String>
109 m_instanceTagsHasBeenSet =
true;
110 m_instanceTags.emplace(std::forward<InstanceTagsKeyT>(key), std::forward<InstanceTagsValueT>(value));
121 template <
typename AccountIdT = Aws::String>
123 m_accountIdHasBeenSet =
true;
124 m_accountId = std::forward<AccountIdT>(value);
126 template <
typename AccountIdT = Aws::String>
139 template <
typename SeverityCountsT = SeverityCounts>
141 m_severityCountsHasBeenSet =
true;
142 m_severityCounts = std::forward<SeverityCountsT>(value);
144 template <
typename SeverityCountsT = SeverityCounts>
158 m_networkFindingsHasBeenSet =
true;
159 m_networkFindings = value;
179 long long m_networkFindings{0};
180 bool m_instanceIdHasBeenSet =
false;
181 bool m_amiHasBeenSet =
false;
182 bool m_operatingSystemHasBeenSet =
false;
183 bool m_instanceTagsHasBeenSet =
false;
184 bool m_accountIdHasBeenSet =
false;
185 bool m_severityCountsHasBeenSet =
false;
186 bool m_networkFindingsHasBeenSet =
false;
bool InstanceIdHasBeenSet() const
const Aws::String & GetAccountId() const
Ec2InstanceAggregationResponse & WithOperatingSystem(OperatingSystemT &&value)
Ec2InstanceAggregationResponse & WithAmi(AmiT &&value)
bool SeverityCountsHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
Ec2InstanceAggregationResponse & WithInstanceId(InstanceIdT &&value)
const SeverityCounts & GetSeverityCounts() const
bool OperatingSystemHasBeenSet() const
Ec2InstanceAggregationResponse & WithAccountId(AccountIdT &&value)
void SetNetworkFindings(long long 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(OperatingSystemT &&value)
const Aws::String & GetInstanceId() const
void SetAccountId(AccountIdT &&value)
Ec2InstanceAggregationResponse & WithNetworkFindings(long long value)
const Aws::String & GetAmi() const
const Aws::String & GetOperatingSystem() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAmi(AmiT &&value)
Ec2InstanceAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
void SetInstanceTags(InstanceTagsT &&value)
bool AccountIdHasBeenSet() const
AWS_INSPECTOR2_API Ec2InstanceAggregationResponse()=default
Ec2InstanceAggregationResponse & WithInstanceTags(InstanceTagsT &&value)
long long GetNetworkFindings() const
void SetSeverityCounts(SeverityCountsT &&value)
Ec2InstanceAggregationResponse & AddInstanceTags(InstanceTagsKeyT &&key, InstanceTagsValueT &&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