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/FipsEndpoints.h>
13#include <aws/opensearchserverless/model/StandbyReplicas.h>
14#include <aws/opensearchserverless/model/VectorOptions.h>
25namespace OpenSearchServerless {
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
85 m_statusHasBeenSet =
true;
101 m_typeHasBeenSet =
true;
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
134 template <
typename ArnT = Aws::String>
136 m_arnHasBeenSet =
true;
137 m_arn = std::forward<ArnT>(value);
139 template <
typename ArnT = Aws::String>
141 SetArn(std::forward<ArnT>(value));
153 template <
typename KmsKeyArnT = Aws::String>
155 m_kmsKeyArnHasBeenSet =
true;
156 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
158 template <
typename KmsKeyArnT = Aws::String>
172 m_standbyReplicasHasBeenSet =
true;
173 m_standbyReplicas = value;
189 m_deletionProtectionHasBeenSet =
true;
190 m_deletionProtection = value;
204 template <
typename VectorOptionsT = VectorOptions>
206 m_vectorOptionsHasBeenSet =
true;
207 m_vectorOptions = std::forward<VectorOptionsT>(value);
209 template <
typename VectorOptionsT = VectorOptions>
223 m_createdDateHasBeenSet =
true;
224 m_createdDate = value;
239 m_lastModifiedDateHasBeenSet =
true;
240 m_lastModifiedDate = value;
255 template <
typename CollectionEndpo
intT = Aws::String>
257 m_collectionEndpointHasBeenSet =
true;
258 m_collectionEndpoint = std::forward<CollectionEndpointT>(value);
260 template <
typename CollectionEndpo
intT = Aws::String>
273 template <
typename DashboardEndpo
intT = Aws::String>
275 m_dashboardEndpointHasBeenSet =
true;
276 m_dashboardEndpoint = std::forward<DashboardEndpointT>(value);
278 template <
typename DashboardEndpo
intT = Aws::String>
293 template <
typename FipsEndpo
intsT = FipsEndpo
ints>
295 m_fipsEndpointsHasBeenSet =
true;
296 m_fipsEndpoints = std::forward<FipsEndpointsT>(value);
298 template <
typename FipsEndpo
intsT = FipsEndpo
ints>
311 template <
typename FailureCodeT = Aws::String>
313 m_failureCodeHasBeenSet =
true;
314 m_failureCode = std::forward<FailureCodeT>(value);
316 template <
typename FailureCodeT = Aws::String>
329 template <
typename FailureMessageT = Aws::String>
331 m_failureMessageHasBeenSet =
true;
332 m_failureMessage = std::forward<FailureMessageT>(value);
334 template <
typename FailureMessageT = Aws::String>
347 template <
typename CollectionGroupNameT = Aws::String>
349 m_collectionGroupNameHasBeenSet =
true;
350 m_collectionGroupName = std::forward<CollectionGroupNameT>(value);
352 template <
typename CollectionGroupNameT = Aws::String>
377 VectorOptions m_vectorOptions;
379 long long m_createdDate{0};
381 long long m_lastModifiedDate{0};
387 FipsEndpoints m_fipsEndpoints;
394 bool m_idHasBeenSet =
false;
395 bool m_nameHasBeenSet =
false;
396 bool m_statusHasBeenSet =
false;
397 bool m_typeHasBeenSet =
false;
398 bool m_descriptionHasBeenSet =
false;
399 bool m_arnHasBeenSet =
false;
400 bool m_kmsKeyArnHasBeenSet =
false;
401 bool m_standbyReplicasHasBeenSet =
false;
402 bool m_deletionProtectionHasBeenSet =
false;
403 bool m_vectorOptionsHasBeenSet =
false;
404 bool m_createdDateHasBeenSet =
false;
405 bool m_lastModifiedDateHasBeenSet =
false;
406 bool m_collectionEndpointHasBeenSet =
false;
407 bool m_dashboardEndpointHasBeenSet =
false;
408 bool m_fipsEndpointsHasBeenSet =
false;
409 bool m_failureCodeHasBeenSet =
false;
410 bool m_failureMessageHasBeenSet =
false;
411 bool m_collectionGroupNameHasBeenSet =
false;
CollectionDetail & WithId(IdT &&value)
bool VectorOptionsHasBeenSet() const
CollectionType GetType() const
CollectionDetail & WithDashboardEndpoint(DashboardEndpointT &&value)
const FipsEndpoints & GetFipsEndpoints() const
AWS_OPENSEARCHSERVERLESS_API CollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CollectionDetail & WithDescription(DescriptionT &&value)
bool DeletionProtectionHasBeenSet() const
bool ArnHasBeenSet() const
CollectionDetail & WithCollectionGroupName(CollectionGroupNameT &&value)
void SetDashboardEndpoint(DashboardEndpointT &&value)
void SetCreatedDate(long long value)
CollectionDetail & WithDeletionProtection(DeletionProtection value)
const VectorOptions & GetVectorOptions() const
bool DashboardEndpointHasBeenSet() const
void SetLastModifiedDate(long long value)
void SetVectorOptions(VectorOptionsT &&value)
const Aws::String & GetFailureMessage() const
bool CollectionEndpointHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
StandbyReplicas GetStandbyReplicas() const
CollectionDetail & WithCreatedDate(long long value)
CollectionDetail & WithStatus(CollectionStatus value)
const Aws::String & GetFailureCode() const
bool CollectionGroupNameHasBeenSet() const
const Aws::String & GetDescription() const
bool FipsEndpointsHasBeenSet() const
const Aws::String & GetId() const
bool KmsKeyArnHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
CollectionDetail & WithFipsEndpoints(FipsEndpointsT &&value)
const Aws::String & GetArn() const
bool LastModifiedDateHasBeenSet() const
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
void SetStatus(CollectionStatus value)
long long GetLastModifiedDate() const
const Aws::String & GetDashboardEndpoint() const
void SetDeletionProtection(DeletionProtection value)
AWS_OPENSEARCHSERVERLESS_API CollectionDetail(Aws::Utils::Json::JsonView jsonValue)
CollectionDetail & WithLastModifiedDate(long long value)
void SetStandbyReplicas(StandbyReplicas value)
bool FailureCodeHasBeenSet() const
bool DescriptionHasBeenSet() const
bool StatusHasBeenSet() const
void SetCollectionEndpoint(CollectionEndpointT &&value)
const Aws::String & GetCollectionGroupName() const
CollectionDetail & WithFailureCode(FailureCodeT &&value)
void SetFailureMessage(FailureMessageT &&value)
CollectionDetail & WithKmsKeyArn(KmsKeyArnT &&value)
CollectionDetail & WithArn(ArnT &&value)
bool CreatedDateHasBeenSet() const
CollectionDetail & WithCollectionEndpoint(CollectionEndpointT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetCreatedDate() const
void SetFailureCode(FailureCodeT &&value)
void SetType(CollectionType value)
bool StandbyReplicasHasBeenSet() const
CollectionDetail & WithVectorOptions(VectorOptionsT &&value)
bool FailureMessageHasBeenSet() const
CollectionDetail & WithStandbyReplicas(StandbyReplicas value)
AWS_OPENSEARCHSERVERLESS_API CollectionDetail()=default
const Aws::String & GetKmsKeyArn() const
void SetName(NameT &&value)
const Aws::String & GetName() const
CollectionDetail & WithFailureMessage(FailureMessageT &&value)
CollectionStatus GetStatus() const
DeletionProtection GetDeletionProtection() const
void SetCollectionGroupName(CollectionGroupNameT &&value)
CollectionDetail & WithType(CollectionType value)
CollectionDetail & WithName(NameT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetCollectionEndpoint() const
void SetFipsEndpoints(FipsEndpointsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue