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

Represents the properties of a replica.

See Also:

AWS * API Reference

*/ class Replica { public: AWS_DYNAMODB_API Replica(); AWS_DYNAMODB_API Replica(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API Replica& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Region where the replica needs to be created.

*/ inline const Aws::String& GetRegionName() const{ return m_regionName; } /** *

The Region where the replica needs to be created.

*/ inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; } /** *

The Region where the replica needs to be created.

*/ inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; } /** *

The Region where the replica needs to be created.

*/ inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); } /** *

The Region where the replica needs to be created.

*/ inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); } /** *

The Region where the replica needs to be created.

*/ inline Replica& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;} /** *

The Region where the replica needs to be created.

*/ inline Replica& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;} /** *

The Region where the replica needs to be created.

*/ inline Replica& WithRegionName(const char* value) { SetRegionName(value); return *this;} private: Aws::String m_regionName; bool m_regionNameHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws