/** * 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 DynamoDB { namespace Model { class DescribeGlobalTableSettingsResult { public: AWS_DYNAMODB_API DescribeGlobalTableSettingsResult(); AWS_DYNAMODB_API DescribeGlobalTableSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_DYNAMODB_API DescribeGlobalTableSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the global table.

*/ inline const Aws::String& GetGlobalTableName() const{ return m_globalTableName; } /** *

The name of the global table.

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

The name of the global table.

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

The name of the global table.

*/ inline void SetGlobalTableName(const char* value) { m_globalTableName.assign(value); } /** *

The name of the global table.

*/ inline DescribeGlobalTableSettingsResult& WithGlobalTableName(const Aws::String& value) { SetGlobalTableName(value); return *this;} /** *

The name of the global table.

*/ inline DescribeGlobalTableSettingsResult& WithGlobalTableName(Aws::String&& value) { SetGlobalTableName(std::move(value)); return *this;} /** *

The name of the global table.

*/ inline DescribeGlobalTableSettingsResult& WithGlobalTableName(const char* value) { SetGlobalTableName(value); return *this;} /** *

The Region-specific settings for the global table.

*/ inline const Aws::Vector& GetReplicaSettings() const{ return m_replicaSettings; } /** *

The Region-specific settings for the global table.

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

The Region-specific settings for the global table.

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

The Region-specific settings for the global table.

*/ inline DescribeGlobalTableSettingsResult& WithReplicaSettings(const Aws::Vector& value) { SetReplicaSettings(value); return *this;} /** *

The Region-specific settings for the global table.

*/ inline DescribeGlobalTableSettingsResult& WithReplicaSettings(Aws::Vector&& value) { SetReplicaSettings(std::move(value)); return *this;} /** *

The Region-specific settings for the global table.

*/ inline DescribeGlobalTableSettingsResult& AddReplicaSettings(const ReplicaSettingsDescription& value) { m_replicaSettings.push_back(value); return *this; } /** *

The Region-specific settings for the global table.

*/ inline DescribeGlobalTableSettingsResult& AddReplicaSettings(ReplicaSettingsDescription&& value) { m_replicaSettings.push_back(std::move(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 DescribeGlobalTableSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGlobalTableSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGlobalTableSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_globalTableName; Aws::Vector m_replicaSettings; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws