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/FipsEndpoints.h>
12#include <aws/opensearchserverless/model/StandbyReplicas.h>
13#include <aws/opensearchserverless/model/VectorOptions.h>
24namespace OpenSearchServerless {
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
84 m_statusHasBeenSet =
true;
100 m_typeHasBeenSet =
true;
115 template <
typename DescriptionT = Aws::String>
117 m_descriptionHasBeenSet =
true;
118 m_description = std::forward<DescriptionT>(value);
120 template <
typename DescriptionT = Aws::String>
133 template <
typename ArnT = Aws::String>
135 m_arnHasBeenSet =
true;
136 m_arn = std::forward<ArnT>(value);
138 template <
typename ArnT = Aws::String>
140 SetArn(std::forward<ArnT>(value));
152 template <
typename KmsKeyArnT = Aws::String>
154 m_kmsKeyArnHasBeenSet =
true;
155 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
157 template <
typename KmsKeyArnT = Aws::String>
171 m_standbyReplicasHasBeenSet =
true;
172 m_standbyReplicas = value;
186 template <
typename VectorOptionsT = VectorOptions>
188 m_vectorOptionsHasBeenSet =
true;
189 m_vectorOptions = std::forward<VectorOptionsT>(value);
191 template <
typename VectorOptionsT = VectorOptions>
205 m_createdDateHasBeenSet =
true;
206 m_createdDate = value;
221 m_lastModifiedDateHasBeenSet =
true;
222 m_lastModifiedDate = value;
237 template <
typename CollectionEndpo
intT = Aws::String>
239 m_collectionEndpointHasBeenSet =
true;
240 m_collectionEndpoint = std::forward<CollectionEndpointT>(value);
242 template <
typename CollectionEndpo
intT = Aws::String>
255 template <
typename DashboardEndpo
intT = Aws::String>
257 m_dashboardEndpointHasBeenSet =
true;
258 m_dashboardEndpoint = std::forward<DashboardEndpointT>(value);
260 template <
typename DashboardEndpo
intT = Aws::String>
275 template <
typename FipsEndpo
intsT = FipsEndpo
ints>
277 m_fipsEndpointsHasBeenSet =
true;
278 m_fipsEndpoints = std::forward<FipsEndpointsT>(value);
280 template <
typename FipsEndpo
intsT = FipsEndpo
ints>
293 template <
typename FailureCodeT = Aws::String>
295 m_failureCodeHasBeenSet =
true;
296 m_failureCode = std::forward<FailureCodeT>(value);
298 template <
typename FailureCodeT = Aws::String>
311 template <
typename FailureMessageT = Aws::String>
313 m_failureMessageHasBeenSet =
true;
314 m_failureMessage = std::forward<FailureMessageT>(value);
316 template <
typename FailureMessageT = Aws::String>
339 VectorOptions m_vectorOptions;
341 long long m_createdDate{0};
343 long long m_lastModifiedDate{0};
349 FipsEndpoints m_fipsEndpoints;
354 bool m_idHasBeenSet =
false;
355 bool m_nameHasBeenSet =
false;
356 bool m_statusHasBeenSet =
false;
357 bool m_typeHasBeenSet =
false;
358 bool m_descriptionHasBeenSet =
false;
359 bool m_arnHasBeenSet =
false;
360 bool m_kmsKeyArnHasBeenSet =
false;
361 bool m_standbyReplicasHasBeenSet =
false;
362 bool m_vectorOptionsHasBeenSet =
false;
363 bool m_createdDateHasBeenSet =
false;
364 bool m_lastModifiedDateHasBeenSet =
false;
365 bool m_collectionEndpointHasBeenSet =
false;
366 bool m_dashboardEndpointHasBeenSet =
false;
367 bool m_fipsEndpointsHasBeenSet =
false;
368 bool m_failureCodeHasBeenSet =
false;
369 bool m_failureMessageHasBeenSet =
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 ArnHasBeenSet() const
void SetDashboardEndpoint(DashboardEndpointT &&value)
void SetCreatedDate(long long 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
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
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)
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
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