7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
20namespace DirectoryService {
43 template <
typename VpcIdT = Aws::String>
45 m_vpcIdHasBeenSet =
true;
46 m_vpcId = std::forward<VpcIdT>(value);
48 template <
typename VpcIdT = Aws::String>
50 SetVpcId(std::forward<VpcIdT>(value));
63 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
65 m_subnetIdsHasBeenSet =
true;
66 m_subnetIds = std::forward<SubnetIdsT>(value);
68 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
73 template <
typename SubnetIdsT = Aws::String>
75 m_subnetIdsHasBeenSet =
true;
76 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
84 bool m_vpcIdHasBeenSet =
false;
85 bool m_subnetIdsHasBeenSet =
false;
DirectoryVpcSettings & AddSubnetIds(SubnetIdsT &&value)
AWS_DIRECTORYSERVICE_API DirectoryVpcSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API DirectoryVpcSettings()=default
void SetVpcId(VpcIdT &&value)
AWS_DIRECTORYSERVICE_API DirectoryVpcSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectoryVpcSettings & WithSubnetIds(SubnetIdsT &&value)
DirectoryVpcSettings & WithVpcId(VpcIdT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetVpcId() const
void SetSubnetIds(SubnetIdsT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubnetIdsHasBeenSet() const
bool VpcIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue