7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
11#include <aws/opensearchserverless/model/DeletionProtection.h>
12#include <aws/opensearchserverless/model/VectorOptions.h>
17namespace OpenSearchServerless {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 template <
typename VectorOptionsT = VectorOptions>
80 m_vectorOptionsHasBeenSet =
true;
81 m_vectorOptions = std::forward<VectorOptionsT>(value);
83 template <
typename VectorOptionsT = VectorOptions>
99 m_deletionProtectionHasBeenSet =
true;
100 m_deletionProtection = value;
114 template <
typename ClientTokenT = Aws::String>
116 m_clientTokenHasBeenSet =
true;
117 m_clientToken = std::forward<ClientTokenT>(value);
119 template <
typename ClientTokenT = Aws::String>
135 bool m_idHasBeenSet =
false;
136 bool m_descriptionHasBeenSet =
false;
137 bool m_vectorOptionsHasBeenSet =
false;
138 bool m_deletionProtectionHasBeenSet =
false;
139 bool m_clientTokenHasBeenSet =
true;
bool IdHasBeenSet() const
bool VectorOptionsHasBeenSet() const
UpdateCollectionRequest & WithDeletionProtection(DeletionProtection value)
void SetVectorOptions(VectorOptionsT &&value)
void SetDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
void SetDeletionProtection(DeletionProtection value)
bool DescriptionHasBeenSet() const
DeletionProtection GetDeletionProtection() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
UpdateCollectionRequest & WithClientToken(ClientTokenT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionRequest()=default
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetId() const
UpdateCollectionRequest & WithId(IdT &&value)
UpdateCollectionRequest & WithDescription(DescriptionT &&value)
const VectorOptions & GetVectorOptions() const
virtual const char * GetServiceRequestName() const override
bool DeletionProtectionHasBeenSet() const
UpdateCollectionRequest & WithVectorOptions(VectorOptionsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetDescription() 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