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>
23namespace OpenSearchServerless
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
63 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
75 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
88 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
89 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
101 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
113 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
145 bool m_arnHasBeenSet =
false;
147 long long m_createdDate;
148 bool m_createdDateHasBeenSet =
false;
151 bool m_descriptionHasBeenSet =
false;
154 bool m_idHasBeenSet =
false;
156 long long m_lastModifiedDate;
157 bool m_lastModifiedDateHasBeenSet =
false;
160 bool m_nameHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
166 bool m_typeHasBeenSet =
false;
void SetStatus(CollectionStatus &&value)
void SetName(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
bool ArnHasBeenSet() const
const Aws::String & GetName() const
const CollectionType & GetType() const
UpdateCollectionDetail & WithDescription(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
UpdateCollectionDetail & WithArn(Aws::String &&value)
UpdateCollectionDetail & WithDescription(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail()
void SetId(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateCollectionDetail & WithName(Aws::String &&value)
void SetType(CollectionType &&value)
bool TypeHasBeenSet() const
UpdateCollectionDetail & WithArn(const char *value)
bool LastModifiedDateHasBeenSet() const
void SetId(Aws::String &&value)
UpdateCollectionDetail & WithId(const char *value)
UpdateCollectionDetail & WithLastModifiedDate(long long value)
bool CreatedDateHasBeenSet() const
void SetArn(const char *value)
void SetName(const char *value)
void SetArn(Aws::String &&value)
bool StatusHasBeenSet() const
UpdateCollectionDetail & WithName(const Aws::String &value)
UpdateCollectionDetail & WithDescription(const char *value)
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
void SetCreatedDate(long long value)
long long GetCreatedDate() const
UpdateCollectionDetail & WithStatus(const CollectionStatus &value)
UpdateCollectionDetail & WithId(const Aws::String &value)
void SetType(const CollectionType &value)
bool IdHasBeenSet() const
UpdateCollectionDetail & WithCreatedDate(long long value)
const Aws::String & GetArn() const
UpdateCollectionDetail & WithId(Aws::String &&value)
const Aws::String & GetDescription() const
UpdateCollectionDetail & WithType(const CollectionType &value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetLastModifiedDate(long long value)
long long GetLastModifiedDate() const
UpdateCollectionDetail & WithName(const char *value)
void SetStatus(const CollectionStatus &value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
UpdateCollectionDetail & WithArn(const Aws::String &value)
const CollectionStatus & GetStatus() const
UpdateCollectionDetail & WithType(CollectionType &&value)
UpdateCollectionDetail & WithStatus(CollectionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue