/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the properties of a global table.See Also:
AWS
* API Reference
The global table name.
*/ inline const Aws::String& GetGlobalTableName() const{ return m_globalTableName; } /** *The global table name.
*/ inline bool GlobalTableNameHasBeenSet() const { return m_globalTableNameHasBeenSet; } /** *The global table name.
*/ inline void SetGlobalTableName(const Aws::String& value) { m_globalTableNameHasBeenSet = true; m_globalTableName = value; } /** *The global table name.
*/ inline void SetGlobalTableName(Aws::String&& value) { m_globalTableNameHasBeenSet = true; m_globalTableName = std::move(value); } /** *The global table name.
*/ inline void SetGlobalTableName(const char* value) { m_globalTableNameHasBeenSet = true; m_globalTableName.assign(value); } /** *The global table name.
*/ inline GlobalTable& WithGlobalTableName(const Aws::String& value) { SetGlobalTableName(value); return *this;} /** *The global table name.
*/ inline GlobalTable& WithGlobalTableName(Aws::String&& value) { SetGlobalTableName(std::move(value)); return *this;} /** *The global table name.
*/ inline GlobalTable& WithGlobalTableName(const char* value) { SetGlobalTableName(value); return *this;} /** *The Regions where the global table has replicas.
*/ inline const Aws::VectorThe Regions where the global table has replicas.
*/ inline bool ReplicationGroupHasBeenSet() const { return m_replicationGroupHasBeenSet; } /** *The Regions where the global table has replicas.
*/ inline void SetReplicationGroup(const Aws::VectorThe Regions where the global table has replicas.
*/ inline void SetReplicationGroup(Aws::VectorThe Regions where the global table has replicas.
*/ inline GlobalTable& WithReplicationGroup(const Aws::VectorThe Regions where the global table has replicas.
*/ inline GlobalTable& WithReplicationGroup(Aws::VectorThe Regions where the global table has replicas.
*/ inline GlobalTable& AddReplicationGroup(const Replica& value) { m_replicationGroupHasBeenSet = true; m_replicationGroup.push_back(value); return *this; } /** *The Regions where the global table has replicas.
*/ inline GlobalTable& AddReplicationGroup(Replica&& value) { m_replicationGroupHasBeenSet = true; m_replicationGroup.push_back(std::move(value)); return *this; } private: Aws::String m_globalTableName; bool m_globalTableNameHasBeenSet = false; Aws::Vector