7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
20namespace OpenSearchService {
47 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
49 m_subnetIdsHasBeenSet =
true;
50 m_subnetIds = std::forward<SubnetIdsT>(value);
52 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
57 template <
typename SubnetIdsT = Aws::String>
59 m_subnetIdsHasBeenSet =
true;
60 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
73 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
75 m_securityGroupIdsHasBeenSet =
true;
76 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
78 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
83 template <
typename SecurityGroupIdsT = Aws::String>
85 m_securityGroupIdsHasBeenSet =
true;
86 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
94 bool m_subnetIdsHasBeenSet =
false;
95 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