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

Describes the directory owner account details that have been shared to the * directory consumer account.

See Also:

AWS * API Reference

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

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline OwnerDirectoryDescription& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline OwnerDirectoryDescription& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *

Identifier of the Managed Microsoft AD directory in the directory owner * account.

*/ inline OwnerDirectoryDescription& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *

Identifier of the directory owner account.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

Identifier of the directory owner account.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

Identifier of the directory owner account.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

Identifier of the directory owner account.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

Identifier of the directory owner account.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

Identifier of the directory owner account.

*/ inline OwnerDirectoryDescription& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

Identifier of the directory owner account.

*/ inline OwnerDirectoryDescription& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

Identifier of the directory owner account.

*/ inline OwnerDirectoryDescription& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

IP address of the directory’s domain controllers.

*/ inline const Aws::Vector& GetDnsIpAddrs() const{ return m_dnsIpAddrs; } /** *

IP address of the directory’s domain controllers.

*/ inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; } /** *

IP address of the directory’s domain controllers.

*/ inline void SetDnsIpAddrs(const Aws::Vector& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = value; } /** *

IP address of the directory’s domain controllers.

*/ inline void SetDnsIpAddrs(Aws::Vector&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = std::move(value); } /** *

IP address of the directory’s domain controllers.

*/ inline OwnerDirectoryDescription& WithDnsIpAddrs(const Aws::Vector& value) { SetDnsIpAddrs(value); return *this;} /** *

IP address of the directory’s domain controllers.

*/ inline OwnerDirectoryDescription& WithDnsIpAddrs(Aws::Vector&& value) { SetDnsIpAddrs(std::move(value)); return *this;} /** *

IP address of the directory’s domain controllers.

*/ inline OwnerDirectoryDescription& AddDnsIpAddrs(const Aws::String& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; } /** *

IP address of the directory’s domain controllers.

*/ inline OwnerDirectoryDescription& AddDnsIpAddrs(Aws::String&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(std::move(value)); return *this; } /** *

IP address of the directory’s domain controllers.

*/ inline OwnerDirectoryDescription& AddDnsIpAddrs(const char* value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; } /** *

Information about the VPC settings for the directory.

*/ inline const DirectoryVpcSettingsDescription& GetVpcSettings() const{ return m_vpcSettings; } /** *

Information about the VPC settings for the directory.

*/ inline bool VpcSettingsHasBeenSet() const { return m_vpcSettingsHasBeenSet; } /** *

Information about the VPC settings for the directory.

*/ inline void SetVpcSettings(const DirectoryVpcSettingsDescription& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = value; } /** *

Information about the VPC settings for the directory.

*/ inline void SetVpcSettings(DirectoryVpcSettingsDescription&& value) { m_vpcSettingsHasBeenSet = true; m_vpcSettings = std::move(value); } /** *

Information about the VPC settings for the directory.

*/ inline OwnerDirectoryDescription& WithVpcSettings(const DirectoryVpcSettingsDescription& value) { SetVpcSettings(value); return *this;} /** *

Information about the VPC settings for the directory.

*/ inline OwnerDirectoryDescription& WithVpcSettings(DirectoryVpcSettingsDescription&& value) { SetVpcSettings(std::move(value)); return *this;} /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline const RadiusSettings& GetRadiusSettings() const{ return m_radiusSettings; } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline bool RadiusSettingsHasBeenSet() const { return m_radiusSettingsHasBeenSet; } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline void SetRadiusSettings(const RadiusSettings& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = value; } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline void SetRadiusSettings(RadiusSettings&& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = std::move(value); } /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline OwnerDirectoryDescription& WithRadiusSettings(const RadiusSettings& value) { SetRadiusSettings(value); return *this;} /** *

A RadiusSettings object that contains information about the RADIUS * server.

*/ inline OwnerDirectoryDescription& WithRadiusSettings(RadiusSettings&& value) { SetRadiusSettings(std::move(value)); return *this;} /** *

Information about the status of the RADIUS server.

*/ inline const RadiusStatus& GetRadiusStatus() const{ return m_radiusStatus; } /** *

Information about the status of the RADIUS server.

*/ inline bool RadiusStatusHasBeenSet() const { return m_radiusStatusHasBeenSet; } /** *

Information about the status of the RADIUS server.

*/ inline void SetRadiusStatus(const RadiusStatus& value) { m_radiusStatusHasBeenSet = true; m_radiusStatus = value; } /** *

Information about the status of the RADIUS server.

*/ inline void SetRadiusStatus(RadiusStatus&& value) { m_radiusStatusHasBeenSet = true; m_radiusStatus = std::move(value); } /** *

Information about the status of the RADIUS server.

*/ inline OwnerDirectoryDescription& WithRadiusStatus(const RadiusStatus& value) { SetRadiusStatus(value); return *this;} /** *

Information about the status of the RADIUS server.

*/ inline OwnerDirectoryDescription& WithRadiusStatus(RadiusStatus&& value) { SetRadiusStatus(std::move(value)); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::Vector m_dnsIpAddrs; bool m_dnsIpAddrsHasBeenSet = false; DirectoryVpcSettingsDescription m_vpcSettings; bool m_vpcSettingsHasBeenSet = false; RadiusSettings m_radiusSettings; bool m_radiusSettingsHasBeenSet = false; RadiusStatus m_radiusStatus; bool m_radiusStatusHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws