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); }
64 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
76 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
89 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
90 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
105 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
117 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
129 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
173 bool m_arnHasBeenSet =
false;
175 long long m_createdDate;
176 bool m_createdDateHasBeenSet =
false;
179 bool m_descriptionHasBeenSet =
false;
182 bool m_idHasBeenSet =
false;
185 bool m_kmsKeyArnHasBeenSet =
false;
187 long long m_lastModifiedDate;
188 bool m_lastModifiedDateHasBeenSet =
false;
191 bool m_nameHasBeenSet =
false;
194 bool m_standbyReplicasHasBeenSet =
false;
197 bool m_statusHasBeenSet =
false;
200 bool m_typeHasBeenSet =
false;
bool LastModifiedDateHasBeenSet() const
CreateCollectionDetail & WithName(const Aws::String &value)
void SetArn(const Aws::String &value)
CreateCollectionDetail & WithKmsKeyArn(Aws::String &&value)
const Aws::String & GetName() const
void SetStandbyReplicas(StandbyReplicas &&value)
CreateCollectionDetail & WithLastModifiedDate(long long value)
void SetKmsKeyArn(Aws::String &&value)
const CollectionType & GetType() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail()
void SetArn(Aws::String &&value)
void SetName(Aws::String &&value)
CreateCollectionDetail & WithArn(const char *value)
CreateCollectionDetail & WithKmsKeyArn(const Aws::String &value)
void SetStatus(const CollectionStatus &value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetId(const Aws::String &value)
const Aws::String & GetKmsKeyArn() const
CreateCollectionDetail & WithStandbyReplicas(StandbyReplicas &&value)
void SetKmsKeyArn(const Aws::String &value)
bool NameHasBeenSet() const
void SetKmsKeyArn(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const StandbyReplicas & GetStandbyReplicas() const
bool StandbyReplicasHasBeenSet() const
CreateCollectionDetail & WithName(Aws::String &&value)
CreateCollectionDetail & WithArn(Aws::String &&value)
bool ArnHasBeenSet() const
CreateCollectionDetail & WithType(const CollectionType &value)
void SetDescription(const char *value)
void SetName(const Aws::String &value)
bool StatusHasBeenSet() const
void SetType(CollectionType &&value)
CreateCollectionDetail & WithStandbyReplicas(const StandbyReplicas &value)
bool CreatedDateHasBeenSet() const
void SetStandbyReplicas(const StandbyReplicas &value)
void SetStatus(CollectionStatus &&value)
CreateCollectionDetail & WithDescription(const char *value)
void SetName(const char *value)
CreateCollectionDetail & WithType(CollectionType &&value)
CreateCollectionDetail & WithDescription(Aws::String &&value)
void SetId(Aws::String &&value)
void SetDescription(const Aws::String &value)
const CollectionStatus & GetStatus() const
const Aws::String & GetId() const
const Aws::String & GetArn() const
void SetLastModifiedDate(long long value)
bool KmsKeyArnHasBeenSet() const
CreateCollectionDetail & WithCreatedDate(long long value)
CreateCollectionDetail & WithKmsKeyArn(const char *value)
bool IdHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
CreateCollectionDetail & WithStatus(CollectionStatus &&value)
CreateCollectionDetail & WithId(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetCreatedDate(long long value)
void SetDescription(Aws::String &&value)
long long GetCreatedDate() const
long long GetLastModifiedDate() const
void SetType(const CollectionType &value)
CreateCollectionDetail & WithId(const Aws::String &value)
CreateCollectionDetail & WithDescription(const Aws::String &value)
CreateCollectionDetail & WithId(const char *value)
CreateCollectionDetail & WithName(const char *value)
void SetArn(const char *value)
CreateCollectionDetail & WithArn(const Aws::String &value)
CreateCollectionDetail & WithStatus(const CollectionStatus &value)
void SetId(const char *value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue