7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
10#include <aws/opensearchserverless/model/VpcEndpointStatus.h>
21namespace OpenSearchServerless {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename VpcIdT = Aws::String>
81 m_vpcIdHasBeenSet =
true;
82 m_vpcId = std::forward<VpcIdT>(value);
84 template <
typename VpcIdT = Aws::String>
86 SetVpcId(std::forward<VpcIdT>(value));
97 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
99 m_subnetIdsHasBeenSet =
true;
100 m_subnetIds = std::forward<SubnetIdsT>(value);
102 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
107 template <
typename SubnetIdsT = Aws::String>
109 m_subnetIdsHasBeenSet =
true;
110 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
123 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
125 m_securityGroupIdsHasBeenSet =
true;
126 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
128 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
133 template <
typename SecurityGroupIdsT = Aws::String>
135 m_securityGroupIdsHasBeenSet =
true;
136 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
148 m_statusHasBeenSet =
true;
164 m_createdDateHasBeenSet =
true;
165 m_createdDate = value;
179 template <
typename FailureCodeT = Aws::String>
181 m_failureCodeHasBeenSet =
true;
182 m_failureCode = std::forward<FailureCodeT>(value);
184 template <
typename FailureCodeT = Aws::String>
197 template <
typename FailureMessageT = Aws::String>
199 m_failureMessageHasBeenSet =
true;
200 m_failureMessage = std::forward<FailureMessageT>(value);
202 template <
typename FailureMessageT = Aws::String>
221 long long m_createdDate{0};
226 bool m_idHasBeenSet =
false;
227 bool m_nameHasBeenSet =
false;
228 bool m_vpcIdHasBeenSet =
false;
229 bool m_subnetIdsHasBeenSet =
false;
230 bool m_securityGroupIdsHasBeenSet =
false;
231 bool m_statusHasBeenSet =
false;
232 bool m_createdDateHasBeenSet =
false;
233 bool m_failureCodeHasBeenSet =
false;
234 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