/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains VPC information for the CreateDirectory or
* CreateMicrosoftAD operation.See Also:
AWS
* API Reference
The identifier of the VPC in which to create the directory.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The identifier of the VPC in which to create the directory.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The identifier of the VPC in which to create the directory.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The identifier of the VPC in which to create the directory.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The identifier of the VPC in which to create the directory.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The identifier of the VPC in which to create the directory.
*/ inline DirectoryVpcSettings& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The identifier of the VPC in which to create the directory.
*/ inline DirectoryVpcSettings& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The identifier of the VPC in which to create the directory.
*/ inline DirectoryVpcSettings& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline const Aws::VectorThe identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline void SetSubnetIds(const Aws::VectorThe identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline void SetSubnetIds(Aws::VectorThe identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline DirectoryVpcSettings& WithSubnetIds(const Aws::VectorThe identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline DirectoryVpcSettings& WithSubnetIds(Aws::VectorThe identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline DirectoryVpcSettings& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline DirectoryVpcSettings& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The identifiers of the subnets for the directory servers. The two subnets * must be in different Availability Zones. Directory Service creates a directory * server and a DNS server in each of these subnets.
*/ inline DirectoryVpcSettings& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } private: Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector