/** * 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 AWS_DYNAMODB_API UpdateGlobalTableSettingsResult { public: UpdateGlobalTableSettingsResult(); UpdateGlobalTableSettingsResult(const Aws::AmazonWebServiceResult& result); UpdateGlobalTableSettingsResult& 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 UpdateGlobalTableSettingsResult& WithGlobalTableName(const Aws::String& value) { SetGlobalTableName(value); return *this;} /** *

The name of the global table.

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

The name of the global table.

*/ inline UpdateGlobalTableSettingsResult& 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 UpdateGlobalTableSettingsResult& WithReplicaSettings(const Aws::Vector& value) { SetReplicaSettings(value); return *this;} /** *

The Region-specific settings for the global table.

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

The Region-specific settings for the global table.

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

The Region-specific settings for the global table.

*/ inline UpdateGlobalTableSettingsResult& AddReplicaSettings(ReplicaSettingsDescription&& value) { m_replicaSettings.push_back(std::move(value)); return *this; } private: Aws::String m_globalTableName; Aws::Vector m_replicaSettings; }; } // namespace Model } // namespace DynamoDB } // namespace Aws