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/StandbyReplicas.h>
13#include <aws/opensearchserverless/model/VectorOptions.h>
24namespace OpenSearchServerless {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
83 m_statusHasBeenSet =
true;
99 m_typeHasBeenSet =
true;
114 template <
typename DescriptionT = Aws::String>
116 m_descriptionHasBeenSet =
true;
117 m_description = std::forward<DescriptionT>(value);
119 template <
typename DescriptionT = Aws::String>
132 template <
typename ArnT = Aws::String>
134 m_arnHasBeenSet =
true;
135 m_arn = std::forward<ArnT>(value);
137 template <
typename ArnT = Aws::String>
139 SetArn(std::forward<ArnT>(value));
151 template <
typename KmsKeyArnT = Aws::String>
153 m_kmsKeyArnHasBeenSet =
true;
154 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
156 template <
typename KmsKeyArnT = Aws::String>
170 m_standbyReplicasHasBeenSet =
true;
171 m_standbyReplicas = value;
187 m_deletionProtectionHasBeenSet =
true;
188 m_deletionProtection = value;
202 template <
typename VectorOptionsT = VectorOptions>
204 m_vectorOptionsHasBeenSet =
true;
205 m_vectorOptions = std::forward<VectorOptionsT>(value);
207 template <
typename VectorOptionsT = VectorOptions>
221 m_createdDateHasBeenSet =
true;
222 m_createdDate = value;
237 m_lastModifiedDateHasBeenSet =
true;
238 m_lastModifiedDate = value;
252 template <
typename CollectionGroupNameT = Aws::String>
254 m_collectionGroupNameHasBeenSet =
true;
255 m_collectionGroupName = std::forward<CollectionGroupNameT>(value);
257 template <
typename CollectionGroupNameT = Aws::String>
282 VectorOptions m_vectorOptions;
284 long long m_createdDate{0};
286 long long m_lastModifiedDate{0};
289 bool m_idHasBeenSet =
false;
290 bool m_nameHasBeenSet =
false;
291 bool m_statusHasBeenSet =
false;
292 bool m_typeHasBeenSet =
false;
293 bool m_descriptionHasBeenSet =
false;
294 bool m_arnHasBeenSet =
false;
295 bool m_kmsKeyArnHasBeenSet =
false;
296 bool m_standbyReplicasHasBeenSet =
false;
297 bool m_deletionProtectionHasBeenSet =
false;
298 bool m_vectorOptionsHasBeenSet =
false;
299 bool m_createdDateHasBeenSet =
false;
300 bool m_lastModifiedDateHasBeenSet =
false;
301 bool m_collectionGroupNameHasBeenSet =
false;
bool LastModifiedDateHasBeenSet() const
CollectionType GetType() const
CreateCollectionDetail & WithId(IdT &&value)
CreateCollectionDetail & WithVectorOptions(VectorOptionsT &&value)
DeletionProtection GetDeletionProtection() const
CreateCollectionDetail & WithArn(ArnT &&value)
const Aws::String & GetName() const
void SetVectorOptions(VectorOptionsT &&value)
CreateCollectionDetail & WithKmsKeyArn(KmsKeyArnT &&value)
bool VectorOptionsHasBeenSet() const
CreateCollectionDetail & WithLastModifiedDate(long long value)
CreateCollectionDetail & WithDeletionProtection(DeletionProtection value)
bool DeletionProtectionHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
const Aws::String & GetKmsKeyArn() const
CollectionStatus GetStatus() const
CreateCollectionDetail & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
void SetDescription(DescriptionT &&value)
StandbyReplicas GetStandbyReplicas() const
bool StandbyReplicasHasBeenSet() const
bool ArnHasBeenSet() const
void SetCollectionGroupName(CollectionGroupNameT &&value)
CreateCollectionDetail & WithStandbyReplicas(StandbyReplicas value)
bool StatusHasBeenSet() const
bool CreatedDateHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetCollectionGroupName() const
const Aws::String & GetId() const
const Aws::String & GetArn() const
void SetLastModifiedDate(long long value)
bool KmsKeyArnHasBeenSet() const
bool CollectionGroupNameHasBeenSet() const
CreateCollectionDetail & WithCreatedDate(long long value)
CreateCollectionDetail & WithName(NameT &&value)
bool IdHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetType(CollectionType value)
void SetStatus(CollectionStatus value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail()=default
bool DescriptionHasBeenSet() const
void SetCreatedDate(long long value)
CreateCollectionDetail & WithType(CollectionType value)
void SetStandbyReplicas(StandbyReplicas value)
long long GetCreatedDate() const
long long GetLastModifiedDate() const
CreateCollectionDetail & WithCollectionGroupName(CollectionGroupNameT &&value)
void SetDeletionProtection(DeletionProtection value)
void SetKmsKeyArn(KmsKeyArnT &&value)
CreateCollectionDetail & WithStatus(CollectionStatus value)
const VectorOptions & GetVectorOptions() const
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue