7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/WorkspaceStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace PrometheusService {
45 template <
typename WorkspaceIdT = Aws::String>
47 m_workspaceIdHasBeenSet =
true;
48 m_workspaceId = std::forward<WorkspaceIdT>(value);
50 template <
typename WorkspaceIdT = Aws::String>
64 template <
typename AliasT = Aws::String>
66 m_aliasHasBeenSet =
true;
67 m_alias = std::forward<AliasT>(value);
69 template <
typename AliasT = Aws::String>
71 SetAlias(std::forward<AliasT>(value));
83 template <
typename ArnT = Aws::String>
85 m_arnHasBeenSet =
true;
86 m_arn = std::forward<ArnT>(value);
88 template <
typename ArnT = Aws::String>
90 SetArn(std::forward<ArnT>(value));
101 template <
typename StatusT = WorkspaceStatus>
103 m_statusHasBeenSet =
true;
104 m_status = std::forward<StatusT>(value);
106 template <
typename StatusT = WorkspaceStatus>
120 template <
typename PrometheusEndpo
intT = Aws::String>
122 m_prometheusEndpointHasBeenSet =
true;
123 m_prometheusEndpoint = std::forward<PrometheusEndpointT>(value);
125 template <
typename PrometheusEndpo
intT = Aws::String>
138 template <
typename CreatedAtT = Aws::Utils::DateTime>
140 m_createdAtHasBeenSet =
true;
141 m_createdAt = std::forward<CreatedAtT>(value);
143 template <
typename CreatedAtT = Aws::Utils::DateTime>
156 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 m_tagsHasBeenSet =
true;
159 m_tags = std::forward<TagsT>(value);
161 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 SetTags(std::forward<TagsT>(value));
166 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
168 m_tagsHasBeenSet =
true;
169 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
181 template <
typename KmsKeyArnT = Aws::String>
183 m_kmsKeyArnHasBeenSet =
true;
184 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
186 template <
typename KmsKeyArnT = Aws::String>
208 bool m_workspaceIdHasBeenSet =
false;
209 bool m_aliasHasBeenSet =
false;
210 bool m_arnHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
212 bool m_prometheusEndpointHasBeenSet =
false;
213 bool m_createdAtHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
215 bool m_kmsKeyArnHasBeenSet =
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