/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace APIGateway { namespace Model { /** *

Represents an AWS account that is associated with API Gateway.

See * Also:

AWS * API Reference

*/ class UpdateAccountResult { public: AWS_APIGATEWAY_API UpdateAccountResult(); AWS_APIGATEWAY_API UpdateAccountResult(const Aws::AmazonWebServiceResult& result); AWS_APIGATEWAY_API UpdateAccountResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline const Aws::String& GetCloudwatchRoleArn() const{ return m_cloudwatchRoleArn; } /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline void SetCloudwatchRoleArn(const Aws::String& value) { m_cloudwatchRoleArn = value; } /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline void SetCloudwatchRoleArn(Aws::String&& value) { m_cloudwatchRoleArn = std::move(value); } /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline void SetCloudwatchRoleArn(const char* value) { m_cloudwatchRoleArn.assign(value); } /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline UpdateAccountResult& WithCloudwatchRoleArn(const Aws::String& value) { SetCloudwatchRoleArn(value); return *this;} /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline UpdateAccountResult& WithCloudwatchRoleArn(Aws::String&& value) { SetCloudwatchRoleArn(std::move(value)); return *this;} /** *

The ARN of an Amazon CloudWatch role for the current Account.

*/ inline UpdateAccountResult& WithCloudwatchRoleArn(const char* value) { SetCloudwatchRoleArn(value); return *this;} /** *

Specifies the API request limits configured for the current Account.

*/ inline const ThrottleSettings& GetThrottleSettings() const{ return m_throttleSettings; } /** *

Specifies the API request limits configured for the current Account.

*/ inline void SetThrottleSettings(const ThrottleSettings& value) { m_throttleSettings = value; } /** *

Specifies the API request limits configured for the current Account.

*/ inline void SetThrottleSettings(ThrottleSettings&& value) { m_throttleSettings = std::move(value); } /** *

Specifies the API request limits configured for the current Account.

*/ inline UpdateAccountResult& WithThrottleSettings(const ThrottleSettings& value) { SetThrottleSettings(value); return *this;} /** *

Specifies the API request limits configured for the current Account.

*/ inline UpdateAccountResult& WithThrottleSettings(ThrottleSettings&& value) { SetThrottleSettings(std::move(value)); return *this;} /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline const Aws::Vector& GetFeatures() const{ return m_features; } /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline void SetFeatures(const Aws::Vector& value) { m_features = value; } /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline void SetFeatures(Aws::Vector&& value) { m_features = std::move(value); } /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline UpdateAccountResult& WithFeatures(const Aws::Vector& value) { SetFeatures(value); return *this;} /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline UpdateAccountResult& WithFeatures(Aws::Vector&& value) { SetFeatures(std::move(value)); return *this;} /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline UpdateAccountResult& AddFeatures(const Aws::String& value) { m_features.push_back(value); return *this; } /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline UpdateAccountResult& AddFeatures(Aws::String&& value) { m_features.push_back(std::move(value)); return *this; } /** *

A list of features supported for the account. When usage plans are enabled, * the features list will include an entry of "UsagePlans".

*/ inline UpdateAccountResult& AddFeatures(const char* value) { m_features.push_back(value); return *this; } /** *

The version of the API keys used for the account.

*/ inline const Aws::String& GetApiKeyVersion() const{ return m_apiKeyVersion; } /** *

The version of the API keys used for the account.

*/ inline void SetApiKeyVersion(const Aws::String& value) { m_apiKeyVersion = value; } /** *

The version of the API keys used for the account.

*/ inline void SetApiKeyVersion(Aws::String&& value) { m_apiKeyVersion = std::move(value); } /** *

The version of the API keys used for the account.

*/ inline void SetApiKeyVersion(const char* value) { m_apiKeyVersion.assign(value); } /** *

The version of the API keys used for the account.

*/ inline UpdateAccountResult& WithApiKeyVersion(const Aws::String& value) { SetApiKeyVersion(value); return *this;} /** *

The version of the API keys used for the account.

*/ inline UpdateAccountResult& WithApiKeyVersion(Aws::String&& value) { SetApiKeyVersion(std::move(value)); return *this;} /** *

The version of the API keys used for the account.

*/ inline UpdateAccountResult& WithApiKeyVersion(const char* value) { SetApiKeyVersion(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_cloudwatchRoleArn; ThrottleSettings m_throttleSettings; Aws::Vector m_features; Aws::String m_apiKeyVersion; Aws::String m_requestId; }; } // namespace Model } // namespace APIGateway } // namespace Aws