/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The replicated Region information for a directory.See Also:
* AWS
* API Reference
The identifier of the directory.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The identifier of the directory.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The identifier of the directory.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The identifier of the directory.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The identifier of the directory.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The identifier of the directory.
*/ inline RegionDescription& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The identifier of the directory.
*/ inline RegionDescription& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The identifier of the directory.
*/ inline RegionDescription& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
The name of the Region. For example, us-east-1
.
Specifies whether the Region is the primary Region or an additional * Region.
*/ inline const RegionType& GetRegionType() const{ return m_regionType; } /** *Specifies whether the Region is the primary Region or an additional * Region.
*/ inline bool RegionTypeHasBeenSet() const { return m_regionTypeHasBeenSet; } /** *Specifies whether the Region is the primary Region or an additional * Region.
*/ inline void SetRegionType(const RegionType& value) { m_regionTypeHasBeenSet = true; m_regionType = value; } /** *Specifies whether the Region is the primary Region or an additional * Region.
*/ inline void SetRegionType(RegionType&& value) { m_regionTypeHasBeenSet = true; m_regionType = std::move(value); } /** *Specifies whether the Region is the primary Region or an additional * Region.
*/ inline RegionDescription& WithRegionType(const RegionType& value) { SetRegionType(value); return *this;} /** *Specifies whether the Region is the primary Region or an additional * Region.
*/ inline RegionDescription& WithRegionType(RegionType&& value) { SetRegionType(std::move(value)); return *this;} /** *The status of the replication process for the specified Region.
*/ inline const DirectoryStage& GetStatus() const{ return m_status; } /** *The status of the replication process for the specified Region.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the replication process for the specified Region.
*/ inline void SetStatus(const DirectoryStage& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the replication process for the specified Region.
*/ inline void SetStatus(DirectoryStage&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the replication process for the specified Region.
*/ inline RegionDescription& WithStatus(const DirectoryStage& value) { SetStatus(value); return *this;} /** *The status of the replication process for the specified Region.
*/ inline RegionDescription& WithStatus(DirectoryStage&& value) { SetStatus(std::move(value)); return *this;} inline const DirectoryVpcSettings& GetVpcSettings() const{ return m_vpcSettings; } inline bool VpcSettingsHasBeenSet() const { return m_vpcSettingsHasBeenSet; } inline void SetVpcSettings(const DirectoryVpcSettings& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = value; } inline void SetVpcSettings(DirectoryVpcSettings&& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = std::move(value); } inline RegionDescription& WithVpcSettings(const DirectoryVpcSettings& value) { SetVpcSettings(value); return *this;} inline RegionDescription& WithVpcSettings(DirectoryVpcSettings&& value) { SetVpcSettings(std::move(value)); return *this;} /** *The desired number of domain controllers in the specified Region for the * specified directory.
*/ inline int GetDesiredNumberOfDomainControllers() const{ return m_desiredNumberOfDomainControllers; } /** *The desired number of domain controllers in the specified Region for the * specified directory.
*/ inline bool DesiredNumberOfDomainControllersHasBeenSet() const { return m_desiredNumberOfDomainControllersHasBeenSet; } /** *The desired number of domain controllers in the specified Region for the * specified directory.
*/ inline void SetDesiredNumberOfDomainControllers(int value) { m_desiredNumberOfDomainControllersHasBeenSet = true; m_desiredNumberOfDomainControllers = value; } /** *The desired number of domain controllers in the specified Region for the * specified directory.
*/ inline RegionDescription& WithDesiredNumberOfDomainControllers(int value) { SetDesiredNumberOfDomainControllers(value); return *this;} /** *Specifies when the Region replication began.
*/ inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; } /** *Specifies when the Region replication began.
*/ inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; } /** *Specifies when the Region replication began.
*/ inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; } /** *Specifies when the Region replication began.
*/ inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); } /** *Specifies when the Region replication began.
*/ inline RegionDescription& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;} /** *Specifies when the Region replication began.
*/ inline RegionDescription& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;} /** *The date and time that the Region status was last updated.
*/ inline const Aws::Utils::DateTime& GetStatusLastUpdatedDateTime() const{ return m_statusLastUpdatedDateTime; } /** *The date and time that the Region status was last updated.
*/ inline bool StatusLastUpdatedDateTimeHasBeenSet() const { return m_statusLastUpdatedDateTimeHasBeenSet; } /** *The date and time that the Region status was last updated.
*/ inline void SetStatusLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = value; } /** *The date and time that the Region status was last updated.
*/ inline void SetStatusLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_statusLastUpdatedDateTimeHasBeenSet = true; m_statusLastUpdatedDateTime = std::move(value); } /** *The date and time that the Region status was last updated.
*/ inline RegionDescription& WithStatusLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetStatusLastUpdatedDateTime(value); return *this;} /** *The date and time that the Region status was last updated.
*/ inline RegionDescription& WithStatusLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetStatusLastUpdatedDateTime(std::move(value)); return *this;} /** *The date and time that the Region description was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The date and time that the Region description was last updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The date and time that the Region description was last updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *The date and time that the Region description was last updated.
*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *The date and time that the Region description was last updated.
*/ inline RegionDescription& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The date and time that the Region description was last updated.
*/ inline RegionDescription& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_regionName; bool m_regionNameHasBeenSet = false; RegionType m_regionType; bool m_regionTypeHasBeenSet = false; DirectoryStage m_status; bool m_statusHasBeenSet = false; DirectoryVpcSettings m_vpcSettings; bool m_vpcSettingsHasBeenSet = false; int m_desiredNumberOfDomainControllers; bool m_desiredNumberOfDomainControllersHasBeenSet = false; Aws::Utils::DateTime m_launchTime; bool m_launchTimeHasBeenSet = false; Aws::Utils::DateTime m_statusLastUpdatedDateTime; bool m_statusLastUpdatedDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws