/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a UpdateApiCache
* operation.See Also:
AWS
* API Reference
The GraphQL API ID.
*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *The GraphQL API ID.
*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *The GraphQL API ID.
*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *The GraphQL API ID.
*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *The GraphQL API ID.
*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *The GraphQL API ID.
*/ inline UpdateApiCacheRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *The GraphQL API ID.
*/ inline UpdateApiCacheRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *The GraphQL API ID.
*/ inline UpdateApiCacheRequest& WithApiId(const char* value) { SetApiId(value); return *this;} /** *TTL in seconds for cache entries.
Valid values are 1–3,600 * seconds.
*/ inline long long GetTtl() const{ return m_ttl; } /** *TTL in seconds for cache entries.
Valid values are 1–3,600 * seconds.
*/ inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; } /** *TTL in seconds for cache entries.
Valid values are 1–3,600 * seconds.
*/ inline void SetTtl(long long value) { m_ttlHasBeenSet = true; m_ttl = value; } /** *TTL in seconds for cache entries.
Valid values are 1–3,600 * seconds.
*/ inline UpdateApiCacheRequest& WithTtl(long long value) { SetTtl(value); return *this;} /** *Caching behavior.
FULL_REQUEST_CACHING: All requests * are fully cached.
PER_RESOLVER_CACHING: Individual * resolvers that you specify are cached.
Caching behavior.
FULL_REQUEST_CACHING: All requests * are fully cached.
PER_RESOLVER_CACHING: Individual * resolvers that you specify are cached.
Caching behavior.
FULL_REQUEST_CACHING: All requests * are fully cached.
PER_RESOLVER_CACHING: Individual * resolvers that you specify are cached.
Caching behavior.
FULL_REQUEST_CACHING: All requests * are fully cached.
PER_RESOLVER_CACHING: Individual * resolvers that you specify are cached.
Caching behavior.
FULL_REQUEST_CACHING: All requests * are fully cached.
PER_RESOLVER_CACHING: Individual * resolvers that you specify are cached.
Caching behavior.
FULL_REQUEST_CACHING: All requests * are fully cached.
PER_RESOLVER_CACHING: Individual * resolvers that you specify are cached.
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.
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.
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.
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.
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.
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.