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
51 template<
typename AliasT = Aws::String>
52 void SetAlias(AliasT&& value) { m_aliasHasBeenSet =
true; m_alias = std::forward<AliasT>(value); }
53 template<
typename AliasT = Aws::String>
64 template<
typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
66 template<
typename ArnT = Aws::String>
76 template<
typename CreatedAtT = Aws::Utils::DateTime>
77 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
78 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 template<
typename KmsKeyArnT = Aws::String>
90 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
91 template<
typename KmsKeyArnT = Aws::String>
102 template<
typename PrometheusEndpo
intT = Aws::String>
103 void SetPrometheusEndpoint(PrometheusEndpointT&& value) { m_prometheusEndpointHasBeenSet =
true; m_prometheusEndpoint = std::forward<PrometheusEndpointT>(value); }
104 template<
typename PrometheusEndpo
intT = Aws::String>
114 template<
typename StatusT = WorkspaceStatus>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
116 template<
typename StatusT = WorkspaceStatus>
126 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
128 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
132 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
143 template<
typename WorkspaceIdT = Aws::String>
144 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
145 template<
typename WorkspaceIdT = Aws::String>
151 bool m_aliasHasBeenSet =
false;
154 bool m_arnHasBeenSet =
false;
157 bool m_createdAtHasBeenSet =
false;
160 bool m_kmsKeyArnHasBeenSet =
false;
163 bool m_prometheusEndpointHasBeenSet =
false;
165 WorkspaceStatus m_status;
166 bool m_statusHasBeenSet =
false;
169 bool m_tagsHasBeenSet =
false;
172 bool m_workspaceIdHasBeenSet =
false;
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool AliasHasBeenSet() const
AWS_PROMETHEUSSERVICE_API WorkspaceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceDescription & WithStatus(StatusT &&value)
WorkspaceDescription & WithKmsKeyArn(KmsKeyArnT &&value)
WorkspaceDescription & WithWorkspaceId(WorkspaceIdT &&value)
void SetPrometheusEndpoint(PrometheusEndpointT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetPrometheusEndpoint() const
WorkspaceDescription & WithCreatedAt(CreatedAtT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetAlias() const
WorkspaceDescription & WithArn(ArnT &&value)
WorkspaceDescription & WithPrometheusEndpoint(PrometheusEndpointT &&value)
const WorkspaceStatus & GetStatus() const
void SetStatus(StatusT &&value)
void SetAlias(AliasT &&value)
AWS_PROMETHEUSSERVICE_API WorkspaceDescription()=default
void SetTags(TagsT &&value)
WorkspaceDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetWorkspaceId(WorkspaceIdT &&value)
const Aws::String & GetKmsKeyArn() const
WorkspaceDescription & WithAlias(AliasT &&value)
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool WorkspaceIdHasBeenSet() const
bool KmsKeyArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceDescription & WithTags(TagsT &&value)
bool StatusHasBeenSet() const
bool PrometheusEndpointHasBeenSet() const
const Aws::String & GetWorkspaceId() const
AWS_PROMETHEUSSERVICE_API WorkspaceDescription(Aws::Utils::Json::JsonView jsonValue)
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