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/StandbyReplicas.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 ArnT = Aws::String>
133 m_arnHasBeenSet =
true;
134 m_arn = std::forward<ArnT>(value);
136 template <
typename ArnT = Aws::String>
138 SetArn(std::forward<ArnT>(value));
150 template <
typename KmsKeyArnT = Aws::String>
152 m_kmsKeyArnHasBeenSet =
true;
153 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
155 template <
typename KmsKeyArnT = Aws::String>
169 m_standbyReplicasHasBeenSet =
true;
170 m_standbyReplicas = value;
184 template <
typename VectorOptionsT = VectorOptions>
186 m_vectorOptionsHasBeenSet =
true;
187 m_vectorOptions = std::forward<VectorOptionsT>(value);
189 template <
typename VectorOptionsT = VectorOptions>
203 m_createdDateHasBeenSet =
true;
204 m_createdDate = value;
219 m_lastModifiedDateHasBeenSet =
true;
220 m_lastModifiedDate = value;
244 VectorOptions m_vectorOptions;
246 long long m_createdDate{0};
248 long long m_lastModifiedDate{0};
249 bool m_idHasBeenSet =
false;
250 bool m_nameHasBeenSet =
false;
251 bool m_statusHasBeenSet =
false;
252 bool m_typeHasBeenSet =
false;
253 bool m_descriptionHasBeenSet =
false;
254 bool m_arnHasBeenSet =
false;
255 bool m_kmsKeyArnHasBeenSet =
false;
256 bool m_standbyReplicasHasBeenSet =
false;
257 bool m_vectorOptionsHasBeenSet =
false;
258 bool m_createdDateHasBeenSet =
false;
259 bool m_lastModifiedDateHasBeenSet =
false;
bool LastModifiedDateHasBeenSet() const
CollectionType GetType() const
CreateCollectionDetail & WithId(IdT &&value)
CreateCollectionDetail & WithVectorOptions(VectorOptionsT &&value)
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)
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
CreateCollectionDetail & WithStandbyReplicas(StandbyReplicas value)
bool StatusHasBeenSet() const
bool CreatedDateHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetId() const
const Aws::String & GetArn() const
void SetLastModifiedDate(long long value)
bool KmsKeyArnHasBeenSet() 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
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