7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/RightsizingRecommendation.h>
9#include <aws/ce/model/RightsizingRecommendationConfiguration.h>
10#include <aws/ce/model/RightsizingRecommendationMetadata.h>
11#include <aws/ce/model/RightsizingRecommendationSummary.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CostExplorer {
40 template <
typename MetadataT = RightsizingRecommendationMetadata>
42 m_metadataHasBeenSet =
true;
43 m_metadata = std::forward<MetadataT>(value);
45 template <
typename MetadataT = RightsizingRecommendationMetadata>
57 template <
typename SummaryT = RightsizingRecommendationSummary>
59 m_summaryHasBeenSet =
true;
60 m_summary = std::forward<SummaryT>(value);
62 template <
typename SummaryT = RightsizingRecommendationSummary>
74 template <
typename RightsizingRecommendationsT = Aws::Vector<RightsizingRecommendation>>
76 m_rightsizingRecommendationsHasBeenSet =
true;
77 m_rightsizingRecommendations = std::forward<RightsizingRecommendationsT>(value);
79 template <
typename RightsizingRecommendationsT = Aws::Vector<RightsizingRecommendation>>
84 template <
typename RightsizingRecommendationsT = RightsizingRecommendation>
86 m_rightsizingRecommendationsHasBeenSet =
true;
87 m_rightsizingRecommendations.emplace_back(std::forward<RightsizingRecommendationsT>(value));
97 template <
typename NextPageTokenT = Aws::String>
99 m_nextPageTokenHasBeenSet =
true;
100 m_nextPageToken = std::forward<NextPageTokenT>(value);
102 template <
typename NextPageTokenT = Aws::String>
118 template <
typename ConfigurationT = RightsizingRecommendationConfiguration>
120 m_configurationHasBeenSet =
true;
121 m_configuration = std::forward<ConfigurationT>(value);
123 template <
typename ConfigurationT = RightsizingRecommendationConfiguration>
133 template <
typename RequestIdT = Aws::String>
135 m_requestIdHasBeenSet =
true;
136 m_requestId = std::forward<RequestIdT>(value);
138 template <
typename RequestIdT = Aws::String>
156 bool m_metadataHasBeenSet =
false;
157 bool m_summaryHasBeenSet =
false;
158 bool m_rightsizingRecommendationsHasBeenSet =
false;
159 bool m_nextPageTokenHasBeenSet =
false;
160 bool m_configurationHasBeenSet =
false;
161 bool m_requestIdHasBeenSet =
false;
void SetMetadata(MetadataT &&value)
void SetSummary(SummaryT &&value)
void SetRequestId(RequestIdT &&value)
AWS_COSTEXPLORER_API GetRightsizingRecommendationResult()=default
const Aws::Vector< RightsizingRecommendation > & GetRightsizingRecommendations() const
void SetRightsizingRecommendations(RightsizingRecommendationsT &&value)
GetRightsizingRecommendationResult & WithRightsizingRecommendations(RightsizingRecommendationsT &&value)
GetRightsizingRecommendationResult & AddRightsizingRecommendations(RightsizingRecommendationsT &&value)
const RightsizingRecommendationMetadata & GetMetadata() const
GetRightsizingRecommendationResult & WithNextPageToken(NextPageTokenT &&value)
void SetNextPageToken(NextPageTokenT &&value)
void SetConfiguration(ConfigurationT &&value)
AWS_COSTEXPLORER_API GetRightsizingRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRightsizingRecommendationResult & WithSummary(SummaryT &&value)
const Aws::String & GetNextPageToken() const
const RightsizingRecommendationConfiguration & GetConfiguration() const
const RightsizingRecommendationSummary & GetSummary() const
GetRightsizingRecommendationResult & WithRequestId(RequestIdT &&value)
GetRightsizingRecommendationResult & WithMetadata(MetadataT &&value)
const Aws::String & GetRequestId() const
GetRightsizingRecommendationResult & WithConfiguration(ConfigurationT &&value)
AWS_COSTEXPLORER_API GetRightsizingRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue