7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/CollectionStatus.h>
22namespace OpenSearchServerless
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
63 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
64 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
78 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
98 bool m_arnHasBeenSet =
false;
101 bool m_idHasBeenSet =
false;
104 bool m_nameHasBeenSet =
false;
107 bool m_statusHasBeenSet =
false;
bool NameHasBeenSet() const
CollectionSummary & WithName(const char *value)
void SetId(const char *value)
CollectionSummary & WithId(const char *value)
CollectionSummary & WithArn(Aws::String &&value)
CollectionSummary & WithId(Aws::String &&value)
CollectionSummary & WithStatus(CollectionStatus &&value)
const CollectionStatus & GetStatus() const
const Aws::String & GetArn() const
void SetStatus(const CollectionStatus &value)
void SetArn(const char *value)
CollectionSummary & WithId(const Aws::String &value)
CollectionSummary & WithArn(const char *value)
CollectionSummary & WithName(const Aws::String &value)
CollectionSummary & WithName(Aws::String &&value)
CollectionSummary & WithStatus(const CollectionStatus &value)
bool ArnHasBeenSet() const
bool IdHasBeenSet() const
void SetStatus(CollectionStatus &&value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
void SetName(const char *value)
bool StatusHasBeenSet() const
void SetId(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API CollectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
void SetId(Aws::String &&value)
CollectionSummary & WithArn(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API CollectionSummary()
void SetArn(Aws::String &&value)
void SetArn(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API CollectionSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue