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); }
67 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
68 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
95 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
110 inline void SetPrometheusEndpoint(
const char* value) { m_prometheusEndpointHasBeenSet =
true; m_prometheusEndpoint.assign(value); }
156 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
164 bool m_aliasHasBeenSet =
false;
167 bool m_arnHasBeenSet =
false;
170 bool m_createdAtHasBeenSet =
false;
173 bool m_kmsKeyArnHasBeenSet =
false;
176 bool m_prometheusEndpointHasBeenSet =
false;
179 bool m_statusHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
185 bool m_workspaceIdHasBeenSet =
false;
bool CreatedAtHasBeenSet() const
WorkspaceDescription & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool AliasHasBeenSet() const
WorkspaceDescription & WithStatus(WorkspaceStatus &&value)
WorkspaceDescription & WithArn(const Aws::String &value)
WorkspaceDescription & WithPrometheusEndpoint(const char *value)
AWS_PROMETHEUSSERVICE_API WorkspaceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceDescription & WithArn(const char *value)
const Aws::String & GetPrometheusEndpoint() const
WorkspaceDescription & AddTags(Aws::String &&key, Aws::String &&value)
bool ArnHasBeenSet() const
const Aws::String & GetAlias() const
void SetKmsKeyArn(const char *value)
void SetStatus(WorkspaceStatus &&value)
const WorkspaceStatus & GetStatus() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
WorkspaceDescription & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkspaceDescription & WithKmsKeyArn(Aws::String &&value)
WorkspaceDescription & WithCreatedAt(Aws::Utils::DateTime &&value)
WorkspaceDescription & AddTags(Aws::String &&key, const char *value)
void SetAlias(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKmsKeyArn(const Aws::String &value)
WorkspaceDescription & WithAlias(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API WorkspaceDescription()
void SetPrometheusEndpoint(const char *value)
void SetArn(const char *value)
WorkspaceDescription & WithWorkspaceId(const char *value)
const Aws::String & GetKmsKeyArn() const
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
WorkspaceDescription & WithKmsKeyArn(const Aws::String &value)
void SetPrometheusEndpoint(const Aws::String &value)
WorkspaceDescription & WithWorkspaceId(const Aws::String &value)
WorkspaceDescription & WithAlias(const Aws::String &value)
WorkspaceDescription & WithPrometheusEndpoint(Aws::String &&value)
WorkspaceDescription & AddTags(Aws::String &&key, const Aws::String &value)
WorkspaceDescription & WithArn(Aws::String &&value)
bool WorkspaceIdHasBeenSet() const
WorkspaceDescription & WithKmsKeyArn(const char *value)
void SetKmsKeyArn(Aws::String &&value)
void SetArn(const Aws::String &value)
WorkspaceDescription & WithWorkspaceId(Aws::String &&value)
WorkspaceDescription & AddTags(const Aws::String &key, const Aws::String &value)
bool KmsKeyArnHasBeenSet() const
void SetStatus(const WorkspaceStatus &value)
const Aws::String & GetArn() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
WorkspaceDescription & AddTags(const Aws::String &key, Aws::String &&value)
WorkspaceDescription & WithPrometheusEndpoint(const Aws::String &value)
WorkspaceDescription & AddTags(const char *key, const char *value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
void SetWorkspaceId(const Aws::String &value)
WorkspaceDescription & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
bool PrometheusEndpointHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetPrometheusEndpoint(Aws::String &&value)
const Aws::String & GetWorkspaceId() const
void SetWorkspaceId(const char *value)
WorkspaceDescription & WithAlias(const char *value)
WorkspaceDescription & WithStatus(const WorkspaceStatus &value)
WorkspaceDescription & AddTags(const char *key, Aws::String &&value)
void SetAlias(const Aws::String &value)
void SetWorkspaceId(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API WorkspaceDescription(Aws::Utils::Json::JsonView jsonValue)
void SetAlias(const char *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