7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/RightsizingRecommendationMetadata.h>
9#include <aws/ce/model/RightsizingRecommendationSummary.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ce/model/RightsizingRecommendationConfiguration.h>
13#include <aws/ce/model/RightsizingRecommendation.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename MetadataT = RightsizingRecommendationMetadata>
46 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
47 template<
typename MetadataT = RightsizingRecommendationMetadata>
56 template<
typename SummaryT = RightsizingRecommendationSummary>
57 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
58 template<
typename SummaryT = RightsizingRecommendationSummary>
67 template<
typename RightsizingRecommendationsT = Aws::Vector<RightsizingRecommendation>>
68 void SetRightsizingRecommendations(RightsizingRecommendationsT&& value) { m_rightsizingRecommendationsHasBeenSet =
true; m_rightsizingRecommendations = std::forward<RightsizingRecommendationsT>(value); }
69 template<
typename RightsizingRecommendationsT = Aws::Vector<RightsizingRecommendation>>
71 template<
typename RightsizingRecommendationsT = RightsizingRecommendation>
80 template<
typename NextPageTokenT = Aws::String>
81 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet =
true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
82 template<
typename NextPageTokenT = Aws::String>
95 template<
typename ConfigurationT = RightsizingRecommendationConfiguration>
96 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
97 template<
typename ConfigurationT = RightsizingRecommendationConfiguration>
104 template<
typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
106 template<
typename RequestIdT = Aws::String>
112 bool m_metadataHasBeenSet =
false;
115 bool m_summaryHasBeenSet =
false;
118 bool m_rightsizingRecommendationsHasBeenSet =
false;
121 bool m_nextPageTokenHasBeenSet =
false;
124 bool m_configurationHasBeenSet =
false;
127 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