/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an AD Connector directory.See
* Also:
AWS
* API Reference
The identifier of the VPC that the AD Connector is in.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The identifier of the VPC that the AD Connector is in.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The identifier of the VPC that the AD Connector is in.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The identifier of the VPC that the AD Connector is in.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The identifier of the VPC that the AD Connector is in.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The identifier of the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The identifier of the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The identifier of the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *A list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline const Aws::VectorA list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline void SetSubnetIds(const Aws::VectorA list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline void SetSubnetIds(Aws::VectorA list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& WithSubnetIds(const Aws::VectorA list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& WithSubnetIds(Aws::VectorA list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of subnet identifiers in the VPC that the AD Connector is in.
*/ inline DirectoryConnectSettingsDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The user name of the service account in your self-managed directory.
*/ inline const Aws::String& GetCustomerUserName() const{ return m_customerUserName; } /** *The user name of the service account in your self-managed directory.
*/ inline bool CustomerUserNameHasBeenSet() const { return m_customerUserNameHasBeenSet; } /** *The user name of the service account in your self-managed directory.
*/ inline void SetCustomerUserName(const Aws::String& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = value; } /** *The user name of the service account in your self-managed directory.
*/ inline void SetCustomerUserName(Aws::String&& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = std::move(value); } /** *The user name of the service account in your self-managed directory.
*/ inline void SetCustomerUserName(const char* value) { m_customerUserNameHasBeenSet = true; m_customerUserName.assign(value); } /** *The user name of the service account in your self-managed directory.
*/ inline DirectoryConnectSettingsDescription& WithCustomerUserName(const Aws::String& value) { SetCustomerUserName(value); return *this;} /** *The user name of the service account in your self-managed directory.
*/ inline DirectoryConnectSettingsDescription& WithCustomerUserName(Aws::String&& value) { SetCustomerUserName(std::move(value)); return *this;} /** *The user name of the service account in your self-managed directory.
*/ inline DirectoryConnectSettingsDescription& WithCustomerUserName(const char* value) { SetCustomerUserName(value); return *this;} /** *The security group identifier for the AD Connector directory.
*/ inline const Aws::String& GetSecurityGroupId() const{ return m_securityGroupId; } /** *The security group identifier for the AD Connector directory.
*/ inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; } /** *The security group identifier for the AD Connector directory.
*/ inline void SetSecurityGroupId(const Aws::String& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = value; } /** *The security group identifier for the AD Connector directory.
*/ inline void SetSecurityGroupId(Aws::String&& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = std::move(value); } /** *The security group identifier for the AD Connector directory.
*/ inline void SetSecurityGroupId(const char* value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId.assign(value); } /** *The security group identifier for the AD Connector directory.
*/ inline DirectoryConnectSettingsDescription& WithSecurityGroupId(const Aws::String& value) { SetSecurityGroupId(value); return *this;} /** *The security group identifier for the AD Connector directory.
*/ inline DirectoryConnectSettingsDescription& WithSecurityGroupId(Aws::String&& value) { SetSecurityGroupId(std::move(value)); return *this;} /** *The security group identifier for the AD Connector directory.
*/ inline DirectoryConnectSettingsDescription& WithSecurityGroupId(const char* value) { SetSecurityGroupId(value); return *this;} /** *A list of the Availability Zones that the directory is in.
*/ inline const Aws::VectorA list of the Availability Zones that the directory is in.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *A list of the Availability Zones that the directory is in.
*/ inline void SetAvailabilityZones(const Aws::VectorA list of the Availability Zones that the directory is in.
*/ inline void SetAvailabilityZones(Aws::VectorA list of the Availability Zones that the directory is in.
*/ inline DirectoryConnectSettingsDescription& WithAvailabilityZones(const Aws::VectorA list of the Availability Zones that the directory is in.
*/ inline DirectoryConnectSettingsDescription& WithAvailabilityZones(Aws::VectorA list of the Availability Zones that the directory is in.
*/ inline DirectoryConnectSettingsDescription& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *A list of the Availability Zones that the directory is in.
*/ inline DirectoryConnectSettingsDescription& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *A list of the Availability Zones that the directory is in.
*/ inline DirectoryConnectSettingsDescription& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The IP addresses of the AD Connector servers.
*/ inline const Aws::VectorThe IP addresses of the AD Connector servers.
*/ inline bool ConnectIpsHasBeenSet() const { return m_connectIpsHasBeenSet; } /** *The IP addresses of the AD Connector servers.
*/ inline void SetConnectIps(const Aws::VectorThe IP addresses of the AD Connector servers.
*/ inline void SetConnectIps(Aws::VectorThe IP addresses of the AD Connector servers.
*/ inline DirectoryConnectSettingsDescription& WithConnectIps(const Aws::VectorThe IP addresses of the AD Connector servers.
*/ inline DirectoryConnectSettingsDescription& WithConnectIps(Aws::VectorThe IP addresses of the AD Connector servers.
*/ inline DirectoryConnectSettingsDescription& AddConnectIps(const Aws::String& value) { m_connectIpsHasBeenSet = true; m_connectIps.push_back(value); return *this; } /** *The IP addresses of the AD Connector servers.
*/ inline DirectoryConnectSettingsDescription& AddConnectIps(Aws::String&& value) { m_connectIpsHasBeenSet = true; m_connectIps.push_back(std::move(value)); return *this; } /** *The IP addresses of the AD Connector servers.
*/ inline DirectoryConnectSettingsDescription& AddConnectIps(const char* value) { m_connectIpsHasBeenSet = true; m_connectIps.push_back(value); return *this; } private: Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector