7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/MapFilter.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
12#include <aws/inspector2/model/VmInstanceSortBy.h>
45 template <
typename ResourceIdsT = Aws::Vector<StringFilter>>
47 m_resourceIdsHasBeenSet =
true;
48 m_resourceIds = std::forward<ResourceIdsT>(value);
50 template <
typename ResourceIdsT = Aws::Vector<StringFilter>>
55 template <
typename ResourceIdsT = StringFilter>
57 m_resourceIdsHasBeenSet =
true;
58 m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value));
69 template <
typename OperatingSystemsT = Aws::Vector<StringFilter>>
71 m_operatingSystemsHasBeenSet =
true;
72 m_operatingSystems = std::forward<OperatingSystemsT>(value);
74 template <
typename OperatingSystemsT = Aws::Vector<StringFilter>>
79 template <
typename OperatingSystemsT = StringFilter>
81 m_operatingSystemsHasBeenSet =
true;
82 m_operatingSystems.emplace_back(std::forward<OperatingSystemsT>(value));
93 template <
typename InstanceTagsT = Aws::Vector<MapFilter>>
95 m_instanceTagsHasBeenSet =
true;
96 m_instanceTags = std::forward<InstanceTagsT>(value);
98 template <
typename InstanceTagsT = Aws::Vector<MapFilter>>
103 template <
typename InstanceTagsT = MapFilter>
105 m_instanceTagsHasBeenSet =
true;
106 m_instanceTags.emplace_back(std::forward<InstanceTagsT>(value));
117 template <
typename VmImageReferencesT = Aws::Vector<StringFilter>>
119 m_vmImageReferencesHasBeenSet =
true;
120 m_vmImageReferences = std::forward<VmImageReferencesT>(value);
122 template <
typename VmImageReferencesT = Aws::Vector<StringFilter>>
127 template <
typename VmImageReferencesT = StringFilter>
129 m_vmImageReferencesHasBeenSet =
true;
130 m_vmImageReferences.emplace_back(std::forward<VmImageReferencesT>(value));
144 template <
typename CloudProv
idersT = Aws::Vector<StringFilter>>
146 m_cloudProvidersHasBeenSet =
true;
147 m_cloudProviders = std::forward<CloudProvidersT>(value);
149 template <
typename CloudProv
idersT = Aws::Vector<StringFilter>>
154 template <
typename CloudProv
idersT = StringFilter>
156 m_cloudProvidersHasBeenSet =
true;
157 m_cloudProviders.emplace_back(std::forward<CloudProvidersT>(value));
172 template <
typename CloudPartitionsT = Aws::Vector<StringFilter>>
174 m_cloudPartitionsHasBeenSet =
true;
175 m_cloudPartitions = std::forward<CloudPartitionsT>(value);
177 template <
typename CloudPartitionsT = Aws::Vector<StringFilter>>
182 template <
typename CloudPartitionsT = StringFilter>
184 m_cloudPartitionsHasBeenSet =
true;
185 m_cloudPartitions.emplace_back(std::forward<CloudPartitionsT>(value));
199 template <
typename CloudRegionsT = Aws::Vector<StringFilter>>
201 m_cloudRegionsHasBeenSet =
true;
202 m_cloudRegions = std::forward<CloudRegionsT>(value);
204 template <
typename CloudRegionsT = Aws::Vector<StringFilter>>
209 template <
typename CloudRegionsT = StringFilter>
211 m_cloudRegionsHasBeenSet =
true;
212 m_cloudRegions.emplace_back(std::forward<CloudRegionsT>(value));
223 template <
typename CloudOrgIdsT = Aws::Vector<StringFilter>>
225 m_cloudOrgIdsHasBeenSet =
true;
226 m_cloudOrgIds = std::forward<CloudOrgIdsT>(value);
228 template <
typename CloudOrgIdsT = Aws::Vector<StringFilter>>
233 template <
typename CloudOrgIdsT = StringFilter>
235 m_cloudOrgIdsHasBeenSet =
true;
236 m_cloudOrgIds.emplace_back(std::forward<CloudOrgIdsT>(value));
247 template <
typename CloudAccountIdsT = Aws::Vector<StringFilter>>
249 m_cloudAccountIdsHasBeenSet =
true;
250 m_cloudAccountIds = std::forward<CloudAccountIdsT>(value);
252 template <
typename CloudAccountIdsT = Aws::Vector<StringFilter>>
257 template <
typename CloudAccountIdsT = StringFilter>
259 m_cloudAccountIdsHasBeenSet =
true;
260 m_cloudAccountIds.emplace_back(std::forward<CloudAccountIdsT>(value));
273 m_sortOrderHasBeenSet =
true;
291 m_sortByHasBeenSet =
true;
321 bool m_resourceIdsHasBeenSet =
false;
322 bool m_operatingSystemsHasBeenSet =
false;
323 bool m_instanceTagsHasBeenSet =
false;
324 bool m_vmImageReferencesHasBeenSet =
false;
325 bool m_cloudProvidersHasBeenSet =
false;
326 bool m_cloudPartitionsHasBeenSet =
false;
327 bool m_cloudRegionsHasBeenSet =
false;
328 bool m_cloudOrgIdsHasBeenSet =
false;
329 bool m_cloudAccountIdsHasBeenSet =
false;
330 bool m_sortOrderHasBeenSet =
false;
331 bool m_sortByHasBeenSet =
false;
VmInstanceAggregation & AddCloudOrgIds(CloudOrgIdsT &&value)
void SetCloudAccountIds(CloudAccountIdsT &&value)
VmInstanceAggregation & WithSortOrder(SortOrder value)
bool VmImageReferencesHasBeenSet() const
bool CloudPartitionsHasBeenSet() const
VmInstanceAggregation & AddOperatingSystems(OperatingSystemsT &&value)
const Aws::Vector< StringFilter > & GetCloudOrgIds() const
VmInstanceAggregation & WithCloudPartitions(CloudPartitionsT &&value)
VmInstanceAggregation & AddInstanceTags(InstanceTagsT &&value)
VmInstanceAggregation & AddCloudRegions(CloudRegionsT &&value)
VmInstanceAggregation & WithOperatingSystems(OperatingSystemsT &&value)
void SetCloudOrgIds(CloudOrgIdsT &&value)
bool SortOrderHasBeenSet() const
VmInstanceAggregation & WithResourceIds(ResourceIdsT &&value)
VmInstanceAggregation & AddResourceIds(ResourceIdsT &&value)
void SetInstanceTags(InstanceTagsT &&value)
bool CloudAccountIdsHasBeenSet() const
const Aws::Vector< StringFilter > & GetCloudProviders() const
VmInstanceAggregation & AddCloudPartitions(CloudPartitionsT &&value)
bool SortByHasBeenSet() const
VmInstanceAggregation & WithVmImageReferences(VmImageReferencesT &&value)
bool CloudProvidersHasBeenSet() const
void SetCloudPartitions(CloudPartitionsT &&value)
bool OperatingSystemsHasBeenSet() const
const Aws::Vector< StringFilter > & GetCloudAccountIds() const
VmInstanceAggregation & WithInstanceTags(InstanceTagsT &&value)
bool InstanceTagsHasBeenSet() const
AWS_INSPECTOR2_API VmInstanceAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetSortBy(VmInstanceSortBy value)
const Aws::Vector< StringFilter > & GetCloudPartitions() const
VmInstanceAggregation & WithSortBy(VmInstanceSortBy value)
const Aws::Vector< StringFilter > & GetVmImageReferences() const
void SetCloudRegions(CloudRegionsT &&value)
VmInstanceAggregation & AddVmImageReferences(VmImageReferencesT &&value)
VmInstanceAggregation & WithCloudProviders(CloudProvidersT &&value)
const Aws::Vector< StringFilter > & GetCloudRegions() const
bool CloudRegionsHasBeenSet() const
VmInstanceSortBy GetSortBy() const
VmInstanceAggregation & AddCloudProviders(CloudProvidersT &&value)
void SetSortOrder(SortOrder value)
bool ResourceIdsHasBeenSet() const
void SetResourceIds(ResourceIdsT &&value)
VmInstanceAggregation & WithCloudAccountIds(CloudAccountIdsT &&value)
void SetVmImageReferences(VmImageReferencesT &&value)
void SetOperatingSystems(OperatingSystemsT &&value)
const Aws::Vector< StringFilter > & GetOperatingSystems() const
SortOrder GetSortOrder() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API VmInstanceAggregation()=default
const Aws::Vector< MapFilter > & GetInstanceTags() const
VmInstanceAggregation & WithCloudRegions(CloudRegionsT &&value)
VmInstanceAggregation & WithCloudOrgIds(CloudOrgIdsT &&value)
VmInstanceAggregation & AddCloudAccountIds(CloudAccountIdsT &&value)
void SetCloudProviders(CloudProvidersT &&value)
bool CloudOrgIdsHasBeenSet() const
const Aws::Vector< StringFilter > & GetResourceIds() const
AWS_INSPECTOR2_API VmInstanceAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue