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
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
95 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
112 inline void SetGrafanaToken(
const char* value) { m_grafanaTokenHasBeenSet =
true; m_grafanaToken.assign(value); }
126 inline void SetGrafanaVersion(
const char* value) { m_grafanaVersionHasBeenSet =
true; m_grafanaVersion.assign(value); }
140 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
180 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
230 inline WorkspaceSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
235 bool m_authenticationHasBeenSet =
false;
238 bool m_createdHasBeenSet =
false;
241 bool m_descriptionHasBeenSet =
false;
244 bool m_endpointHasBeenSet =
false;
247 bool m_grafanaTokenHasBeenSet =
false;
250 bool m_grafanaVersionHasBeenSet =
false;
253 bool m_idHasBeenSet =
false;
256 bool m_licenseTypeHasBeenSet =
false;
259 bool m_modifiedHasBeenSet =
false;
262 bool m_nameHasBeenSet =
false;
265 bool m_notificationDestinationsHasBeenSet =
false;
268 bool m_statusHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
WorkspaceSummary & WithEndpoint(const char *value)
WorkspaceSummary & WithEndpoint(const Aws::String &value)
WorkspaceSummary & WithAuthentication(AuthenticationSummary &&value)
void SetId(Aws::String &&value)
void SetId(const Aws::String &value)
bool IdHasBeenSet() const
void SetCreated(Aws::Utils::DateTime &&value)
WorkspaceSummary & WithName(const Aws::String &value)
void SetEndpoint(Aws::String &&value)
WorkspaceSummary & WithGrafanaToken(const char *value)
WorkspaceSummary & WithNotificationDestinations(const Aws::Vector< NotificationDestinationType > &value)
void SetStatus(const WorkspaceStatus &value)
bool CreatedHasBeenSet() const
bool ModifiedHasBeenSet() const
const Aws::Vector< NotificationDestinationType > & GetNotificationDestinations() const
WorkspaceSummary & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Utils::DateTime & GetCreated() const
WorkspaceSummary & WithModified(const Aws::Utils::DateTime &value)
WorkspaceSummary & WithDescription(Aws::String &&value)
void SetCreated(const Aws::Utils::DateTime &value)
WorkspaceSummary & WithGrafanaVersion(const Aws::String &value)
AWS_MANAGEDGRAFANA_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithName(const char *value)
void SetDescription(Aws::String &&value)
bool EndpointHasBeenSet() const
WorkspaceSummary & WithGrafanaVersion(const char *value)
WorkspaceSummary & WithGrafanaToken(Aws::String &&value)
WorkspaceSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
WorkspaceSummary & WithNotificationDestinations(Aws::Vector< NotificationDestinationType > &&value)
AWS_MANAGEDGRAFANA_API WorkspaceSummary()
const Aws::String & GetEndpoint() const
void SetNotificationDestinations(const Aws::Vector< NotificationDestinationType > &value)
WorkspaceSummary & WithId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetNotificationDestinations(Aws::Vector< NotificationDestinationType > &&value)
WorkspaceSummary & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetModified(Aws::Utils::DateTime &&value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceSummary & WithCreated(Aws::Utils::DateTime &&value)
WorkspaceSummary & WithEndpoint(Aws::String &&value)
WorkspaceSummary & AddNotificationDestinations(const NotificationDestinationType &value)
WorkspaceSummary & WithStatus(WorkspaceStatus &&value)
bool NotificationDestinationsHasBeenSet() const
WorkspaceSummary & WithId(const char *value)
void SetGrafanaVersion(const Aws::String &value)
void SetAuthentication(AuthenticationSummary &&value)
WorkspaceSummary & WithId(Aws::String &&value)
bool StatusHasBeenSet() const
AWS_MANAGEDGRAFANA_API WorkspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithDescription(const Aws::String &value)
bool TagsHasBeenSet() const
WorkspaceSummary & WithAuthentication(const AuthenticationSummary &value)
WorkspaceSummary & WithDescription(const char *value)
void SetModified(const Aws::Utils::DateTime &value)
WorkspaceSummary & WithGrafanaToken(const Aws::String &value)
void SetGrafanaToken(const char *value)
const Aws::Utils::DateTime & GetModified() const
const Aws::String & GetGrafanaToken() const
void SetEndpoint(const char *value)
WorkspaceSummary & WithModified(Aws::Utils::DateTime &&value)
void SetDescription(const char *value)
WorkspaceSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkspaceSummary & AddTags(const char *key, Aws::String &&value)
void SetStatus(WorkspaceStatus &&value)
void SetId(const char *value)
void SetLicenseType(LicenseType &&value)
WorkspaceSummary & AddNotificationDestinations(NotificationDestinationType &&value)
bool AuthenticationHasBeenSet() const
const AuthenticationSummary & GetAuthentication() const
WorkspaceSummary & AddTags(Aws::String &&key, const Aws::String &value)
WorkspaceSummary & WithStatus(const WorkspaceStatus &value)
void SetName(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetId() const
WorkspaceSummary & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkspaceSummary & WithCreated(const Aws::Utils::DateTime &value)
WorkspaceSummary & WithLicenseType(const LicenseType &value)
WorkspaceSummary & WithGrafanaVersion(Aws::String &&value)
void SetGrafanaToken(Aws::String &&value)
WorkspaceSummary & WithLicenseType(LicenseType &&value)
void SetName(Aws::String &&value)
WorkspaceSummary & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetGrafanaVersion() const
void SetGrafanaVersion(const char *value)
bool GrafanaTokenHasBeenSet() const
const WorkspaceStatus & GetStatus() const
WorkspaceSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetLicenseType(const LicenseType &value)
bool GrafanaVersionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LicenseTypeHasBeenSet() const
const LicenseType & GetLicenseType() const
void SetGrafanaToken(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetGrafanaVersion(Aws::String &&value)
bool NameHasBeenSet() const
void SetAuthentication(const AuthenticationSummary &value)
const Aws::String & GetDescription() const
void SetEndpoint(const Aws::String &value)
void SetDescription(const Aws::String &value)
WorkspaceSummary & AddTags(Aws::String &&key, Aws::String &&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