7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/CollectionStatus.h>
10#include <aws/opensearchserverless/model/CollectionType.h>
11#include <aws/opensearchserverless/model/DeletionProtection.h>
12#include <aws/opensearchserverless/model/VectorOptions.h>
23namespace OpenSearchServerless {
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 m_statusHasBeenSet =
true;
98 m_typeHasBeenSet =
true;
113 template <
typename DescriptionT = Aws::String>
115 m_descriptionHasBeenSet =
true;
116 m_description = std::forward<DescriptionT>(value);
118 template <
typename DescriptionT = Aws::String>
131 template <
typename VectorOptionsT = VectorOptions>
133 m_vectorOptionsHasBeenSet =
true;
134 m_vectorOptions = std::forward<VectorOptionsT>(value);
136 template <
typename VectorOptionsT = VectorOptions>
149 template <
typename ArnT = Aws::String>
151 m_arnHasBeenSet =
true;
152 m_arn = std::forward<ArnT>(value);
154 template <
typename ArnT = Aws::String>
156 SetArn(std::forward<ArnT>(value));
168 m_createdDateHasBeenSet =
true;
169 m_createdDate = value;
184 m_lastModifiedDateHasBeenSet =
true;
185 m_lastModifiedDate = value;
201 m_deletionProtectionHasBeenSet =
true;
202 m_deletionProtection = value;
220 VectorOptions m_vectorOptions;
224 long long m_createdDate{0};
226 long long m_lastModifiedDate{0};
229 bool m_idHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
231 bool m_statusHasBeenSet =
false;
232 bool m_typeHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
234 bool m_vectorOptionsHasBeenSet =
false;
235 bool m_arnHasBeenSet =
false;
236 bool m_createdDateHasBeenSet =
false;
237 bool m_lastModifiedDateHasBeenSet =
false;
238 bool m_deletionProtectionHasBeenSet =
false;
UpdateCollectionDetail & WithDeletionProtection(DeletionProtection value)
void SetName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
CollectionType GetType() const
const Aws::String & GetName() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
UpdateCollectionDetail & WithLastModifiedDate(long long value)
bool CreatedDateHasBeenSet() const
void SetVectorOptions(VectorOptionsT &&value)
UpdateCollectionDetail & WithType(CollectionType value)
UpdateCollectionDetail & WithName(NameT &&value)
void SetArn(ArnT &&value)
bool VectorOptionsHasBeenSet() const
bool StatusHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedDate(long long value)
long long GetCreatedDate() const
bool DeletionProtectionHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail()=default
UpdateCollectionDetail & WithId(IdT &&value)
void SetDescription(DescriptionT &&value)
UpdateCollectionDetail & WithStatus(CollectionStatus value)
bool IdHasBeenSet() const
UpdateCollectionDetail & WithCreatedDate(long long value)
const Aws::String & GetArn() const
UpdateCollectionDetail & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
CollectionStatus GetStatus() const
UpdateCollectionDetail & WithVectorOptions(VectorOptionsT &&value)
void SetType(CollectionType value)
bool DescriptionHasBeenSet() const
void SetLastModifiedDate(long long value)
void SetStatus(CollectionStatus value)
long long GetLastModifiedDate() const
DeletionProtection GetDeletionProtection() const
UpdateCollectionDetail & WithArn(ArnT &&value)
const Aws::String & GetId() const
void SetDeletionProtection(DeletionProtection value)
const VectorOptions & GetVectorOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue