AWS SDK for C++  1.9.103
AWS SDK for C++
Public Member Functions | List of all members
Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest Class Reference

#include <GetEC2InstanceRecommendationsRequest.h>

+ Inheritance diagram for Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest:

Public Member Functions

 GetEC2InstanceRecommendationsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::Vector< Aws::String > & GetInstanceArns () const
 
bool InstanceArnsHasBeenSet () const
 
void SetInstanceArns (const Aws::Vector< Aws::String > &value)
 
void SetInstanceArns (Aws::Vector< Aws::String > &&value)
 
GetEC2InstanceRecommendationsRequestWithInstanceArns (const Aws::Vector< Aws::String > &value)
 
GetEC2InstanceRecommendationsRequestWithInstanceArns (Aws::Vector< Aws::String > &&value)
 
GetEC2InstanceRecommendationsRequestAddInstanceArns (const Aws::String &value)
 
GetEC2InstanceRecommendationsRequestAddInstanceArns (Aws::String &&value)
 
GetEC2InstanceRecommendationsRequestAddInstanceArns (const char *value)
 
const Aws::StringGetNextToken () const
 
bool NextTokenHasBeenSet () const
 
void SetNextToken (const Aws::String &value)
 
void SetNextToken (Aws::String &&value)
 
void SetNextToken (const char *value)
 
GetEC2InstanceRecommendationsRequestWithNextToken (const Aws::String &value)
 
GetEC2InstanceRecommendationsRequestWithNextToken (Aws::String &&value)
 
GetEC2InstanceRecommendationsRequestWithNextToken (const char *value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
GetEC2InstanceRecommendationsRequestWithMaxResults (int value)
 
const Aws::Vector< Filter > & GetFilters () const
 
bool FiltersHasBeenSet () const
 
void SetFilters (const Aws::Vector< Filter > &value)
 
void SetFilters (Aws::Vector< Filter > &&value)
 
GetEC2InstanceRecommendationsRequestWithFilters (const Aws::Vector< Filter > &value)
 
GetEC2InstanceRecommendationsRequestWithFilters (Aws::Vector< Filter > &&value)
 
GetEC2InstanceRecommendationsRequestAddFilters (const Filter &value)
 
GetEC2InstanceRecommendationsRequestAddFilters (Filter &&value)
 
const Aws::Vector< Aws::String > & GetAccountIds () const
 
bool AccountIdsHasBeenSet () const
 
void SetAccountIds (const Aws::Vector< Aws::String > &value)
 
void SetAccountIds (Aws::Vector< Aws::String > &&value)
 
GetEC2InstanceRecommendationsRequestWithAccountIds (const Aws::Vector< Aws::String > &value)
 
GetEC2InstanceRecommendationsRequestWithAccountIds (Aws::Vector< Aws::String > &&value)
 
GetEC2InstanceRecommendationsRequestAddAccountIds (const Aws::String &value)
 
GetEC2InstanceRecommendationsRequestAddAccountIds (Aws::String &&value)
 
GetEC2InstanceRecommendationsRequestAddAccountIds (const char *value)
 
const RecommendationPreferencesGetRecommendationPreferences () const
 
bool RecommendationPreferencesHasBeenSet () const
 
void SetRecommendationPreferences (const RecommendationPreferences &value)
 
void SetRecommendationPreferences (RecommendationPreferences &&value)
 
GetEC2InstanceRecommendationsRequestWithRecommendationPreferences (const RecommendationPreferences &value)
 
GetEC2InstanceRecommendationsRequestWithRecommendationPreferences (RecommendationPreferences &&value)
 
- Public Member Functions inherited from Aws::ComputeOptimizer::ComputeOptimizerRequest
virtual ~ComputeOptimizerRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 24 of file GetEC2InstanceRecommendationsRequest.h.

Constructor & Destructor Documentation

◆ GetEC2InstanceRecommendationsRequest()

Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetEC2InstanceRecommendationsRequest ( )

Member Function Documentation

◆ AccountIdsHasBeenSet()

bool Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AccountIdsHasBeenSet ( ) const
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 230 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddAccountIds() [1/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddAccountIds ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 284 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddAccountIds() [2/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddAccountIds ( const Aws::String value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 275 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddAccountIds() [3/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddAccountIds ( const char *  value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 293 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddFilters() [1/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddFilters ( const Filter value)
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 205 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddFilters() [2/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddFilters ( Filter &&  value)
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 211 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddInstanceArns() [1/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddInstanceArns ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 86 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddInstanceArns() [2/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddInstanceArns ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 80 of file GetEC2InstanceRecommendationsRequest.h.

◆ AddInstanceArns() [3/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::AddInstanceArns ( const char *  value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 92 of file GetEC2InstanceRecommendationsRequest.h.

◆ FiltersHasBeenSet()

bool Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::FiltersHasBeenSet ( ) const
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 175 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetAccountIds()

const Aws::Vector<Aws::String>& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetAccountIds ( ) const
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 221 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetFilters()

const Aws::Vector<Filter>& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetFilters ( ) const
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 169 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetInstanceArns()

const Aws::Vector<Aws::String>& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetInstanceArns ( ) const
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 44 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetMaxResults()

int Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetMaxResults ( ) const
inline

The maximum number of instance recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

Definition at line 141 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetNextToken()

const Aws::String& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetNextToken ( ) const
inline

The token to advance to the next page of instance recommendations.

Definition at line 98 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetRecommendationPreferences()

const RecommendationPreferences& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetRecommendationPreferences ( ) const
inline

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

Definition at line 300 of file GetEC2InstanceRecommendationsRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

◆ InstanceArnsHasBeenSet()

bool Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::InstanceArnsHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 50 of file GetEC2InstanceRecommendationsRequest.h.

◆ MaxResultsHasBeenSet()

bool Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::MaxResultsHasBeenSet ( ) const
inline

The maximum number of instance recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

Definition at line 148 of file GetEC2InstanceRecommendationsRequest.h.

◆ NextTokenHasBeenSet()

bool Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::NextTokenHasBeenSet ( ) const
inline

The token to advance to the next page of instance recommendations.

Definition at line 103 of file GetEC2InstanceRecommendationsRequest.h.

◆ RecommendationPreferencesHasBeenSet()

bool Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::RecommendationPreferencesHasBeenSet ( ) const
inline

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

Definition at line 306 of file GetEC2InstanceRecommendationsRequest.h.

◆ SerializePayload()

Aws::String Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAccountIds() [1/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetAccountIds ( Aws::Vector< Aws::String > &&  value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 248 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetAccountIds() [2/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetAccountIds ( const Aws::Vector< Aws::String > &  value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 239 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetFilters() [1/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetFilters ( Aws::Vector< Filter > &&  value)
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 187 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetFilters() [2/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetFilters ( const Aws::Vector< Filter > &  value)
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 181 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetInstanceArns() [1/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetInstanceArns ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 62 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetInstanceArns() [2/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetInstanceArns ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 56 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetMaxResults()

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetMaxResults ( int  value)
inline

The maximum number of instance recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

Definition at line 155 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetNextToken() [1/3]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetNextToken ( Aws::String &&  value)
inline

The token to advance to the next page of instance recommendations.

Definition at line 113 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetNextToken() [2/3]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetNextToken ( const Aws::String value)
inline

The token to advance to the next page of instance recommendations.

Definition at line 108 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetNextToken() [3/3]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetNextToken ( const char *  value)
inline

The token to advance to the next page of instance recommendations.

Definition at line 118 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetRecommendationPreferences() [1/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetRecommendationPreferences ( const RecommendationPreferences value)
inline

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

Definition at line 312 of file GetEC2InstanceRecommendationsRequest.h.

◆ SetRecommendationPreferences() [2/2]

void Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::SetRecommendationPreferences ( RecommendationPreferences &&  value)
inline

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

Definition at line 318 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithAccountIds() [1/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithAccountIds ( Aws::Vector< Aws::String > &&  value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 266 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithAccountIds() [2/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithAccountIds ( const Aws::Vector< Aws::String > &  value)
inline

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

Definition at line 257 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithFilters() [1/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithFilters ( Aws::Vector< Filter > &&  value)
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 199 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithFilters() [2/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithFilters ( const Aws::Vector< Filter > &  value)
inline

An array of objects to specify a filter that returns a more specific list of instance recommendations.

Definition at line 193 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithInstanceArns() [1/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithInstanceArns ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 74 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithInstanceArns() [2/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithInstanceArns ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

Definition at line 68 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithMaxResults()

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithMaxResults ( int  value)
inline

The maximum number of instance recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

Definition at line 162 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithNextToken() [1/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithNextToken ( Aws::String &&  value)
inline

The token to advance to the next page of instance recommendations.

Definition at line 128 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithNextToken() [2/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithNextToken ( const Aws::String value)
inline

The token to advance to the next page of instance recommendations.

Definition at line 123 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithNextToken() [3/3]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithNextToken ( const char *  value)
inline

The token to advance to the next page of instance recommendations.

Definition at line 133 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithRecommendationPreferences() [1/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithRecommendationPreferences ( const RecommendationPreferences value)
inline

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

Definition at line 324 of file GetEC2InstanceRecommendationsRequest.h.

◆ WithRecommendationPreferences() [2/2]

GetEC2InstanceRecommendationsRequest& Aws::ComputeOptimizer::Model::GetEC2InstanceRecommendationsRequest::WithRecommendationPreferences ( RecommendationPreferences &&  value)
inline

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

Definition at line 330 of file GetEC2InstanceRecommendationsRequest.h.


The documentation for this class was generated from the following file: