7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/Ec2InstanceSortBy.h>
10#include <aws/inspector2/model/MapFilter.h>
11#include <aws/inspector2/model/SortOrder.h>
12#include <aws/inspector2/model/StringFilter.h>
46 template <
typename AmisT = Aws::Vector<StringFilter>>
48 m_amisHasBeenSet =
true;
49 m_amis = std::forward<AmisT>(value);
51 template <
typename AmisT = Aws::Vector<StringFilter>>
53 SetAmis(std::forward<AmisT>(value));
56 template <
typename AmisT = StringFilter>
58 m_amisHasBeenSet =
true;
59 m_amis.emplace_back(std::forward<AmisT>(value));
72 template <
typename OperatingSystemsT = Aws::Vector<StringFilter>>
74 m_operatingSystemsHasBeenSet =
true;
75 m_operatingSystems = std::forward<OperatingSystemsT>(value);
77 template <
typename OperatingSystemsT = Aws::Vector<StringFilter>>
82 template <
typename OperatingSystemsT = StringFilter>
84 m_operatingSystemsHasBeenSet =
true;
85 m_operatingSystems.emplace_back(std::forward<OperatingSystemsT>(value));
96 template <
typename InstanceIdsT = Aws::Vector<StringFilter>>
98 m_instanceIdsHasBeenSet =
true;
99 m_instanceIds = std::forward<InstanceIdsT>(value);
101 template <
typename InstanceIdsT = Aws::Vector<StringFilter>>
106 template <
typename InstanceIdsT = StringFilter>
108 m_instanceIdsHasBeenSet =
true;
109 m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value));
120 template <
typename InstanceTagsT = Aws::Vector<MapFilter>>
122 m_instanceTagsHasBeenSet =
true;
123 m_instanceTags = std::forward<InstanceTagsT>(value);
125 template <
typename InstanceTagsT = Aws::Vector<MapFilter>>
130 template <
typename InstanceTagsT = MapFilter>
132 m_instanceTagsHasBeenSet =
true;
133 m_instanceTags.emplace_back(std::forward<InstanceTagsT>(value));
145 m_sortOrderHasBeenSet =
true;
161 m_sortByHasBeenSet =
true;
181 bool m_amisHasBeenSet =
false;
182 bool m_operatingSystemsHasBeenSet =
false;
183 bool m_instanceIdsHasBeenSet =
false;
184 bool m_instanceTagsHasBeenSet =
false;
185 bool m_sortOrderHasBeenSet =
false;
186 bool m_sortByHasBeenSet =
false;
void SetInstanceIds(InstanceIdsT &&value)
Ec2InstanceAggregation & AddOperatingSystems(OperatingSystemsT &&value)
const Aws::Vector< MapFilter > & GetInstanceTags() const
bool AmisHasBeenSet() const
void SetSortBy(Ec2InstanceSortBy value)
Ec2InstanceAggregation & AddInstanceTags(InstanceTagsT &&value)
Ec2InstanceAggregation & WithSortBy(Ec2InstanceSortBy value)
void SetSortOrder(SortOrder value)
Ec2InstanceAggregation & WithAmis(AmisT &&value)
Ec2InstanceAggregation & AddInstanceIds(InstanceIdsT &&value)
void SetAmis(AmisT &&value)
Ec2InstanceAggregation & WithOperatingSystems(OperatingSystemsT &&value)
const Aws::Vector< StringFilter > & GetInstanceIds() const
Ec2InstanceAggregation & WithInstanceIds(InstanceIdsT &&value)
bool InstanceIdsHasBeenSet() const
Ec2InstanceAggregation & WithInstanceTags(InstanceTagsT &&value)
bool OperatingSystemsHasBeenSet() const
Ec2InstanceSortBy GetSortBy() const
SortOrder GetSortOrder() const
Ec2InstanceAggregation & AddAmis(AmisT &&value)
AWS_INSPECTOR2_API Ec2InstanceAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Ec2InstanceAggregation()=default
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceTagsHasBeenSet() const
bool SortOrderHasBeenSet() const
const Aws::Vector< StringFilter > & GetAmis() const
void SetOperatingSystems(OperatingSystemsT &&value)
bool SortByHasBeenSet() const
const Aws::Vector< StringFilter > & GetOperatingSystems() const
Ec2InstanceAggregation & WithSortOrder(SortOrder value)
AWS_INSPECTOR2_API Ec2InstanceAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceTags(InstanceTagsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue