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/VectorOptions.h>
22namespace OpenSearchServerless {
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
81 m_statusHasBeenSet =
true;
97 m_typeHasBeenSet =
true;
112 template <
typename DescriptionT = Aws::String>
114 m_descriptionHasBeenSet =
true;
115 m_description = std::forward<DescriptionT>(value);
117 template <
typename DescriptionT = Aws::String>
130 template <
typename VectorOptionsT = VectorOptions>
132 m_vectorOptionsHasBeenSet =
true;
133 m_vectorOptions = std::forward<VectorOptionsT>(value);
135 template <
typename VectorOptionsT = VectorOptions>
148 template <
typename ArnT = Aws::String>
150 m_arnHasBeenSet =
true;
151 m_arn = std::forward<ArnT>(value);
153 template <
typename ArnT = Aws::String>
155 SetArn(std::forward<ArnT>(value));
167 m_createdDateHasBeenSet =
true;
168 m_createdDate = value;
183 m_lastModifiedDateHasBeenSet =
true;
184 m_lastModifiedDate = value;
202 VectorOptions m_vectorOptions;
206 long long m_createdDate{0};
208 long long m_lastModifiedDate{0};
209 bool m_idHasBeenSet =
false;
210 bool m_nameHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
212 bool m_typeHasBeenSet =
false;
213 bool m_descriptionHasBeenSet =
false;
214 bool m_vectorOptionsHasBeenSet =
false;
215 bool m_arnHasBeenSet =
false;
216 bool m_createdDateHasBeenSet =
false;
217 bool m_lastModifiedDateHasBeenSet =
false;
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
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
UpdateCollectionDetail & WithArn(ArnT &&value)
const Aws::String & GetId() const
const VectorOptions & GetVectorOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue