/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the properties of a workspace.See Also:
AWS
* API Reference
Unique string identifying this workspace.
*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *Unique string identifying this workspace.
*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *Unique string identifying this workspace.
*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *Unique string identifying this workspace.
*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *Unique string identifying this workspace.
*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *Unique string identifying this workspace.
*/ inline WorkspaceDescription& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *Unique string identifying this workspace.
*/ inline WorkspaceDescription& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *Unique string identifying this workspace.
*/ inline WorkspaceDescription& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *Alias of this workspace.
*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *Alias of this workspace.
*/ inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *Alias of this workspace.
*/ inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; } /** *Alias of this workspace.
*/ inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); } /** *Alias of this workspace.
*/ inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); } /** *Alias of this workspace.
*/ inline WorkspaceDescription& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *Alias of this workspace.
*/ inline WorkspaceDescription& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *Alias of this workspace.
*/ inline WorkspaceDescription& WithAlias(const char* value) { SetAlias(value); return *this;} /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline WorkspaceDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline WorkspaceDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of this workspace.
*/ inline WorkspaceDescription& WithArn(const char* value) { SetArn(value); return *this;} /** *The status of this workspace.
*/ inline const WorkspaceStatus& GetStatus() const{ return m_status; } /** *The status of this workspace.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of this workspace.
*/ inline void SetStatus(const WorkspaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of this workspace.
*/ inline void SetStatus(WorkspaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of this workspace.
*/ inline WorkspaceDescription& WithStatus(const WorkspaceStatus& value) { SetStatus(value); return *this;} /** *The status of this workspace.
*/ inline WorkspaceDescription& WithStatus(WorkspaceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Prometheus endpoint URI.
*/ inline const Aws::String& GetPrometheusEndpoint() const{ return m_prometheusEndpoint; } /** *Prometheus endpoint URI.
*/ inline bool PrometheusEndpointHasBeenSet() const { return m_prometheusEndpointHasBeenSet; } /** *Prometheus endpoint URI.
*/ inline void SetPrometheusEndpoint(const Aws::String& value) { m_prometheusEndpointHasBeenSet = true; m_prometheusEndpoint = value; } /** *Prometheus endpoint URI.
*/ inline void SetPrometheusEndpoint(Aws::String&& value) { m_prometheusEndpointHasBeenSet = true; m_prometheusEndpoint = std::move(value); } /** *Prometheus endpoint URI.
*/ inline void SetPrometheusEndpoint(const char* value) { m_prometheusEndpointHasBeenSet = true; m_prometheusEndpoint.assign(value); } /** *Prometheus endpoint URI.
*/ inline WorkspaceDescription& WithPrometheusEndpoint(const Aws::String& value) { SetPrometheusEndpoint(value); return *this;} /** *Prometheus endpoint URI.
*/ inline WorkspaceDescription& WithPrometheusEndpoint(Aws::String&& value) { SetPrometheusEndpoint(std::move(value)); return *this;} /** *Prometheus endpoint URI.
*/ inline WorkspaceDescription& WithPrometheusEndpoint(const char* value) { SetPrometheusEndpoint(value); return *this;} /** *The time when the workspace was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time when the workspace was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time when the workspace was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time when the workspace was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time when the workspace was created.
*/ inline WorkspaceDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time when the workspace was created.
*/ inline WorkspaceDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The tags of this workspace.
*/ inline const Aws::MapThe tags of this workspace.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags of this workspace.
*/ inline void SetTags(const Aws::MapThe tags of this workspace.
*/ inline void SetTags(Aws::MapThe tags of this workspace.
*/ inline WorkspaceDescription& WithTags(const Aws::MapThe tags of this workspace.
*/ inline WorkspaceDescription& WithTags(Aws::MapThe tags of this workspace.
*/ inline WorkspaceDescription& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags of this workspace.
*/ inline WorkspaceDescription& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of this workspace.
*/ inline WorkspaceDescription& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of this workspace.
*/ inline WorkspaceDescription& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags of this workspace.
*/ inline WorkspaceDescription& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags of this workspace.
*/ inline WorkspaceDescription& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags of this workspace.
*/ inline WorkspaceDescription& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; WorkspaceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_prometheusEndpoint; bool m_prometheusEndpointHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Map