AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppSync::Model::UpdateApiCacheRequest Class Reference

#include <UpdateApiCacheRequest.h>

+ Inheritance diagram for Aws::AppSync::Model::UpdateApiCacheRequest:

Public Member Functions

 UpdateApiCacheRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetApiId () const
 
bool ApiIdHasBeenSet () const
 
void SetApiId (const Aws::String &value)
 
void SetApiId (Aws::String &&value)
 
void SetApiId (const char *value)
 
UpdateApiCacheRequestWithApiId (const Aws::String &value)
 
UpdateApiCacheRequestWithApiId (Aws::String &&value)
 
UpdateApiCacheRequestWithApiId (const char *value)
 
long long GetTtl () const
 
bool TtlHasBeenSet () const
 
void SetTtl (long long value)
 
UpdateApiCacheRequestWithTtl (long long value)
 
const ApiCachingBehaviorGetApiCachingBehavior () const
 
bool ApiCachingBehaviorHasBeenSet () const
 
void SetApiCachingBehavior (const ApiCachingBehavior &value)
 
void SetApiCachingBehavior (ApiCachingBehavior &&value)
 
UpdateApiCacheRequestWithApiCachingBehavior (const ApiCachingBehavior &value)
 
UpdateApiCacheRequestWithApiCachingBehavior (ApiCachingBehavior &&value)
 
const ApiCacheTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const ApiCacheType &value)
 
void SetType (ApiCacheType &&value)
 
UpdateApiCacheRequestWithType (const ApiCacheType &value)
 
UpdateApiCacheRequestWithType (ApiCacheType &&value)
 
- Public Member Functions inherited from Aws::AppSync::AppSyncRequest
virtual ~AppSyncRequest ()
 
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::AppSync::AppSyncRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Represents the input of a UpdateApiCache operation.

See Also:

AWS API Reference

Definition at line 27 of file UpdateApiCacheRequest.h.

Constructor & Destructor Documentation

◆ UpdateApiCacheRequest()

Aws::AppSync::Model::UpdateApiCacheRequest::UpdateApiCacheRequest ( )

Member Function Documentation

◆ ApiCachingBehaviorHasBeenSet()

bool Aws::AppSync::Model::UpdateApiCacheRequest::ApiCachingBehaviorHasBeenSet ( ) const
inline

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

Definition at line 119 of file UpdateApiCacheRequest.h.

◆ ApiIdHasBeenSet()

bool Aws::AppSync::Model::UpdateApiCacheRequest::ApiIdHasBeenSet ( ) const
inline

The GraphQL API Id.

Definition at line 49 of file UpdateApiCacheRequest.h.

◆ GetApiCachingBehavior()

const ApiCachingBehavior& Aws::AppSync::Model::UpdateApiCacheRequest::GetApiCachingBehavior ( ) const
inline

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

Definition at line 112 of file UpdateApiCacheRequest.h.

◆ GetApiId()

const Aws::String& Aws::AppSync::Model::UpdateApiCacheRequest::GetApiId ( ) const
inline

The GraphQL API Id.

Definition at line 44 of file UpdateApiCacheRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::AppSync::Model::UpdateApiCacheRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file UpdateApiCacheRequest.h.

◆ GetTtl()

long long Aws::AppSync::Model::UpdateApiCacheRequest::GetTtl ( ) const
inline

TTL in seconds for cache entries.

Valid values are between 1 and 3600 seconds.

Definition at line 86 of file UpdateApiCacheRequest.h.

◆ GetType()

const ApiCacheType& Aws::AppSync::Model::UpdateApiCacheRequest::GetType ( ) const
inline

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Definition at line 167 of file UpdateApiCacheRequest.h.

◆ SerializePayload()

Aws::String Aws::AppSync::Model::UpdateApiCacheRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetApiCachingBehavior() [1/2]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetApiCachingBehavior ( const ApiCachingBehavior value)
inline

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

Definition at line 126 of file UpdateApiCacheRequest.h.

◆ SetApiCachingBehavior() [2/2]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetApiCachingBehavior ( ApiCachingBehavior &&  value)
inline

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

Definition at line 133 of file UpdateApiCacheRequest.h.

◆ SetApiId() [1/3]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetApiId ( const Aws::String value)
inline

The GraphQL API Id.

Definition at line 54 of file UpdateApiCacheRequest.h.

◆ SetApiId() [2/3]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetApiId ( Aws::String &&  value)
inline

The GraphQL API Id.

Definition at line 59 of file UpdateApiCacheRequest.h.

◆ SetApiId() [3/3]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetApiId ( const char *  value)
inline

The GraphQL API Id.

Definition at line 64 of file UpdateApiCacheRequest.h.

◆ SetTtl()

void Aws::AppSync::Model::UpdateApiCacheRequest::SetTtl ( long long  value)
inline

TTL in seconds for cache entries.

Valid values are between 1 and 3600 seconds.

Definition at line 98 of file UpdateApiCacheRequest.h.

◆ SetType() [1/2]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetType ( const ApiCacheType value)
inline

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Definition at line 205 of file UpdateApiCacheRequest.h.

◆ SetType() [2/2]

void Aws::AppSync::Model::UpdateApiCacheRequest::SetType ( ApiCacheType &&  value)
inline

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Definition at line 224 of file UpdateApiCacheRequest.h.

◆ TtlHasBeenSet()

bool Aws::AppSync::Model::UpdateApiCacheRequest::TtlHasBeenSet ( ) const
inline

TTL in seconds for cache entries.

Valid values are between 1 and 3600 seconds.

Definition at line 92 of file UpdateApiCacheRequest.h.

◆ TypeHasBeenSet()

bool Aws::AppSync::Model::UpdateApiCacheRequest::TypeHasBeenSet ( ) const
inline

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Definition at line 186 of file UpdateApiCacheRequest.h.

◆ WithApiCachingBehavior() [1/2]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithApiCachingBehavior ( const ApiCachingBehavior value)
inline

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

Definition at line 140 of file UpdateApiCacheRequest.h.

◆ WithApiCachingBehavior() [2/2]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithApiCachingBehavior ( ApiCachingBehavior &&  value)
inline

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.

Definition at line 147 of file UpdateApiCacheRequest.h.

◆ WithApiId() [1/3]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithApiId ( const Aws::String value)
inline

The GraphQL API Id.

Definition at line 69 of file UpdateApiCacheRequest.h.

◆ WithApiId() [2/3]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithApiId ( Aws::String &&  value)
inline

The GraphQL API Id.

Definition at line 74 of file UpdateApiCacheRequest.h.

◆ WithApiId() [3/3]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithApiId ( const char *  value)
inline

The GraphQL API Id.

Definition at line 79 of file UpdateApiCacheRequest.h.

◆ WithTtl()

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithTtl ( long long  value)
inline

TTL in seconds for cache entries.

Valid values are between 1 and 3600 seconds.

Definition at line 104 of file UpdateApiCacheRequest.h.

◆ WithType() [1/2]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithType ( const ApiCacheType value)
inline

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Definition at line 243 of file UpdateApiCacheRequest.h.

◆ WithType() [2/2]

UpdateApiCacheRequest& Aws::AppSync::Model::UpdateApiCacheRequest::WithType ( ApiCacheType &&  value)
inline

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are available, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Definition at line 262 of file UpdateApiCacheRequest.h.


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