7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/grafana/ManagedGrafana_EXPORTS.h>
12#include <aws/grafana/model/AuthenticationSummary.h>
13#include <aws/grafana/model/LicenseType.h>
14#include <aws/grafana/model/NotificationDestinationType.h>
15#include <aws/grafana/model/WorkspaceStatus.h>
26namespace ManagedGrafana {
48 template <
typename CreatedT = Aws::Utils::DateTime>
50 m_createdHasBeenSet =
true;
51 m_created = std::forward<CreatedT>(value);
53 template <
typename CreatedT = Aws::Utils::DateTime>
66 template <
typename DescriptionT = Aws::String>
68 m_descriptionHasBeenSet =
true;
69 m_description = std::forward<DescriptionT>(value);
71 template <
typename DescriptionT = Aws::String>
84 template <
typename Endpo
intT = Aws::String>
86 m_endpointHasBeenSet =
true;
87 m_endpoint = std::forward<EndpointT>(value);
89 template <
typename Endpo
intT = Aws::String>
102 template <
typename GrafanaVersionT = Aws::String>
104 m_grafanaVersionHasBeenSet =
true;
105 m_grafanaVersion = std::forward<GrafanaVersionT>(value);
107 template <
typename GrafanaVersionT = Aws::String>
120 template <
typename IdT = Aws::String>
122 m_idHasBeenSet =
true;
123 m_id = std::forward<IdT>(value);
125 template <
typename IdT = Aws::String>
127 SetId(std::forward<IdT>(value));
138 template <
typename ModifiedT = Aws::Utils::DateTime>
140 m_modifiedHasBeenSet =
true;
141 m_modified = std::forward<ModifiedT>(value);
143 template <
typename ModifiedT = Aws::Utils::DateTime>
156 template <
typename NameT = Aws::String>
158 m_nameHasBeenSet =
true;
159 m_name = std::forward<NameT>(value);
161 template <
typename NameT = Aws::String>
163 SetName(std::forward<NameT>(value));
176 template <
typename NotificationDestinationsT = Aws::Vector<NotificationDestinationType>>
178 m_notificationDestinationsHasBeenSet =
true;
179 m_notificationDestinations = std::forward<NotificationDestinationsT>(value);
181 template <
typename NotificationDestinationsT = Aws::Vector<NotificationDestinationType>>
187 m_notificationDestinationsHasBeenSet =
true;
188 m_notificationDestinations.push_back(value);
200 m_statusHasBeenSet =
true;
216 template <
typename AuthenticationT = AuthenticationSummary>
218 m_authenticationHasBeenSet =
true;
219 m_authentication = std::forward<AuthenticationT>(value);
221 template <
typename AuthenticationT = AuthenticationSummary>
234 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
236 m_tagsHasBeenSet =
true;
237 m_tags = std::forward<TagsT>(value);
239 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 SetTags(std::forward<TagsT>(value));
244 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
246 m_tagsHasBeenSet =
true;
247 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
261 m_licenseTypeHasBeenSet =
true;
262 m_licenseType = value;
279 template <
typename GrafanaTokenT = Aws::String>
281 m_grafanaTokenHasBeenSet =
true;
282 m_grafanaToken = std::forward<GrafanaTokenT>(value);
284 template <
typename GrafanaTokenT = Aws::String>
309 AuthenticationSummary m_authentication;
316 bool m_createdHasBeenSet =
false;
317 bool m_descriptionHasBeenSet =
false;
318 bool m_endpointHasBeenSet =
false;
319 bool m_grafanaVersionHasBeenSet =
false;
320 bool m_idHasBeenSet =
false;
321 bool m_modifiedHasBeenSet =
false;
322 bool m_nameHasBeenSet =
false;
323 bool m_notificationDestinationsHasBeenSet =
false;
324 bool m_statusHasBeenSet =
false;
325 bool m_authenticationHasBeenSet =
false;
326 bool m_tagsHasBeenSet =
false;
327 bool m_licenseTypeHasBeenSet =
false;
328 bool m_grafanaTokenHasBeenSet =
false;
WorkspaceSummary & AddNotificationDestinations(NotificationDestinationType value)
void SetAuthentication(AuthenticationT &&value)
WorkspaceSummary & WithName(NameT &&value)
void SetCreated(CreatedT &&value)
void SetGrafanaVersion(GrafanaVersionT &&value)
bool IdHasBeenSet() const
WorkspaceSummary & WithModified(ModifiedT &&value)
WorkspaceSummary & WithGrafanaToken(GrafanaTokenT &&value)
bool CreatedHasBeenSet() const
bool ModifiedHasBeenSet() const
const Aws::Vector< NotificationDestinationType > & GetNotificationDestinations() const
void SetGrafanaToken(GrafanaTokenT &&value)
const Aws::Utils::DateTime & GetCreated() const
LicenseType GetLicenseType() const
void SetStatus(WorkspaceStatus value)
WorkspaceSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MANAGEDGRAFANA_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue)
bool EndpointHasBeenSet() const
const Aws::String & GetEndpoint() const
WorkspaceSummary & WithNotificationDestinations(NotificationDestinationsT &&value)
void SetNotificationDestinations(NotificationDestinationsT &&value)
AWS_MANAGEDGRAFANA_API WorkspaceSummary()=default
void SetModified(ModifiedT &&value)
WorkspaceSummary & WithEndpoint(EndpointT &&value)
const Aws::String & GetName() const
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
bool NotificationDestinationsHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool StatusHasBeenSet() const
AWS_MANAGEDGRAFANA_API WorkspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetModified() const
const Aws::String & GetGrafanaToken() const
WorkspaceSummary & WithGrafanaVersion(GrafanaVersionT &&value)
WorkspaceSummary & WithLicenseType(LicenseType value)
bool AuthenticationHasBeenSet() const
const AuthenticationSummary & GetAuthentication() const
void SetEndpoint(EndpointT &&value)
void SetName(NameT &&value)
const Aws::String & GetId() const
WorkspaceStatus GetStatus() const
WorkspaceSummary & WithId(IdT &&value)
const Aws::String & GetGrafanaVersion() const
bool GrafanaTokenHasBeenSet() const
WorkspaceSummary & WithAuthentication(AuthenticationT &&value)
WorkspaceSummary & WithCreated(CreatedT &&value)
bool GrafanaVersionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LicenseTypeHasBeenSet() const
WorkspaceSummary & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
WorkspaceSummary & WithTags(TagsT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
WorkspaceSummary & WithStatus(WorkspaceStatus value)
void SetLicenseType(LicenseType value)
NotificationDestinationType
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue