7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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/FipsEndpoints.h>
25namespace OpenSearchServerless
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
108 template<
typename ArnT = Aws::String>
109 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
110 template<
typename ArnT = Aws::String>
121 template<
typename KmsKeyArnT = Aws::String>
122 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
123 template<
typename KmsKeyArnT = Aws::String>
143 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
153 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
164 template<
typename CollectionEndpo
intT = Aws::String>
165 void SetCollectionEndpoint(CollectionEndpointT&& value) { m_collectionEndpointHasBeenSet =
true; m_collectionEndpoint = std::forward<CollectionEndpointT>(value); }
166 template<
typename CollectionEndpo
intT = Aws::String>
176 template<
typename DashboardEndpo
intT = Aws::String>
177 void SetDashboardEndpoint(DashboardEndpointT&& value) { m_dashboardEndpointHasBeenSet =
true; m_dashboardEndpoint = std::forward<DashboardEndpointT>(value); }
178 template<
typename DashboardEndpo
intT = Aws::String>
190 template<
typename FipsEndpo
intsT = FipsEndpo
ints>
191 void SetFipsEndpoints(FipsEndpointsT&& value) { m_fipsEndpointsHasBeenSet =
true; m_fipsEndpoints = std::forward<FipsEndpointsT>(value); }
192 template<
typename FipsEndpo
intsT = FipsEndpo
ints>
202 template<
typename FailureCodeT = Aws::String>
203 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet =
true; m_failureCode = std::forward<FailureCodeT>(value); }
204 template<
typename FailureCodeT = Aws::String>
214 template<
typename FailureMessageT = Aws::String>
215 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
216 template<
typename FailureMessageT = Aws::String>
222 bool m_idHasBeenSet =
false;
225 bool m_nameHasBeenSet =
false;
228 bool m_statusHasBeenSet =
false;
231 bool m_typeHasBeenSet =
false;
234 bool m_descriptionHasBeenSet =
false;
237 bool m_arnHasBeenSet =
false;
240 bool m_kmsKeyArnHasBeenSet =
false;
243 bool m_standbyReplicasHasBeenSet =
false;
245 long long m_createdDate{0};
246 bool m_createdDateHasBeenSet =
false;
248 long long m_lastModifiedDate{0};
249 bool m_lastModifiedDateHasBeenSet =
false;
252 bool m_collectionEndpointHasBeenSet =
false;
255 bool m_dashboardEndpointHasBeenSet =
false;
257 FipsEndpoints m_fipsEndpoints;
258 bool m_fipsEndpointsHasBeenSet =
false;
261 bool m_failureCodeHasBeenSet =
false;
264 bool m_failureMessageHasBeenSet =
false;
CollectionDetail & WithId(IdT &&value)
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)
bool DashboardEndpointHasBeenSet() const
void SetLastModifiedDate(long long 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
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