/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a Region.See Also:
AWS API
* Reference
The Region service endpoint.
*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *The Region service endpoint.
*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *The Region service endpoint.
*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *The Region service endpoint.
*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *The Region service endpoint.
*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *The Region service endpoint.
*/ inline Region& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *The Region service endpoint.
*/ inline Region& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *The Region service endpoint.
*/ inline Region& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *The name of the Region.
*/ inline const Aws::String& GetRegionName() const{ return m_regionName; } /** *The name of the Region.
*/ inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; } /** *The name of the Region.
*/ inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; } /** *The name of the Region.
*/ inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); } /** *The name of the Region.
*/ inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); } /** *The name of the Region.
*/ inline Region& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;} /** *The name of the Region.
*/ inline Region& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;} /** *The name of the Region.
*/ inline Region& WithRegionName(const char* value) { SetRegionName(value); return *this;} /** *The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.
The Region opt-in status. The possible values are
* opt-in-not-required
, opted-in
, and
* not-opted-in
.