/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the Regions that are configured for multi-Region
* replication.See Also:
AWS API
* Reference
The Region where the Managed Microsoft AD directory was originally * created.
*/ inline const Aws::String& GetPrimaryRegion() const{ return m_primaryRegion; } /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline bool PrimaryRegionHasBeenSet() const { return m_primaryRegionHasBeenSet; } /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline void SetPrimaryRegion(const Aws::String& value) { m_primaryRegionHasBeenSet = true; m_primaryRegion = value; } /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline void SetPrimaryRegion(Aws::String&& value) { m_primaryRegionHasBeenSet = true; m_primaryRegion = std::move(value); } /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline void SetPrimaryRegion(const char* value) { m_primaryRegionHasBeenSet = true; m_primaryRegion.assign(value); } /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline RegionsInfo& WithPrimaryRegion(const Aws::String& value) { SetPrimaryRegion(value); return *this;} /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline RegionsInfo& WithPrimaryRegion(Aws::String&& value) { SetPrimaryRegion(std::move(value)); return *this;} /** *The Region where the Managed Microsoft AD directory was originally * created.
*/ inline RegionsInfo& WithPrimaryRegion(const char* value) { SetPrimaryRegion(value); return *this;} /** *Lists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline const Aws::VectorLists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline bool AdditionalRegionsHasBeenSet() const { return m_additionalRegionsHasBeenSet; } /** *Lists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline void SetAdditionalRegions(const Aws::VectorLists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline void SetAdditionalRegions(Aws::VectorLists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline RegionsInfo& WithAdditionalRegions(const Aws::VectorLists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline RegionsInfo& WithAdditionalRegions(Aws::VectorLists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline RegionsInfo& AddAdditionalRegions(const Aws::String& value) { m_additionalRegionsHasBeenSet = true; m_additionalRegions.push_back(value); return *this; } /** *Lists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline RegionsInfo& AddAdditionalRegions(Aws::String&& value) { m_additionalRegionsHasBeenSet = true; m_additionalRegions.push_back(std::move(value)); return *this; } /** *Lists the Regions where the directory has been replicated, excluding the * primary Region.
*/ inline RegionsInfo& AddAdditionalRegions(const char* value) { m_additionalRegionsHasBeenSet = true; m_additionalRegions.push_back(value); return *this; } private: Aws::String m_primaryRegion; bool m_primaryRegionHasBeenSet = false; Aws::Vector