7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearchserverless/model/VpcEndpointStatus.h>
23namespace OpenSearchServerless
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename VpcIdT = Aws::String>
74 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
75 template<
typename VpcIdT = Aws::String>
85 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
86 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
87 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
89 template<
typename SubnetIdsT = Aws::String>
90 VpcEndpointDetail&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
101 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
102 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
103 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
105 template<
typename SecurityGroupIdsT = Aws::String>
106 VpcEndpointDetail&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
125 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
135 template<
typename FailureCodeT = Aws::String>
136 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet =
true; m_failureCode = std::forward<FailureCodeT>(value); }
137 template<
typename FailureCodeT = Aws::String>
147 template<
typename FailureMessageT = Aws::String>
148 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
149 template<
typename FailureMessageT = Aws::String>
155 bool m_idHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
161 bool m_vpcIdHasBeenSet =
false;
164 bool m_subnetIdsHasBeenSet =
false;
167 bool m_securityGroupIdsHasBeenSet =
false;
170 bool m_statusHasBeenSet =
false;
172 long long m_createdDate{0};
173 bool m_createdDateHasBeenSet =
false;
176 bool m_failureCodeHasBeenSet =
false;
179 bool m_failureMessageHasBeenSet =
false;
bool SecurityGroupIdsHasBeenSet() const
VpcEndpointDetail & AddSubnetIds(SubnetIdsT &&value)
bool FailureMessageHasBeenSet() const
void SetFailureCode(FailureCodeT &&value)
void SetSubnetIds(SubnetIdsT &&value)
VpcEndpointDetail & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetId() const
AWS_OPENSEARCHSERVERLESS_API VpcEndpointDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcId() const
VpcEndpointDetail & WithStatus(VpcEndpointStatus value)
void SetStatus(VpcEndpointStatus value)
VpcEndpointDetail & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool FailureCodeHasBeenSet() const
long long GetCreatedDate() const
VpcEndpointStatus GetStatus() const
void SetCreatedDate(long long value)
const Aws::String & GetFailureCode() const
VpcEndpointDetail & WithFailureMessage(FailureMessageT &&value)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointDetail()=default
bool IdHasBeenSet() const
VpcEndpointDetail & WithName(NameT &&value)
VpcEndpointDetail & WithId(IdT &&value)
bool VpcIdHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue)
bool CreatedDateHasBeenSet() const
bool SubnetIdsHasBeenSet() const
VpcEndpointDetail & WithFailureCode(FailureCodeT &&value)
const Aws::String & GetFailureMessage() const
bool NameHasBeenSet() const
bool StatusHasBeenSet() const
VpcEndpointDetail & WithVpcId(VpcIdT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetFailureMessage(FailureMessageT &&value)
VpcEndpointDetail & WithSubnetIds(SubnetIdsT &&value)
VpcEndpointDetail & WithCreatedDate(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue