7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/model/Ec2InstanceSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
12#include <aws/inspector2/model/MapFilter.h>
52 template<
typename AmisT = Aws::Vector<StringFilter>>
53 void SetAmis(AmisT&& value) { m_amisHasBeenSet =
true; m_amis = std::forward<AmisT>(value); }
54 template<
typename AmisT = Aws::Vector<StringFilter>>
56 template<
typename AmisT = StringFilter>
66 template<
typename InstanceIdsT = Aws::Vector<StringFilter>>
67 void SetInstanceIds(InstanceIdsT&& value) { m_instanceIdsHasBeenSet =
true; m_instanceIds = std::forward<InstanceIdsT>(value); }
68 template<
typename InstanceIdsT = Aws::Vector<StringFilter>>
70 template<
typename InstanceIdsT = StringFilter>
80 template<
typename InstanceTagsT = Aws::Vector<MapFilter>>
81 void SetInstanceTags(InstanceTagsT&& value) { m_instanceTagsHasBeenSet =
true; m_instanceTags = std::forward<InstanceTagsT>(value); }
82 template<
typename InstanceTagsT = Aws::Vector<MapFilter>>
84 template<
typename InstanceTagsT = MapFilter>
96 template<
typename OperatingSystemsT = Aws::Vector<StringFilter>>
97 void SetOperatingSystems(OperatingSystemsT&& value) { m_operatingSystemsHasBeenSet =
true; m_operatingSystems = std::forward<OperatingSystemsT>(value); }
98 template<
typename OperatingSystemsT = Aws::Vector<StringFilter>>
100 template<
typename OperatingSystemsT = StringFilter>
126 bool m_amisHasBeenSet =
false;
129 bool m_instanceIdsHasBeenSet =
false;
132 bool m_instanceTagsHasBeenSet =
false;
135 bool m_operatingSystemsHasBeenSet =
false;
138 bool m_sortByHasBeenSet =
false;
141 bool m_sortOrderHasBeenSet =
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