7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace OpenSearchService
54 template<
typename VPCIdT = Aws::String>
55 void SetVPCId(VPCIdT&& value) { m_vPCIdHasBeenSet =
true; m_vPCId = std::forward<VPCIdT>(value); }
56 template<
typename VPCIdT = Aws::String>
66 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
67 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
68 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
70 template<
typename SubnetIdsT = Aws::String>
71 VPCDerivedInfo&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
80 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
81 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
82 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
84 template<
typename AvailabilityZonesT = Aws::String>
85 VPCDerivedInfo&
AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
return *
this; }
95 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
96 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
97 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
99 template<
typename SecurityGroupIdsT = Aws::String>
100 VPCDerivedInfo&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
105 bool m_vPCIdHasBeenSet =
false;
108 bool m_subnetIdsHasBeenSet =
false;
111 bool m_availabilityZonesHasBeenSet =
false;
114 bool m_securityGroupIdsHasBeenSet =
false;
void SetVPCId(VPCIdT &&value)
bool AvailabilityZonesHasBeenSet() const
VPCDerivedInfo & AddAvailabilityZones(AvailabilityZonesT &&value)
VPCDerivedInfo & WithVPCId(VPCIdT &&value)
VPCDerivedInfo & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_OPENSEARCHSERVICE_API VPCDerivedInfo()=default
bool SubnetIdsHasBeenSet() const
void SetAvailabilityZones(AvailabilityZonesT &&value)
bool VPCIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VPCDerivedInfo & AddSecurityGroupIds(SecurityGroupIdsT &&value)
VPCDerivedInfo & WithSubnetIds(SubnetIdsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_OPENSEARCHSERVICE_API VPCDerivedInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API VPCDerivedInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
VPCDerivedInfo & WithAvailabilityZones(AvailabilityZonesT &&value)
VPCDerivedInfo & AddSubnetIds(SubnetIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVPCId() 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