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
46 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
83 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetLicenseRecommendationsResult & WithNextToken(Aws::String &&value)
GetLicenseRecommendationsResult & WithErrors(const Aws::Vector< GetRecommendationError > &value)
void SetRequestId(Aws::String &&value)
void SetLicenseRecommendations(Aws::Vector< LicenseRecommendation > &&value)
void SetLicenseRecommendations(const Aws::Vector< LicenseRecommendation > &value)
const Aws::Vector< GetRecommendationError > & GetErrors() const
GetLicenseRecommendationsResult & AddErrors(const GetRecommendationError &value)
const Aws::String & GetNextToken() const
GetLicenseRecommendationsResult & WithRequestId(Aws::String &&value)
GetLicenseRecommendationsResult & AddLicenseRecommendations(const LicenseRecommendation &value)
GetLicenseRecommendationsResult & WithErrors(Aws::Vector< GetRecommendationError > &&value)
GetLicenseRecommendationsResult & AddErrors(GetRecommendationError &&value)
void SetNextToken(Aws::String &&value)
void SetErrors(Aws::Vector< GetRecommendationError > &&value)
GetLicenseRecommendationsResult & WithLicenseRecommendations(const Aws::Vector< LicenseRecommendation > &value)
GetLicenseRecommendationsResult & WithNextToken(const char *value)
const Aws::String & GetRequestId() const
GetLicenseRecommendationsResult & WithRequestId(const char *value)
void SetNextToken(const char *value)
void SetRequestId(const Aws::String &value)
GetLicenseRecommendationsResult & WithLicenseRecommendations(Aws::Vector< LicenseRecommendation > &&value)
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseRecommendationsResult & AddLicenseRecommendations(LicenseRecommendation &&value)
void SetNextToken(const Aws::String &value)
GetLicenseRecommendationsResult & WithRequestId(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrors(const Aws::Vector< GetRecommendationError > &value)
void SetRequestId(const char *value)
GetLicenseRecommendationsResult & WithNextToken(const Aws::String &value)
const Aws::Vector< LicenseRecommendation > & GetLicenseRecommendations() const
AWS_COMPUTEOPTIMIZER_API GetLicenseRecommendationsResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue