7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/ManagedGrafanaRequest.h>
9#include <aws/grafana/model/AccountAccessType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/grafana/model/NetworkAccessConfiguration.h>
13#include <aws/grafana/model/PermissionType.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/grafana/model/VpcConfiguration.h>
16#include <aws/grafana/model/AuthenticationProviderTypes.h>
17#include <aws/grafana/model/DataSourceType.h>
18#include <aws/grafana/model/NotificationDestinationType.h>
20#include <aws/core/utils/UUID.h>
24namespace ManagedGrafana
89 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
106 inline void SetConfiguration(
const char* value) { m_configurationHasBeenSet =
true; m_configuration.assign(value); }
122 inline void SetGrafanaVersion(
const char* value) { m_grafanaVersionHasBeenSet =
true; m_grafanaVersion.assign(value); }
155 inline void SetOrganizationRoleName(
const char* value) { m_organizationRoleNameHasBeenSet =
true; m_organizationRoleName.assign(value); }
196 inline void SetStackSetName(
const char* value) { m_stackSetNameHasBeenSet =
true; m_stackSetName.assign(value); }
260 inline void SetWorkspaceDescription(
const char* value) { m_workspaceDescriptionHasBeenSet =
true; m_workspaceDescription.assign(value); }
274 inline void SetWorkspaceName(
const char* value) { m_workspaceNameHasBeenSet =
true; m_workspaceName.assign(value); }
325 inline void SetWorkspaceRoleArn(
const char* value) { m_workspaceRoleArnHasBeenSet =
true; m_workspaceRoleArn.assign(value); }
333 bool m_accountAccessTypeHasBeenSet =
false;
336 bool m_authenticationProvidersHasBeenSet =
false;
339 bool m_clientTokenHasBeenSet =
false;
342 bool m_configurationHasBeenSet =
false;
345 bool m_grafanaVersionHasBeenSet =
false;
348 bool m_networkAccessControlHasBeenSet =
false;
351 bool m_organizationRoleNameHasBeenSet =
false;
354 bool m_permissionTypeHasBeenSet =
false;
357 bool m_stackSetNameHasBeenSet =
false;
360 bool m_tagsHasBeenSet =
false;
363 bool m_vpcConfigurationHasBeenSet =
false;
366 bool m_workspaceDataSourcesHasBeenSet =
false;
369 bool m_workspaceDescriptionHasBeenSet =
false;
372 bool m_workspaceNameHasBeenSet =
false;
375 bool m_workspaceNotificationDestinationsHasBeenSet =
false;
378 bool m_workspaceOrganizationalUnitsHasBeenSet =
false;
381 bool m_workspaceRoleArnHasBeenSet =
false;
bool WorkspaceDescriptionHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateWorkspaceRequest & WithAuthenticationProviders(const Aws::Vector< AuthenticationProviderTypes > &value)
bool WorkspaceNameHasBeenSet() const
void SetNetworkAccessControl(const NetworkAccessConfiguration &value)
void SetStackSetName(Aws::String &&value)
CreateWorkspaceRequest & WithWorkspaceName(const Aws::String &value)
const AccountAccessType & GetAccountAccessType() const
CreateWorkspaceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkspaceRequest & WithWorkspaceRoleArn(const Aws::String &value)
CreateWorkspaceRequest & WithGrafanaVersion(const Aws::String &value)
void SetWorkspaceDescription(const char *value)
CreateWorkspaceRequest & WithOrganizationRoleName(Aws::String &&value)
CreateWorkspaceRequest & WithGrafanaVersion(const char *value)
void SetWorkspaceOrganizationalUnits(Aws::Vector< Aws::String > &&value)
CreateWorkspaceRequest & WithStackSetName(Aws::String &&value)
void SetConfiguration(const char *value)
void SetWorkspaceRoleArn(const Aws::String &value)
CreateWorkspaceRequest & WithNetworkAccessControl(const NetworkAccessConfiguration &value)
void SetPermissionType(const PermissionType &value)
void SetWorkspaceRoleArn(Aws::String &&value)
void SetOrganizationRoleName(const char *value)
CreateWorkspaceRequest & WithWorkspaceDescription(const Aws::String &value)
CreateWorkspaceRequest & AddWorkspaceNotificationDestinations(NotificationDestinationType &&value)
CreateWorkspaceRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetWorkspaceRoleArn() const
void SetClientToken(Aws::String &&value)
const Aws::Vector< NotificationDestinationType > & GetWorkspaceNotificationDestinations() const
void SetWorkspaceDescription(const Aws::String &value)
const Aws::String & GetWorkspaceDescription() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClientToken(const char *value)
void SetNetworkAccessControl(NetworkAccessConfiguration &&value)
const Aws::Vector< DataSourceType > & GetWorkspaceDataSources() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorkspaceRequest & WithAccountAccessType(AccountAccessType &&value)
CreateWorkspaceRequest & WithConfiguration(const Aws::String &value)
bool NetworkAccessControlHasBeenSet() const
void SetOrganizationRoleName(const Aws::String &value)
void SetWorkspaceDescription(Aws::String &&value)
void SetWorkspaceNotificationDestinations(const Aws::Vector< NotificationDestinationType > &value)
bool TagsHasBeenSet() const
CreateWorkspaceRequest & WithPermissionType(PermissionType &&value)
void SetWorkspaceDataSources(const Aws::Vector< DataSourceType > &value)
CreateWorkspaceRequest & AddWorkspaceOrganizationalUnits(Aws::String &&value)
CreateWorkspaceRequest & WithWorkspaceNotificationDestinations(const Aws::Vector< NotificationDestinationType > &value)
bool StackSetNameHasBeenSet() const
void SetVpcConfiguration(VpcConfiguration &&value)
CreateWorkspaceRequest & AddTags(const char *key, Aws::String &&value)
CreateWorkspaceRequest & AddWorkspaceOrganizationalUnits(const Aws::String &value)
const Aws::String & GetWorkspaceName() const
CreateWorkspaceRequest & WithAccountAccessType(const AccountAccessType &value)
bool OrganizationRoleNameHasBeenSet() const
CreateWorkspaceRequest & WithWorkspaceOrganizationalUnits(const Aws::Vector< Aws::String > &value)
void SetWorkspaceName(const Aws::String &value)
void SetGrafanaVersion(const Aws::String &value)
const Aws::String & GetOrganizationRoleName() const
CreateWorkspaceRequest & WithGrafanaVersion(Aws::String &&value)
CreateWorkspaceRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< AuthenticationProviderTypes > & GetAuthenticationProviders() const
const VpcConfiguration & GetVpcConfiguration() const
CreateWorkspaceRequest & WithOrganizationRoleName(const Aws::String &value)
CreateWorkspaceRequest & AddWorkspaceDataSources(const DataSourceType &value)
void SetAuthenticationProviders(Aws::Vector< AuthenticationProviderTypes > &&value)
CreateWorkspaceRequest & WithConfiguration(Aws::String &&value)
const Aws::String & GetConfiguration() const
bool VpcConfigurationHasBeenSet() const
void SetWorkspaceRoleArn(const char *value)
void SetVpcConfiguration(const VpcConfiguration &value)
virtual const char * GetServiceRequestName() const override
AWS_MANAGEDGRAFANA_API CreateWorkspaceRequest()
CreateWorkspaceRequest & WithWorkspaceOrganizationalUnits(Aws::Vector< Aws::String > &&value)
void SetAuthenticationProviders(const Aws::Vector< AuthenticationProviderTypes > &value)
void SetWorkspaceName(const char *value)
CreateWorkspaceRequest & WithWorkspaceNotificationDestinations(Aws::Vector< NotificationDestinationType > &&value)
void SetConfiguration(const Aws::String &value)
const Aws::String & GetClientToken() const
CreateWorkspaceRequest & AddAuthenticationProviders(AuthenticationProviderTypes &&value)
CreateWorkspaceRequest & WithWorkspaceDescription(Aws::String &&value)
CreateWorkspaceRequest & WithWorkspaceDataSources(Aws::Vector< DataSourceType > &&value)
CreateWorkspaceRequest & WithOrganizationRoleName(const char *value)
CreateWorkspaceRequest & WithAuthenticationProviders(Aws::Vector< AuthenticationProviderTypes > &&value)
void SetAccountAccessType(AccountAccessType &&value)
CreateWorkspaceRequest & AddWorkspaceOrganizationalUnits(const char *value)
CreateWorkspaceRequest & WithNetworkAccessControl(NetworkAccessConfiguration &&value)
const Aws::Vector< Aws::String > & GetWorkspaceOrganizationalUnits() const
bool GrafanaVersionHasBeenSet() const
void SetStackSetName(const Aws::String &value)
bool WorkspaceRoleArnHasBeenSet() const
CreateWorkspaceRequest & AddWorkspaceNotificationDestinations(const NotificationDestinationType &value)
void SetGrafanaVersion(const char *value)
CreateWorkspaceRequest & WithStackSetName(const Aws::String &value)
CreateWorkspaceRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetStackSetName() const
void SetWorkspaceOrganizationalUnits(const Aws::Vector< Aws::String > &value)
CreateWorkspaceRequest & WithVpcConfiguration(VpcConfiguration &&value)
CreateWorkspaceRequest & AddAuthenticationProviders(const AuthenticationProviderTypes &value)
CreateWorkspaceRequest & AddTags(const char *key, const char *value)
void SetWorkspaceName(Aws::String &&value)
void SetOrganizationRoleName(Aws::String &&value)
CreateWorkspaceRequest & WithClientToken(const Aws::String &value)
CreateWorkspaceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkspaceRequest & WithWorkspaceName(Aws::String &&value)
CreateWorkspaceRequest & WithWorkspaceDataSources(const Aws::Vector< DataSourceType > &value)
bool PermissionTypeHasBeenSet() const
bool WorkspaceDataSourcesHasBeenSet() const
AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override
const Aws::String & GetGrafanaVersion() const
CreateWorkspaceRequest & WithWorkspaceRoleArn(Aws::String &&value)
bool AccountAccessTypeHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetWorkspaceNotificationDestinations(Aws::Vector< NotificationDestinationType > &&value)
void SetWorkspaceDataSources(Aws::Vector< DataSourceType > &&value)
const NetworkAccessConfiguration & GetNetworkAccessControl() const
CreateWorkspaceRequest & WithClientToken(const char *value)
void SetStackSetName(const char *value)
bool AuthenticationProvidersHasBeenSet() const
void SetPermissionType(PermissionType &&value)
void SetGrafanaVersion(Aws::String &&value)
CreateWorkspaceRequest & AddWorkspaceDataSources(DataSourceType &&value)
CreateWorkspaceRequest & WithVpcConfiguration(const VpcConfiguration &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAccountAccessType(const AccountAccessType &value)
CreateWorkspaceRequest & WithWorkspaceName(const char *value)
const PermissionType & GetPermissionType() const
bool WorkspaceOrganizationalUnitsHasBeenSet() const
bool WorkspaceNotificationDestinationsHasBeenSet() const
CreateWorkspaceRequest & WithConfiguration(const char *value)
CreateWorkspaceRequest & WithWorkspaceRoleArn(const char *value)
CreateWorkspaceRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool ConfigurationHasBeenSet() const
void SetConfiguration(Aws::String &&value)
CreateWorkspaceRequest & WithWorkspaceDescription(const char *value)
CreateWorkspaceRequest & WithClientToken(Aws::String &&value)
CreateWorkspaceRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateWorkspaceRequest & WithPermissionType(const PermissionType &value)
CreateWorkspaceRequest & WithStackSetName(const char *value)
NotificationDestinationType
AuthenticationProviderTypes
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