7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/GetRecommendationError.h>
9#include <aws/compute-optimizer/model/LicenseRecommendation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ComputeOptimizer {
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
56 template <
typename LicenseRecommendationsT = Aws::Vector<LicenseRecommendation>>
58 m_licenseRecommendationsHasBeenSet =
true;
59 m_licenseRecommendations = std::forward<LicenseRecommendationsT>(value);
61 template <
typename LicenseRecommendationsT = Aws::Vector<LicenseRecommendation>>
66 template <
typename LicenseRecommendationsT = LicenseRecommendation>
68 m_licenseRecommendationsHasBeenSet =
true;
69 m_licenseRecommendations.emplace_back(std::forward<LicenseRecommendationsT>(value));
79 template <
typename ErrorsT = Aws::Vector<GetRecommendationError>>
81 m_errorsHasBeenSet =
true;
82 m_errors = std::forward<ErrorsT>(value);
84 template <
typename ErrorsT = Aws::Vector<GetRecommendationError>>
89 template <
typename ErrorsT = GetRecommendationError>
91 m_errorsHasBeenSet =
true;
92 m_errors.emplace_back(std::forward<ErrorsT>(value));
100 template <
typename RequestIdT = Aws::String>
102 m_requestIdHasBeenSet =
true;
103 m_requestId = std::forward<RequestIdT>(value);
105 template <
typename RequestIdT = Aws::String>
119 bool m_nextTokenHasBeenSet =
false;
120 bool m_licenseRecommendationsHasBeenSet =
false;
121 bool m_errorsHasBeenSet =
false;
122 bool m_requestIdHasBeenSet =
false;
GetLicenseRecommendationsResult & AddLicenseRecommendations(LicenseRecommendationsT &&value)
const Aws::Vector< GetRecommendationError > & GetErrors() const
GetLicenseRecommendationsResult & WithErrors(ErrorsT &&value)
const Aws::String & GetNextToken() const
GetLicenseRecommendationsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
GetLicenseRecommendationsResult & AddErrors(ErrorsT &&value)
const Aws::String & GetRequestId() const
GetLicenseRecommendationsResult & WithLicenseRecommendations(LicenseRecommendationsT &&value)
void SetErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseRecommendationsResult & WithRequestId(RequestIdT &&value)
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLicenseRecommendations(LicenseRecommendationsT &&value)
const Aws::Vector< LicenseRecommendation > & GetLicenseRecommendations() const
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue