7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/amp/model/WorkspaceStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace PrometheusService
53 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
66 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
67 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
94 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
128 inline WorkspaceSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
139 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
147 bool m_aliasHasBeenSet =
false;
150 bool m_arnHasBeenSet =
false;
153 bool m_createdAtHasBeenSet =
false;
156 bool m_kmsKeyArnHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
162 bool m_tagsHasBeenSet =
false;
165 bool m_workspaceIdHasBeenSet =
false;
WorkspaceSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
WorkspaceSummary & WithArn(const char *value)
void SetWorkspaceId(Aws::String &&value)
WorkspaceSummary & WithWorkspaceId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
WorkspaceSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
WorkspaceSummary & WithAlias(const Aws::String &value)
WorkspaceSummary & WithWorkspaceId(const Aws::String &value)
bool AliasHasBeenSet() const
void SetWorkspaceId(const char *value)
void SetArn(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API WorkspaceSummary()
void SetArn(const char *value)
const Aws::String & GetArn() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
WorkspaceSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
const Aws::String & GetKmsKeyArn() const
WorkspaceSummary & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetAlias() const
void SetWorkspaceId(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API WorkspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithKmsKeyArn(const char *value)
WorkspaceSummary & AddTags(const char *key, const char *value)
WorkspaceSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool CreatedAtHasBeenSet() const
bool TagsHasBeenSet() const
AWS_PROMETHEUSSERVICE_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithStatus(WorkspaceStatus &&value)
void SetKmsKeyArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
WorkspaceSummary & AddTags(Aws::String &&key, const char *value)
WorkspaceSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetAlias(Aws::String &&value)
WorkspaceSummary & WithArn(const Aws::String &value)
const WorkspaceStatus & GetStatus() const
WorkspaceSummary & WithWorkspaceId(const char *value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceSummary & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetStatus(const WorkspaceStatus &value)
void SetAlias(const char *value)
WorkspaceSummary & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkspaceSummary & WithKmsKeyArn(const Aws::String &value)
void SetStatus(WorkspaceStatus &&value)
WorkspaceSummary & WithKmsKeyArn(Aws::String &&value)
WorkspaceSummary & WithStatus(const WorkspaceStatus &value)
WorkspaceSummary & AddTags(const Aws::String &key, const Aws::String &value)
bool StatusHasBeenSet() const
const Aws::String & GetWorkspaceId() const
void SetAlias(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetKmsKeyArn(const Aws::String &value)
bool KmsKeyArnHasBeenSet() const
WorkspaceSummary & WithAlias(Aws::String &&value)
bool WorkspaceIdHasBeenSet() const
void SetKmsKeyArn(const char *value)
WorkspaceSummary & WithAlias(const char *value)
WorkspaceSummary & AddTags(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue