7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
11#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
16namespace OpenSearchServerless {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
59 template <
typename AddSubnetIdsT = Aws::Vector<Aws::String>>
61 m_addSubnetIdsHasBeenSet =
true;
62 m_addSubnetIds = std::forward<AddSubnetIdsT>(value);
64 template <
typename AddSubnetIdsT = Aws::Vector<Aws::String>>
69 template <
typename AddSubnetIdsT = Aws::String>
71 m_addSubnetIdsHasBeenSet =
true;
72 m_addSubnetIds.emplace_back(std::forward<AddSubnetIdsT>(value));
83 template <
typename RemoveSubnetIdsT = Aws::Vector<Aws::String>>
85 m_removeSubnetIdsHasBeenSet =
true;
86 m_removeSubnetIds = std::forward<RemoveSubnetIdsT>(value);
88 template <
typename RemoveSubnetIdsT = Aws::Vector<Aws::String>>
93 template <
typename RemoveSubnetIdsT = Aws::String>
95 m_removeSubnetIdsHasBeenSet =
true;
96 m_removeSubnetIds.emplace_back(std::forward<RemoveSubnetIdsT>(value));
109 template <
typename AddSecurityGroupIdsT = Aws::Vector<Aws::String>>
111 m_addSecurityGroupIdsHasBeenSet =
true;
112 m_addSecurityGroupIds = std::forward<AddSecurityGroupIdsT>(value);
114 template <
typename AddSecurityGroupIdsT = Aws::Vector<Aws::String>>
119 template <
typename AddSecurityGroupIdsT = Aws::String>
121 m_addSecurityGroupIdsHasBeenSet =
true;
122 m_addSecurityGroupIds.emplace_back(std::forward<AddSecurityGroupIdsT>(value));
134 template <
typename RemoveSecurityGroupIdsT = Aws::Vector<Aws::String>>
136 m_removeSecurityGroupIdsHasBeenSet =
true;
137 m_removeSecurityGroupIds = std::forward<RemoveSecurityGroupIdsT>(value);
139 template <
typename RemoveSecurityGroupIdsT = Aws::Vector<Aws::String>>
144 template <
typename RemoveSecurityGroupIdsT = Aws::String>
146 m_removeSecurityGroupIdsHasBeenSet =
true;
147 m_removeSecurityGroupIds.emplace_back(std::forward<RemoveSecurityGroupIdsT>(value));
158 template <
typename ClientTokenT = Aws::String>
160 m_clientTokenHasBeenSet =
true;
161 m_clientToken = std::forward<ClientTokenT>(value);
163 template <
typename ClientTokenT = Aws::String>
181 bool m_idHasBeenSet =
false;
182 bool m_addSubnetIdsHasBeenSet =
false;
183 bool m_removeSubnetIdsHasBeenSet =
false;
184 bool m_addSecurityGroupIdsHasBeenSet =
false;
185 bool m_removeSecurityGroupIdsHasBeenSet =
false;
186 bool m_clientTokenHasBeenSet =
true;
const Aws::Vector< Aws::String > & GetRemoveSecurityGroupIds() const
UpdateVpcEndpointRequest & WithRemoveSubnetIds(RemoveSubnetIdsT &&value)
bool RemoveSecurityGroupIdsHasBeenSet() const
UpdateVpcEndpointRequest & AddRemoveSecurityGroupIds(RemoveSecurityGroupIdsT &&value)
UpdateVpcEndpointRequest & AddAddSubnetIds(AddSubnetIdsT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool IdHasBeenSet() const
UpdateVpcEndpointRequest & WithClientToken(ClientTokenT &&value)
UpdateVpcEndpointRequest & AddRemoveSubnetIds(RemoveSubnetIdsT &&value)
void SetRemoveSubnetIds(RemoveSubnetIdsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetAddSubnetIds() const
bool ClientTokenHasBeenSet() const
UpdateVpcEndpointRequest & WithId(IdT &&value)
UpdateVpcEndpointRequest & WithAddSecurityGroupIds(AddSecurityGroupIdsT &&value)
void SetClientToken(ClientTokenT &&value)
UpdateVpcEndpointRequest & WithAddSubnetIds(AddSubnetIdsT &&value)
UpdateVpcEndpointRequest & AddAddSecurityGroupIds(AddSecurityGroupIdsT &&value)
bool AddSecurityGroupIdsHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointRequest()=default
void SetAddSecurityGroupIds(AddSecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetAddSecurityGroupIds() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
bool AddSubnetIdsHasBeenSet() const
const Aws::String & GetId() const
bool RemoveSubnetIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRemoveSubnetIds() const
UpdateVpcEndpointRequest & WithRemoveSecurityGroupIds(RemoveSecurityGroupIdsT &&value)
void SetAddSubnetIds(AddSubnetIdsT &&value)
void SetRemoveSecurityGroupIds(RemoveSecurityGroupIdsT &&value)
const Aws::String & GetClientToken() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector