7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/UUID.h>
16namespace OpenSearchServerless
45 template<
typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
47 template<
typename IdT = Aws::String>
57 template<
typename AddSubnetIdsT = Aws::Vector<Aws::String>>
58 void SetAddSubnetIds(AddSubnetIdsT&& value) { m_addSubnetIdsHasBeenSet =
true; m_addSubnetIds = std::forward<AddSubnetIdsT>(value); }
59 template<
typename AddSubnetIdsT = Aws::Vector<Aws::String>>
61 template<
typename AddSubnetIdsT = Aws::String>
71 template<
typename RemoveSubnetIdsT = Aws::Vector<Aws::String>>
72 void SetRemoveSubnetIds(RemoveSubnetIdsT&& value) { m_removeSubnetIdsHasBeenSet =
true; m_removeSubnetIds = std::forward<RemoveSubnetIdsT>(value); }
73 template<
typename RemoveSubnetIdsT = Aws::Vector<Aws::String>>
75 template<
typename RemoveSubnetIdsT = Aws::String>
87 template<
typename AddSecurityGroupIdsT = Aws::Vector<Aws::String>>
88 void SetAddSecurityGroupIds(AddSecurityGroupIdsT&& value) { m_addSecurityGroupIdsHasBeenSet =
true; m_addSecurityGroupIds = std::forward<AddSecurityGroupIdsT>(value); }
89 template<
typename AddSecurityGroupIdsT = Aws::Vector<Aws::String>>
91 template<
typename AddSecurityGroupIdsT = Aws::String>
102 template<
typename RemoveSecurityGroupIdsT = Aws::Vector<Aws::String>>
103 void SetRemoveSecurityGroupIds(RemoveSecurityGroupIdsT&& value) { m_removeSecurityGroupIdsHasBeenSet =
true; m_removeSecurityGroupIds = std::forward<RemoveSecurityGroupIdsT>(value); }
104 template<
typename RemoveSecurityGroupIdsT = Aws::Vector<Aws::String>>
106 template<
typename RemoveSecurityGroupIdsT = Aws::String>
116 template<
typename ClientTokenT = Aws::String>
117 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
118 template<
typename ClientTokenT = Aws::String>
124 bool m_idHasBeenSet =
false;
127 bool m_addSubnetIdsHasBeenSet =
false;
130 bool m_removeSubnetIdsHasBeenSet =
false;
133 bool m_addSecurityGroupIdsHasBeenSet =
false;
136 bool m_removeSecurityGroupIdsHasBeenSet =
false;
139 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