7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/AuthenticationSummary.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/grafana/model/LicenseType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/grafana/model/WorkspaceStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/grafana/model/NotificationDestinationType.h>
28namespace ManagedGrafana
55 template<
typename AuthenticationT = AuthenticationSummary>
56 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet =
true; m_authentication = std::forward<AuthenticationT>(value); }
57 template<
typename AuthenticationT = AuthenticationSummary>
67 template<
typename CreatedT = Aws::Utils::DateTime>
68 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
69 template<
typename CreatedT = Aws::Utils::DateTime>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
91 template<
typename Endpo
intT = Aws::String>
92 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
93 template<
typename Endpo
intT = Aws::String>
106 template<
typename GrafanaTokenT = Aws::String>
107 void SetGrafanaToken(GrafanaTokenT&& value) { m_grafanaTokenHasBeenSet =
true; m_grafanaToken = std::forward<GrafanaTokenT>(value); }
108 template<
typename GrafanaTokenT = Aws::String>
118 template<
typename GrafanaVersionT = Aws::String>
119 void SetGrafanaVersion(GrafanaVersionT&& value) { m_grafanaVersionHasBeenSet =
true; m_grafanaVersion = std::forward<GrafanaVersionT>(value); }
120 template<
typename GrafanaVersionT = Aws::String>
130 template<
typename IdT = Aws::String>
131 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
132 template<
typename IdT = Aws::String>
154 template<
typename ModifiedT = Aws::Utils::DateTime>
155 void SetModified(ModifiedT&& value) { m_modifiedHasBeenSet =
true; m_modified = std::forward<ModifiedT>(value); }
156 template<
typename ModifiedT = Aws::Utils::DateTime>
166 template<
typename NameT = Aws::String>
167 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
168 template<
typename NameT = Aws::String>
180 template<
typename NotificationDestinationsT = Aws::Vector<NotificationDestinationType>>
181 void SetNotificationDestinations(NotificationDestinationsT&& value) { m_notificationDestinationsHasBeenSet =
true; m_notificationDestinations = std::forward<NotificationDestinationsT>(value); }
182 template<
typename NotificationDestinationsT = Aws::Vector<NotificationDestinationType>>
203 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
205 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
209 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
215 bool m_authenticationHasBeenSet =
false;
218 bool m_createdHasBeenSet =
false;
221 bool m_descriptionHasBeenSet =
false;
224 bool m_endpointHasBeenSet =
false;
227 bool m_grafanaTokenHasBeenSet =
false;
230 bool m_grafanaVersionHasBeenSet =
false;
233 bool m_idHasBeenSet =
false;
236 bool m_licenseTypeHasBeenSet =
false;
239 bool m_modifiedHasBeenSet =
false;
242 bool m_nameHasBeenSet =
false;
245 bool m_notificationDestinationsHasBeenSet =
false;
248 bool m_statusHasBeenSet =
false;
251 bool m_tagsHasBeenSet =
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