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/AccountAccessType.h>
13#include <aws/grafana/model/AuthenticationSummary.h>
14#include <aws/grafana/model/DataSourceType.h>
15#include <aws/grafana/model/IPAddressType.h>
16#include <aws/grafana/model/LicenseType.h>
17#include <aws/grafana/model/NetworkAccessConfiguration.h>
18#include <aws/grafana/model/NotificationDestinationType.h>
19#include <aws/grafana/model/PermissionType.h>
20#include <aws/grafana/model/VpcConfiguration.h>
21#include <aws/grafana/model/WorkspaceStatus.h>
32namespace ManagedGrafana {
59 m_accountAccessTypeHasBeenSet =
true;
60 m_accountAccessType = value;
74 template <
typename CreatedT = Aws::Utils::DateTime>
76 m_createdHasBeenSet =
true;
77 m_created = std::forward<CreatedT>(value);
79 template <
typename CreatedT = Aws::Utils::DateTime>
96 template <
typename DataSourcesT = Aws::Vector<DataSourceType>>
98 m_dataSourcesHasBeenSet =
true;
99 m_dataSources = std::forward<DataSourcesT>(value);
101 template <
typename DataSourcesT = Aws::Vector<DataSourceType>>
107 m_dataSourcesHasBeenSet =
true;
108 m_dataSources.push_back(value);
119 template <
typename DescriptionT = Aws::String>
121 m_descriptionHasBeenSet =
true;
122 m_description = std::forward<DescriptionT>(value);
124 template <
typename DescriptionT = Aws::String>
138 template <
typename Endpo
intT = Aws::String>
140 m_endpointHasBeenSet =
true;
141 m_endpoint = std::forward<EndpointT>(value);
143 template <
typename Endpo
intT = Aws::String>
156 template <
typename GrafanaVersionT = Aws::String>
158 m_grafanaVersionHasBeenSet =
true;
159 m_grafanaVersion = std::forward<GrafanaVersionT>(value);
161 template <
typename GrafanaVersionT = Aws::String>
174 template <
typename IdT = Aws::String>
176 m_idHasBeenSet =
true;
177 m_id = std::forward<IdT>(value);
179 template <
typename IdT = Aws::String>
181 SetId(std::forward<IdT>(value));
192 template <
typename ModifiedT = Aws::Utils::DateTime>
194 m_modifiedHasBeenSet =
true;
195 m_modified = std::forward<ModifiedT>(value);
197 template <
typename ModifiedT = Aws::Utils::DateTime>
210 template <
typename NameT = Aws::String>
212 m_nameHasBeenSet =
true;
213 m_name = std::forward<NameT>(value);
215 template <
typename NameT = Aws::String>
217 SetName(std::forward<NameT>(value));
229 template <
typename OrganizationRoleNameT = Aws::String>
231 m_organizationRoleNameHasBeenSet =
true;
232 m_organizationRoleName = std::forward<OrganizationRoleNameT>(value);
234 template <
typename OrganizationRoleNameT = Aws::String>
249 template <
typename NotificationDestinationsT = Aws::Vector<NotificationDestinationType>>
251 m_notificationDestinationsHasBeenSet =
true;
252 m_notificationDestinations = std::forward<NotificationDestinationsT>(value);
254 template <
typename NotificationDestinationsT = Aws::Vector<NotificationDestinationType>>
260 m_notificationDestinationsHasBeenSet =
true;
261 m_notificationDestinations.push_back(value);
274 template <
typename OrganizationalUnitsT = Aws::Vector<Aws::String>>
276 m_organizationalUnitsHasBeenSet =
true;
277 m_organizationalUnits = std::forward<OrganizationalUnitsT>(value);
279 template <
typename OrganizationalUnitsT = Aws::Vector<Aws::String>>
284 template <
typename OrganizationalUnitsT = Aws::String>
286 m_organizationalUnitsHasBeenSet =
true;
287 m_organizationalUnits.emplace_back(std::forward<OrganizationalUnitsT>(value));
316 m_permissionTypeHasBeenSet =
true;
317 m_permissionType = value;
332 template <
typename StackSetNameT = Aws::String>
334 m_stackSetNameHasBeenSet =
true;
335 m_stackSetName = std::forward<StackSetNameT>(value);
337 template <
typename StackSetNameT = Aws::String>
351 m_statusHasBeenSet =
true;
367 template <
typename WorkspaceRoleArnT = Aws::String>
369 m_workspaceRoleArnHasBeenSet =
true;
370 m_workspaceRoleArn = std::forward<WorkspaceRoleArnT>(value);
372 template <
typename WorkspaceRoleArnT = Aws::String>
388 m_licenseTypeHasBeenSet =
true;
389 m_licenseType = value;
406 m_freeTrialConsumedHasBeenSet =
true;
407 m_freeTrialConsumed = value;
425 template <
typename LicenseExpirationT = Aws::Utils::DateTime>
427 m_licenseExpirationHasBeenSet =
true;
428 m_licenseExpiration = std::forward<LicenseExpirationT>(value);
430 template <
typename LicenseExpirationT = Aws::Utils::DateTime>
446 template <
typename FreeTrialExpirationT = Aws::Utils::DateTime>
448 m_freeTrialExpirationHasBeenSet =
true;
449 m_freeTrialExpiration = std::forward<FreeTrialExpirationT>(value);
451 template <
typename FreeTrialExpirationT = Aws::Utils::DateTime>
465 template <
typename AuthenticationT = AuthenticationSummary>
467 m_authenticationHasBeenSet =
true;
468 m_authentication = std::forward<AuthenticationT>(value);
470 template <
typename AuthenticationT = AuthenticationSummary>
483 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
485 m_tagsHasBeenSet =
true;
486 m_tags = std::forward<TagsT>(value);
488 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
490 SetTags(std::forward<TagsT>(value));
493 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
495 m_tagsHasBeenSet =
true;
496 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
508 template <
typename VpcConfigurationT = VpcConfiguration>
510 m_vpcConfigurationHasBeenSet =
true;
511 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
513 template <
typename VpcConfigurationT = VpcConfiguration>
526 template <
typename NetworkAccessControlT = NetworkAccessConfiguration>
528 m_networkAccessControlHasBeenSet =
true;
529 m_networkAccessControl = std::forward<NetworkAccessControlT>(value);
531 template <
typename NetworkAccessControlT = NetworkAccessConfiguration>
547 template <
typename GrafanaTokenT = Aws::String>
549 m_grafanaTokenHasBeenSet =
true;
550 m_grafanaToken = std::forward<GrafanaTokenT>(value);
552 template <
typename GrafanaTokenT = Aws::String>
567 m_ipAddressTypeHasBeenSet =
true;
568 m_ipAddressType = value;
583 template <
typename KmsKeyIdT = Aws::String>
585 m_kmsKeyIdHasBeenSet =
true;
586 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
588 template <
typename KmsKeyIdT = Aws::String>
602 template <
typename DegradedWorkspaceReasonT = Aws::String>
604 m_degradedWorkspaceReasonHasBeenSet =
true;
605 m_degradedWorkspaceReason = std::forward<DegradedWorkspaceReasonT>(value);
607 template <
typename DegradedWorkspaceReasonT = Aws::String>
648 bool m_freeTrialConsumed{
false};
654 AuthenticationSummary m_authentication;
658 VpcConfiguration m_vpcConfiguration;
660 NetworkAccessConfiguration m_networkAccessControl;
669 bool m_accountAccessTypeHasBeenSet =
false;
670 bool m_createdHasBeenSet =
false;
671 bool m_dataSourcesHasBeenSet =
false;
672 bool m_descriptionHasBeenSet =
false;
673 bool m_endpointHasBeenSet =
false;
674 bool m_grafanaVersionHasBeenSet =
false;
675 bool m_idHasBeenSet =
false;
676 bool m_modifiedHasBeenSet =
false;
677 bool m_nameHasBeenSet =
false;
678 bool m_organizationRoleNameHasBeenSet =
false;
679 bool m_notificationDestinationsHasBeenSet =
false;
680 bool m_organizationalUnitsHasBeenSet =
false;
681 bool m_permissionTypeHasBeenSet =
false;
682 bool m_stackSetNameHasBeenSet =
false;
683 bool m_statusHasBeenSet =
false;
684 bool m_workspaceRoleArnHasBeenSet =
false;
685 bool m_licenseTypeHasBeenSet =
false;
686 bool m_freeTrialConsumedHasBeenSet =
false;
687 bool m_licenseExpirationHasBeenSet =
false;
688 bool m_freeTrialExpirationHasBeenSet =
false;
689 bool m_authenticationHasBeenSet =
false;
690 bool m_tagsHasBeenSet =
false;
691 bool m_vpcConfigurationHasBeenSet =
false;
692 bool m_networkAccessControlHasBeenSet =
false;
693 bool m_grafanaTokenHasBeenSet =
false;
694 bool m_ipAddressTypeHasBeenSet =
false;
695 bool m_kmsKeyIdHasBeenSet =
false;
696 bool m_degradedWorkspaceReasonHasBeenSet =
false;
void SetCreated(CreatedT &&value)
WorkspaceDescription & WithGrafanaToken(GrafanaTokenT &&value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkAccessControl(NetworkAccessControlT &&value)
const Aws::String & GetDegradedWorkspaceReason() const
WorkspaceDescription & AddNotificationDestinations(NotificationDestinationType value)
void SetWorkspaceRoleArn(WorkspaceRoleArnT &&value)
WorkspaceDescription & WithNotificationDestinations(NotificationDestinationsT &&value)
bool OrganizationRoleNameHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
bool GrafanaVersionHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
void SetNotificationDestinations(NotificationDestinationsT &&value)
WorkspaceDescription & AddOrganizationalUnits(OrganizationalUnitsT &&value)
bool AccountAccessTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetFreeTrialExpiration(FreeTrialExpirationT &&value)
bool DegradedWorkspaceReasonHasBeenSet() const
WorkspaceDescription & WithTags(TagsT &&value)
const Aws::String & GetEndpoint() const
WorkspaceDescription & WithOrganizationalUnits(OrganizationalUnitsT &&value)
bool NetworkAccessControlHasBeenSet() const
bool WorkspaceRoleArnHasBeenSet() const
void SetOrganizationalUnits(OrganizationalUnitsT &&value)
bool DataSourcesHasBeenSet() const
WorkspaceDescription & WithFreeTrialConsumed(bool value)
WorkspaceDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
WorkspaceDescription & WithStatus(WorkspaceStatus value)
bool CreatedHasBeenSet() const
WorkspaceDescription & WithCreated(CreatedT &&value)
bool NotificationDestinationsHasBeenSet() const
const Aws::Utils::DateTime & GetModified() const
void SetGrafanaToken(GrafanaTokenT &&value)
bool AuthenticationHasBeenSet() const
const Aws::String & GetGrafanaVersion() const
bool EndpointHasBeenSet() const
AWS_MANAGEDGRAFANA_API WorkspaceDescription()=default
bool NameHasBeenSet() const
WorkspaceDescription & WithLicenseExpiration(LicenseExpirationT &&value)
void SetAccountAccessType(AccountAccessType value)
WorkspaceDescription & WithFreeTrialExpiration(FreeTrialExpirationT &&value)
const Aws::String & GetId() const
bool GrafanaTokenHasBeenSet() const
bool FreeTrialConsumedHasBeenSet() const
const Aws::String & GetGrafanaToken() const
void SetDescription(DescriptionT &&value)
AWS_MANAGEDGRAFANA_API WorkspaceDescription(Aws::Utils::Json::JsonView jsonValue)
bool FreeTrialExpirationHasBeenSet() const
WorkspaceDescription & WithAuthentication(AuthenticationT &&value)
WorkspaceDescription & WithDegradedWorkspaceReason(DegradedWorkspaceReasonT &&value)
bool GetFreeTrialConsumed() const
bool LicenseTypeHasBeenSet() const
WorkspaceDescription & WithStackSetName(StackSetNameT &&value)
bool OrganizationalUnitsHasBeenSet() const
bool PermissionTypeHasBeenSet() const
void SetStatus(WorkspaceStatus value)
AWS_MANAGEDGRAFANA_API WorkspaceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< NotificationDestinationType > & GetNotificationDestinations() const
const Aws::Vector< DataSourceType > & GetDataSources() const
WorkspaceDescription & WithPermissionType(PermissionType value)
void SetGrafanaVersion(GrafanaVersionT &&value)
bool IpAddressTypeHasBeenSet() const
const Aws::Utils::DateTime & GetFreeTrialExpiration() const
WorkspaceDescription & WithKmsKeyId(KmsKeyIdT &&value)
WorkspaceDescription & WithDescription(DescriptionT &&value)
void SetOrganizationRoleName(OrganizationRoleNameT &&value)
WorkspaceDescription & WithEndpoint(EndpointT &&value)
const Aws::String & GetDescription() const
PermissionType GetPermissionType() const
WorkspaceDescription & WithName(NameT &&value)
const NetworkAccessConfiguration & GetNetworkAccessControl() const
bool StatusHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetKmsKeyId() const
AccountAccessType GetAccountAccessType() const
WorkspaceDescription & WithModified(ModifiedT &&value)
bool DescriptionHasBeenSet() const
void SetIpAddressType(IPAddressType value)
void SetName(NameT &&value)
const Aws::String & GetName() const
void SetFreeTrialConsumed(bool value)
const Aws::Utils::DateTime & GetLicenseExpiration() const
LicenseType GetLicenseType() const
WorkspaceDescription & WithLicenseType(LicenseType value)
WorkspaceDescription & AddDataSources(DataSourceType value)
WorkspaceDescription & WithGrafanaVersion(GrafanaVersionT &&value)
bool ModifiedHasBeenSet() const
IPAddressType GetIpAddressType() const
const Aws::String & GetStackSetName() const
void SetVpcConfiguration(VpcConfigurationT &&value)
bool LicenseExpirationHasBeenSet() const
const AuthenticationSummary & GetAuthentication() const
WorkspaceDescription & WithVpcConfiguration(VpcConfigurationT &&value)
void SetStackSetName(StackSetNameT &&value)
void SetModified(ModifiedT &&value)
const Aws::Vector< Aws::String > & GetOrganizationalUnits() const
WorkspaceDescription & WithIpAddressType(IPAddressType value)
bool TagsHasBeenSet() const
bool VpcConfigurationHasBeenSet() const
void SetLicenseExpiration(LicenseExpirationT &&value)
const Aws::Utils::DateTime & GetCreated() const
bool IdHasBeenSet() const
WorkspaceDescription & WithDataSources(DataSourcesT &&value)
WorkspaceDescription & WithId(IdT &&value)
bool StackSetNameHasBeenSet() const
WorkspaceStatus GetStatus() const
void SetDegradedWorkspaceReason(DegradedWorkspaceReasonT &&value)
WorkspaceDescription & WithAccountAccessType(AccountAccessType value)
void SetPermissionType(PermissionType value)
const Aws::String & GetOrganizationRoleName() const
void SetDataSources(DataSourcesT &&value)
void SetEndpoint(EndpointT &&value)
const VpcConfiguration & GetVpcConfiguration() const
WorkspaceDescription & WithOrganizationRoleName(OrganizationRoleNameT &&value)
void SetAuthentication(AuthenticationT &&value)
const Aws::String & GetWorkspaceRoleArn() const
void SetLicenseType(LicenseType value)
WorkspaceDescription & WithWorkspaceRoleArn(WorkspaceRoleArnT &&value)
WorkspaceDescription & WithNetworkAccessControl(NetworkAccessControlT &&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