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>
24namespace OpenSearchServerless
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
94 template<
typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
96 template<
typename DescriptionT = Aws::String>
106 template<
typename ArnT = Aws::String>
107 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
108 template<
typename ArnT = Aws::String>
119 template<
typename KmsKeyArnT = Aws::String>
120 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
121 template<
typename KmsKeyArnT = Aws::String>
141 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
151 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
162 template<
typename CollectionEndpo
intT = Aws::String>
163 void SetCollectionEndpoint(CollectionEndpointT&& value) { m_collectionEndpointHasBeenSet =
true; m_collectionEndpoint = std::forward<CollectionEndpointT>(value); }
164 template<
typename CollectionEndpo
intT = Aws::String>
174 template<
typename DashboardEndpo
intT = Aws::String>
175 void SetDashboardEndpoint(DashboardEndpointT&& value) { m_dashboardEndpointHasBeenSet =
true; m_dashboardEndpoint = std::forward<DashboardEndpointT>(value); }
176 template<
typename DashboardEndpo
intT = Aws::String>
186 template<
typename FailureCodeT = Aws::String>
187 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet =
true; m_failureCode = std::forward<FailureCodeT>(value); }
188 template<
typename FailureCodeT = Aws::String>
198 template<
typename FailureMessageT = Aws::String>
199 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
200 template<
typename FailureMessageT = Aws::String>
206 bool m_idHasBeenSet =
false;
209 bool m_nameHasBeenSet =
false;
212 bool m_statusHasBeenSet =
false;
215 bool m_typeHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
221 bool m_arnHasBeenSet =
false;
224 bool m_kmsKeyArnHasBeenSet =
false;
227 bool m_standbyReplicasHasBeenSet =
false;
229 long long m_createdDate{0};
230 bool m_createdDateHasBeenSet =
false;
232 long long m_lastModifiedDate{0};
233 bool m_lastModifiedDateHasBeenSet =
false;
236 bool m_collectionEndpointHasBeenSet =
false;
239 bool m_dashboardEndpointHasBeenSet =
false;
242 bool m_failureCodeHasBeenSet =
false;
245 bool m_failureMessageHasBeenSet =
false;
CollectionDetail & WithId(IdT &&value)
CollectionType GetType() const
CollectionDetail & WithDashboardEndpoint(DashboardEndpointT &&value)
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
const Aws::String & GetId() const
bool KmsKeyArnHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue