7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/compute-optimizer/model/LicenseRecommendation.h>
11#include <aws/compute-optimizer/model/GetRecommendationError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace ComputeOptimizer
44 template<
typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
46 template<
typename NextTokenT = Aws::String>
55 template<
typename LicenseRecommendationsT = Aws::Vector<LicenseRecommendation>>
56 void SetLicenseRecommendations(LicenseRecommendationsT&& value) { m_licenseRecommendationsHasBeenSet =
true; m_licenseRecommendations = std::forward<LicenseRecommendationsT>(value); }
57 template<
typename LicenseRecommendationsT = Aws::Vector<LicenseRecommendation>>
59 template<
typename LicenseRecommendationsT = LicenseRecommendation>
68 template<
typename ErrorsT = Aws::Vector<GetRecommendationError>>
69 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
70 template<
typename ErrorsT = Aws::Vector<GetRecommendationError>>
72 template<
typename ErrorsT = GetRecommendationError>
79 template<
typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
81 template<
typename RequestIdT = Aws::String>
87 bool m_nextTokenHasBeenSet =
false;
90 bool m_licenseRecommendationsHasBeenSet =
false;
93 bool m_errorsHasBeenSet =
false;
96 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