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/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ComputeOptimizer {
40 template <
typename NextTokenT = Aws::String>
42 m_nextTokenHasBeenSet =
true;
43 m_nextToken = std::forward<NextTokenT>(value);
45 template <
typename NextTokenT = Aws::String>
57 template <
typename LicenseRecommendationsT = Aws::Vector<LicenseRecommendation>>
59 m_licenseRecommendationsHasBeenSet =
true;
60 m_licenseRecommendations = std::forward<LicenseRecommendationsT>(value);
62 template <
typename LicenseRecommendationsT = Aws::Vector<LicenseRecommendation>>
67 template <
typename LicenseRecommendationsT = LicenseRecommendation>
69 m_licenseRecommendationsHasBeenSet =
true;
70 m_licenseRecommendations.emplace_back(std::forward<LicenseRecommendationsT>(value));
80 template <
typename ErrorsT = Aws::Vector<GetRecommendationError>>
82 m_errorsHasBeenSet =
true;
83 m_errors = std::forward<ErrorsT>(value);
85 template <
typename ErrorsT = Aws::Vector<GetRecommendationError>>
90 template <
typename ErrorsT = GetRecommendationError>
92 m_errorsHasBeenSet =
true;
93 m_errors.emplace_back(std::forward<ErrorsT>(value));
101 template <
typename RequestIdT = Aws::String>
103 m_requestIdHasBeenSet =
true;
104 m_requestId = std::forward<RequestIdT>(value);
106 template <
typename RequestIdT = Aws::String>
123 bool m_nextTokenHasBeenSet =
false;
124 bool m_licenseRecommendationsHasBeenSet =
false;
125 bool m_errorsHasBeenSet =
false;
126 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue