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/InstanceRecommendation.h>
11#include <aws/compute-optimizer/model/GetRecommendationError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace ComputeOptimizer
47 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
86 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetEC2InstanceRecommendationsResult & WithInstanceRecommendations(Aws::Vector< InstanceRecommendation > &&value)
void SetInstanceRecommendations(Aws::Vector< InstanceRecommendation > &&value)
void SetErrors(const Aws::Vector< GetRecommendationError > &value)
GetEC2InstanceRecommendationsResult & WithRequestId(const char *value)
AWS_COMPUTEOPTIMIZER_API GetEC2InstanceRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
void SetErrors(Aws::Vector< GetRecommendationError > &&value)
const Aws::String & GetRequestId() const
GetEC2InstanceRecommendationsResult & AddInstanceRecommendations(InstanceRecommendation &&value)
GetEC2InstanceRecommendationsResult & WithErrors(const Aws::Vector< GetRecommendationError > &value)
GetEC2InstanceRecommendationsResult & AddErrors(GetRecommendationError &&value)
const Aws::Vector< InstanceRecommendation > & GetInstanceRecommendations() const
void SetRequestId(const Aws::String &value)
void SetNextToken(const char *value)
const Aws::Vector< GetRecommendationError > & GetErrors() const
GetEC2InstanceRecommendationsResult & WithNextToken(Aws::String &&value)
GetEC2InstanceRecommendationsResult & WithRequestId(const Aws::String &value)
GetEC2InstanceRecommendationsResult & WithRequestId(Aws::String &&value)
GetEC2InstanceRecommendationsResult & WithNextToken(const Aws::String &value)
void SetRequestId(const char *value)
GetEC2InstanceRecommendationsResult & AddInstanceRecommendations(const InstanceRecommendation &value)
void SetInstanceRecommendations(const Aws::Vector< InstanceRecommendation > &value)
const Aws::String & GetNextToken() const
GetEC2InstanceRecommendationsResult & WithErrors(Aws::Vector< GetRecommendationError > &&value)
AWS_COMPUTEOPTIMIZER_API GetEC2InstanceRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(Aws::String &&value)
GetEC2InstanceRecommendationsResult & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
GetEC2InstanceRecommendationsResult & AddErrors(const GetRecommendationError &value)
AWS_COMPUTEOPTIMIZER_API GetEC2InstanceRecommendationsResult()
GetEC2InstanceRecommendationsResult & WithInstanceRecommendations(const Aws::Vector< InstanceRecommendation > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue