AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportLambdaFunctionRecommendationsRequest.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/compute-optimizer/model/S3DestinationConfig.h>
11#include <aws/compute-optimizer/model/FileFormat.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/compute-optimizer/model/LambdaFunctionRecommendationFilter.h>
14#include <aws/compute-optimizer/model/ExportableLambdaFunctionField.h>
15#include <utility>
16
17namespace Aws
18{
19namespace ComputeOptimizer
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ExportLambdaFunctionRecommendations"; }
36
37 AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override;
38
39 AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
53 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
54 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
55 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
56 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
59 inline ExportLambdaFunctionRecommendationsRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
60 inline ExportLambdaFunctionRecommendationsRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
61 inline ExportLambdaFunctionRecommendationsRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
63
65
69 inline const Aws::Vector<LambdaFunctionRecommendationFilter>& GetFilters() const{ return m_filters; }
70 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
71 inline void SetFilters(const Aws::Vector<LambdaFunctionRecommendationFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
72 inline void SetFilters(Aws::Vector<LambdaFunctionRecommendationFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
75 inline ExportLambdaFunctionRecommendationsRequest& AddFilters(const LambdaFunctionRecommendationFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
76 inline ExportLambdaFunctionRecommendationsRequest& AddFilters(LambdaFunctionRecommendationFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
78
80
86 inline const Aws::Vector<ExportableLambdaFunctionField>& GetFieldsToExport() const{ return m_fieldsToExport; }
87 inline bool FieldsToExportHasBeenSet() const { return m_fieldsToExportHasBeenSet; }
88 inline void SetFieldsToExport(const Aws::Vector<ExportableLambdaFunctionField>& value) { m_fieldsToExportHasBeenSet = true; m_fieldsToExport = value; }
89 inline void SetFieldsToExport(Aws::Vector<ExportableLambdaFunctionField>&& value) { m_fieldsToExportHasBeenSet = true; m_fieldsToExport = std::move(value); }
92 inline ExportLambdaFunctionRecommendationsRequest& AddFieldsToExport(const ExportableLambdaFunctionField& value) { m_fieldsToExportHasBeenSet = true; m_fieldsToExport.push_back(value); return *this; }
93 inline ExportLambdaFunctionRecommendationsRequest& AddFieldsToExport(ExportableLambdaFunctionField&& value) { m_fieldsToExportHasBeenSet = true; m_fieldsToExport.push_back(std::move(value)); return *this; }
95
97
98 inline const S3DestinationConfig& GetS3DestinationConfig() const{ return m_s3DestinationConfig; }
99 inline bool S3DestinationConfigHasBeenSet() const { return m_s3DestinationConfigHasBeenSet; }
100 inline void SetS3DestinationConfig(const S3DestinationConfig& value) { m_s3DestinationConfigHasBeenSet = true; m_s3DestinationConfig = value; }
101 inline void SetS3DestinationConfig(S3DestinationConfig&& value) { m_s3DestinationConfigHasBeenSet = true; m_s3DestinationConfig = std::move(value); }
105
107
111 inline const FileFormat& GetFileFormat() const{ return m_fileFormat; }
112 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
113 inline void SetFileFormat(const FileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
114 inline void SetFileFormat(FileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
116 inline ExportLambdaFunctionRecommendationsRequest& WithFileFormat(FileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
118
120
135 inline bool GetIncludeMemberAccounts() const{ return m_includeMemberAccounts; }
136 inline bool IncludeMemberAccountsHasBeenSet() const { return m_includeMemberAccountsHasBeenSet; }
137 inline void SetIncludeMemberAccounts(bool value) { m_includeMemberAccountsHasBeenSet = true; m_includeMemberAccounts = value; }
140 private:
141
142 Aws::Vector<Aws::String> m_accountIds;
143 bool m_accountIdsHasBeenSet = false;
144
146 bool m_filtersHasBeenSet = false;
147
149 bool m_fieldsToExportHasBeenSet = false;
150
151 S3DestinationConfig m_s3DestinationConfig;
152 bool m_s3DestinationConfigHasBeenSet = false;
153
154 FileFormat m_fileFormat;
155 bool m_fileFormatHasBeenSet = false;
156
157 bool m_includeMemberAccounts;
158 bool m_includeMemberAccountsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ComputeOptimizer
163} // namespace Aws
ExportLambdaFunctionRecommendationsRequest & AddAccountIds(const Aws::String &value)
ExportLambdaFunctionRecommendationsRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
void SetFieldsToExport(const Aws::Vector< ExportableLambdaFunctionField > &value)
ExportLambdaFunctionRecommendationsRequest & WithFieldsToExport(const Aws::Vector< ExportableLambdaFunctionField > &value)
ExportLambdaFunctionRecommendationsRequest & AddFieldsToExport(ExportableLambdaFunctionField &&value)
ExportLambdaFunctionRecommendationsRequest & WithFilters(const Aws::Vector< LambdaFunctionRecommendationFilter > &value)
ExportLambdaFunctionRecommendationsRequest & WithFileFormat(const FileFormat &value)
ExportLambdaFunctionRecommendationsRequest & WithS3DestinationConfig(const S3DestinationConfig &value)
ExportLambdaFunctionRecommendationsRequest & AddFilters(const LambdaFunctionRecommendationFilter &value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ExportLambdaFunctionRecommendationsRequest & AddAccountIds(Aws::String &&value)
ExportLambdaFunctionRecommendationsRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
ExportLambdaFunctionRecommendationsRequest & WithFieldsToExport(Aws::Vector< ExportableLambdaFunctionField > &&value)
ExportLambdaFunctionRecommendationsRequest & AddFieldsToExport(const ExportableLambdaFunctionField &value)
ExportLambdaFunctionRecommendationsRequest & WithFilters(Aws::Vector< LambdaFunctionRecommendationFilter > &&value)
void SetFilters(const Aws::Vector< LambdaFunctionRecommendationFilter > &value)
ExportLambdaFunctionRecommendationsRequest & AddFilters(LambdaFunctionRecommendationFilter &&value)
ExportLambdaFunctionRecommendationsRequest & WithS3DestinationConfig(S3DestinationConfig &&value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
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