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));
80 m_statusHasBeenSet =
true;
95 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
97 m_subnetIdsHasBeenSet =
true;
98 m_subnetIds = std::forward<SubnetIdsT>(value);
100 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
105 template <
typename SubnetIdsT = Aws::String>
107 m_subnetIdsHasBeenSet =
true;
108 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
121 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
123 m_securityGroupIdsHasBeenSet =
true;
124 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
126 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
131 template <
typename SecurityGroupIdsT = Aws::String>
133 m_securityGroupIdsHasBeenSet =
true;
134 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
146 m_lastModifiedDateHasBeenSet =
true;
147 m_lastModifiedDate = value;
165 long long m_lastModifiedDate{0};
166 bool m_idHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
168 bool m_statusHasBeenSet =
false;
169 bool m_subnetIdsHasBeenSet =
false;
170 bool m_securityGroupIdsHasBeenSet =
false;
171 bool m_lastModifiedDateHasBeenSet =
false;
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
UpdateVpcEndpointDetail & WithId(IdT &&value)
long long GetLastModifiedDate() const
UpdateVpcEndpointDetail & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetName() const
bool SubnetIdsHasBeenSet() const
void SetName(NameT &&value)
UpdateVpcEndpointDetail & WithStatus(VpcEndpointStatus value)
UpdateVpcEndpointDetail & WithLastModifiedDate(long long value)
void SetSubnetIds(SubnetIdsT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateVpcEndpointDetail & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool StatusHasBeenSet() const
bool IdHasBeenSet() const
UpdateVpcEndpointDetail & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool LastModifiedDateHasBeenSet() const
VpcEndpointStatus GetStatus() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetLastModifiedDate(long long value)
bool NameHasBeenSet() const
UpdateVpcEndpointDetail & AddSubnetIds(SubnetIdsT &&value)
void SetStatus(VpcEndpointStatus value)
const Aws::String & GetId() const
bool SecurityGroupIdsHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointDetail()=default
UpdateVpcEndpointDetail & WithSubnetIds(SubnetIdsT &&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