7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/StandbyReplicas.h>
10#include <aws/opensearchserverless/model/CollectionStatus.h>
11#include <aws/opensearchserverless/model/CollectionType.h>
24namespace OpenSearchServerless
51 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
52 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetCollectionEndpoint(
const char* value) { m_collectionEndpointHasBeenSet =
true; m_collectionEndpoint.assign(value); }
79 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
91 inline void SetDashboardEndpoint(
const char* value) { m_dashboardEndpointHasBeenSet =
true; m_dashboardEndpoint.assign(value); }
105 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
119 inline void SetFailureCode(
const char* value) { m_failureCodeHasBeenSet =
true; m_failureCode.assign(value); }
133 inline void SetFailureMessage(
const char* value) { m_failureMessageHasBeenSet =
true; m_failureMessage.assign(value); }
147 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
162 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
174 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
186 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
230 bool m_arnHasBeenSet =
false;
233 bool m_collectionEndpointHasBeenSet =
false;
235 long long m_createdDate;
236 bool m_createdDateHasBeenSet =
false;
239 bool m_dashboardEndpointHasBeenSet =
false;
242 bool m_descriptionHasBeenSet =
false;
245 bool m_failureCodeHasBeenSet =
false;
248 bool m_failureMessageHasBeenSet =
false;
251 bool m_idHasBeenSet =
false;
254 bool m_kmsKeyArnHasBeenSet =
false;
256 long long m_lastModifiedDate;
257 bool m_lastModifiedDateHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
263 bool m_standbyReplicasHasBeenSet =
false;
266 bool m_statusHasBeenSet =
false;
269 bool m_typeHasBeenSet =
false;
CollectionDetail & WithKmsKeyArn(const Aws::String &value)
CollectionDetail & WithDescription(const char *value)
void SetName(const Aws::String &value)
void SetId(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API CollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const CollectionType & GetType() const
CollectionDetail & WithDescription(Aws::String &&value)
bool ArnHasBeenSet() const
void SetStandbyReplicas(const StandbyReplicas &value)
void SetCreatedDate(long long value)
CollectionDetail & WithFailureMessage(Aws::String &&value)
bool DashboardEndpointHasBeenSet() const
CollectionDetail & WithFailureCode(const Aws::String &value)
CollectionDetail & WithCollectionEndpoint(Aws::String &&value)
void SetLastModifiedDate(long long value)
void SetType(const CollectionType &value)
const Aws::String & GetFailureMessage() const
bool CollectionEndpointHasBeenSet() const
CollectionDetail & WithCreatedDate(long long value)
CollectionDetail & WithDescription(const Aws::String &value)
CollectionDetail & WithArn(Aws::String &&value)
CollectionDetail & WithCollectionEndpoint(const Aws::String &value)
const Aws::String & GetFailureCode() const
const Aws::String & GetDescription() const
CollectionDetail & WithFailureMessage(const char *value)
void SetKmsKeyArn(const char *value)
const Aws::String & GetId() const
bool KmsKeyArnHasBeenSet() const
void SetDashboardEndpoint(const Aws::String &value)
void SetFailureCode(Aws::String &&value)
bool IdHasBeenSet() const
void SetArn(const char *value)
CollectionDetail & WithType(const CollectionType &value)
void SetKmsKeyArn(const Aws::String &value)
const Aws::String & GetArn() const
void SetFailureCode(const Aws::String &value)
CollectionDetail & WithArn(const char *value)
bool LastModifiedDateHasBeenSet() const
CollectionDetail & WithId(const char *value)
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
void SetArn(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API CollectionDetail()
void SetStandbyReplicas(StandbyReplicas &&value)
CollectionDetail & WithStandbyReplicas(StandbyReplicas &&value)
void SetCollectionEndpoint(Aws::String &&value)
long long GetLastModifiedDate() const
const Aws::String & GetDashboardEndpoint() const
CollectionDetail & WithName(const Aws::String &value)
CollectionDetail & WithKmsKeyArn(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API CollectionDetail(Aws::Utils::Json::JsonView jsonValue)
CollectionDetail & WithFailureMessage(const Aws::String &value)
CollectionDetail & WithLastModifiedDate(long long value)
CollectionDetail & WithStatus(const CollectionStatus &value)
bool FailureCodeHasBeenSet() const
CollectionDetail & WithFailureCode(Aws::String &&value)
CollectionDetail & WithStatus(CollectionStatus &&value)
const StandbyReplicas & GetStandbyReplicas() const
void SetType(CollectionType &&value)
void SetArn(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool StatusHasBeenSet() const
void SetKmsKeyArn(Aws::String &&value)
CollectionDetail & WithKmsKeyArn(const char *value)
CollectionDetail & WithId(Aws::String &&value)
CollectionDetail & WithName(const char *value)
CollectionDetail & WithDashboardEndpoint(Aws::String &&value)
CollectionDetail & WithId(const Aws::String &value)
CollectionDetail & WithDashboardEndpoint(const Aws::String &value)
CollectionDetail & WithFailureCode(const char *value)
bool CreatedDateHasBeenSet() const
void SetId(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CollectionDetail & WithName(Aws::String &&value)
CollectionDetail & WithType(CollectionType &&value)
long long GetCreatedDate() const
bool StandbyReplicasHasBeenSet() const
void SetStatus(const CollectionStatus &value)
void SetStatus(CollectionStatus &&value)
void SetDescription(const char *value)
void SetDashboardEndpoint(Aws::String &&value)
const CollectionStatus & GetStatus() const
CollectionDetail & WithStandbyReplicas(const StandbyReplicas &value)
void SetFailureMessage(const char *value)
void SetCollectionEndpoint(const char *value)
void SetDescription(Aws::String &&value)
void SetFailureMessage(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetFailureMessage(Aws::String &&value)
bool FailureMessageHasBeenSet() const
CollectionDetail & WithDashboardEndpoint(const char *value)
const Aws::String & GetKmsKeyArn() const
void SetDashboardEndpoint(const char *value)
CollectionDetail & WithCollectionEndpoint(const char *value)
void SetCollectionEndpoint(const Aws::String &value)
void SetId(const char *value)
CollectionDetail & WithArn(const Aws::String &value)
const Aws::String & GetName() const
void SetName(const char *value)
const Aws::String & GetCollectionEndpoint() const
void SetName(Aws::String &&value)
void SetFailureCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue