7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace OpenSearchService
53 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
54 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
55 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
57 template<
typename SubnetIdsT = Aws::String>
58 VPCOptions&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
69 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
70 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
71 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
73 template<
typename SecurityGroupIdsT = Aws::String>
74 VPCOptions&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
79 bool m_subnetIdsHasBeenSet =
false;
82 bool m_securityGroupIdsHasBeenSet =
false;
bool SecurityGroupIdsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API VPCOptions()=default
VPCOptions & WithSubnetIds(SubnetIdsT &&value)
VPCOptions & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
AWS_OPENSEARCHSERVICE_API VPCOptions(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool SubnetIdsHasBeenSet() const
VPCOptions & AddSubnetIds(SubnetIdsT &&value)
VPCOptions & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_OPENSEARCHSERVICE_API VPCOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue