7#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
8#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
9#include <aws/compute-optimizer/model/ExportableLicenseField.h>
10#include <aws/compute-optimizer/model/FileFormat.h>
11#include <aws/compute-optimizer/model/LicenseRecommendationFilter.h>
12#include <aws/compute-optimizer/model/S3DestinationConfig.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace ComputeOptimizer {
51 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
53 m_accountIdsHasBeenSet =
true;
54 m_accountIds = std::forward<AccountIdsT>(value);
56 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
61 template <
typename AccountIdsT = Aws::String>
63 m_accountIdsHasBeenSet =
true;
64 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
76 template <
typename FiltersT = Aws::Vector<LicenseRecommendationFilter>>
78 m_filtersHasBeenSet =
true;
79 m_filters = std::forward<FiltersT>(value);
81 template <
typename FiltersT = Aws::Vector<LicenseRecommendationFilter>>
86 template <
typename FiltersT = LicenseRecommendationFilter>
88 m_filtersHasBeenSet =
true;
89 m_filters.emplace_back(std::forward<FiltersT>(value));
103 template <
typename FieldsToExportT = Aws::Vector<ExportableLicenseField>>
105 m_fieldsToExportHasBeenSet =
true;
106 m_fieldsToExport = std::forward<FieldsToExportT>(value);
108 template <
typename FieldsToExportT = Aws::Vector<ExportableLicenseField>>
114 m_fieldsToExportHasBeenSet =
true;
115 m_fieldsToExport.push_back(value);
124 template <
typename S3DestinationConfigT = S3DestinationConfig>
126 m_s3DestinationConfigHasBeenSet =
true;
127 m_s3DestinationConfig = std::forward<S3DestinationConfigT>(value);
129 template <
typename S3DestinationConfigT = S3DestinationConfig>
144 m_fileFormatHasBeenSet =
true;
145 m_fileFormat = value;
170 m_includeMemberAccountsHasBeenSet =
true;
171 m_includeMemberAccounts = value;
189 bool m_includeMemberAccounts{
false};
190 bool m_accountIdsHasBeenSet =
false;
191 bool m_filtersHasBeenSet =
false;
192 bool m_fieldsToExportHasBeenSet =
false;
193 bool m_s3DestinationConfigHasBeenSet =
false;
194 bool m_fileFormatHasBeenSet =
false;
195 bool m_includeMemberAccountsHasBeenSet =
false;
void SetFilters(FiltersT &&value)
const S3DestinationConfig & GetS3DestinationConfig() const
ExportLicenseRecommendationsRequest & WithAccountIds(AccountIdsT &&value)
void SetS3DestinationConfig(S3DestinationConfigT &&value)
ExportLicenseRecommendationsRequest & AddFilters(FiltersT &&value)
ExportLicenseRecommendationsRequest & WithIncludeMemberAccounts(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetAccountIds() const
bool FieldsToExportHasBeenSet() const
void SetIncludeMemberAccounts(bool value)
ExportLicenseRecommendationsRequest & WithFilters(FiltersT &&value)
bool S3DestinationConfigHasBeenSet() const
const Aws::Vector< LicenseRecommendationFilter > & GetFilters() const
void SetFileFormat(FileFormat value)
bool IncludeMemberAccountsHasBeenSet() const
void SetFieldsToExport(FieldsToExportT &&value)
bool FileFormatHasBeenSet() const
bool GetIncludeMemberAccounts() const
ExportLicenseRecommendationsRequest & WithFieldsToExport(FieldsToExportT &&value)
ExportLicenseRecommendationsRequest & AddFieldsToExport(ExportableLicenseField value)
bool FiltersHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
void SetAccountIds(AccountIdsT &&value)
const Aws::Vector< ExportableLicenseField > & GetFieldsToExport() const
bool AccountIdsHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API ExportLicenseRecommendationsRequest()=default
ExportLicenseRecommendationsRequest & WithS3DestinationConfig(S3DestinationConfigT &&value)
FileFormat GetFileFormat() const
ExportLicenseRecommendationsRequest & WithFileFormat(FileFormat value)
ExportLicenseRecommendationsRequest & AddAccountIds(AccountIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector