AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkspaceDescription.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/AccountAccessType.h>
9#include <aws/grafana/model/AuthenticationSummary.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/grafana/model/LicenseType.h>
14#include <aws/grafana/model/NetworkAccessConfiguration.h>
15#include <aws/grafana/model/PermissionType.h>
16#include <aws/grafana/model/WorkspaceStatus.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/grafana/model/VpcConfiguration.h>
19#include <aws/grafana/model/DataSourceType.h>
20#include <aws/grafana/model/NotificationDestinationType.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace ManagedGrafana
34{
35namespace Model
36{
37
45 {
46 public:
47 AWS_MANAGEDGRAFANA_API WorkspaceDescription();
48 AWS_MANAGEDGRAFANA_API WorkspaceDescription(Aws::Utils::Json::JsonView jsonValue);
49 AWS_MANAGEDGRAFANA_API WorkspaceDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
61 inline const AccountAccessType& GetAccountAccessType() const{ return m_accountAccessType; }
62 inline bool AccountAccessTypeHasBeenSet() const { return m_accountAccessTypeHasBeenSet; }
63 inline void SetAccountAccessType(const AccountAccessType& value) { m_accountAccessTypeHasBeenSet = true; m_accountAccessType = value; }
64 inline void SetAccountAccessType(AccountAccessType&& value) { m_accountAccessTypeHasBeenSet = true; m_accountAccessType = std::move(value); }
66 inline WorkspaceDescription& WithAccountAccessType(AccountAccessType&& value) { SetAccountAccessType(std::move(value)); return *this;}
68
70
74 inline const AuthenticationSummary& GetAuthentication() const{ return m_authentication; }
75 inline bool AuthenticationHasBeenSet() const { return m_authenticationHasBeenSet; }
76 inline void SetAuthentication(const AuthenticationSummary& value) { m_authenticationHasBeenSet = true; m_authentication = value; }
77 inline void SetAuthentication(AuthenticationSummary&& value) { m_authenticationHasBeenSet = true; m_authentication = std::move(value); }
79 inline WorkspaceDescription& WithAuthentication(AuthenticationSummary&& value) { SetAuthentication(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
87 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
88 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
89 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
90 inline WorkspaceDescription& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
91 inline WorkspaceDescription& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
93
95
102 inline const Aws::Vector<DataSourceType>& GetDataSources() const{ return m_dataSources; }
103 inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
104 inline void SetDataSources(const Aws::Vector<DataSourceType>& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; }
105 inline void SetDataSources(Aws::Vector<DataSourceType>&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); }
107 inline WorkspaceDescription& WithDataSources(Aws::Vector<DataSourceType>&& value) { SetDataSources(std::move(value)); return *this;}
108 inline WorkspaceDescription& AddDataSources(const DataSourceType& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(value); return *this; }
109 inline WorkspaceDescription& AddDataSources(DataSourceType&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.push_back(std::move(value)); return *this; }
111
113
116 inline const Aws::String& GetDescription() const{ return m_description; }
117 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
118 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
119 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
120 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
121 inline WorkspaceDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
122 inline WorkspaceDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
123 inline WorkspaceDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
125
127
131 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
132 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
133 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
134 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
135 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
136 inline WorkspaceDescription& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
137 inline WorkspaceDescription& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
138 inline WorkspaceDescription& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
140
142
147 inline bool GetFreeTrialConsumed() const{ return m_freeTrialConsumed; }
148 inline bool FreeTrialConsumedHasBeenSet() const { return m_freeTrialConsumedHasBeenSet; }
149 inline void SetFreeTrialConsumed(bool value) { m_freeTrialConsumedHasBeenSet = true; m_freeTrialConsumed = value; }
150 inline WorkspaceDescription& WithFreeTrialConsumed(bool value) { SetFreeTrialConsumed(value); return *this;}
152
154
160 inline const Aws::Utils::DateTime& GetFreeTrialExpiration() const{ return m_freeTrialExpiration; }
161 inline bool FreeTrialExpirationHasBeenSet() const { return m_freeTrialExpirationHasBeenSet; }
162 inline void SetFreeTrialExpiration(const Aws::Utils::DateTime& value) { m_freeTrialExpirationHasBeenSet = true; m_freeTrialExpiration = value; }
163 inline void SetFreeTrialExpiration(Aws::Utils::DateTime&& value) { m_freeTrialExpirationHasBeenSet = true; m_freeTrialExpiration = std::move(value); }
167
169
175 inline const Aws::String& GetGrafanaToken() const{ return m_grafanaToken; }
176 inline bool GrafanaTokenHasBeenSet() const { return m_grafanaTokenHasBeenSet; }
177 inline void SetGrafanaToken(const Aws::String& value) { m_grafanaTokenHasBeenSet = true; m_grafanaToken = value; }
178 inline void SetGrafanaToken(Aws::String&& value) { m_grafanaTokenHasBeenSet = true; m_grafanaToken = std::move(value); }
179 inline void SetGrafanaToken(const char* value) { m_grafanaTokenHasBeenSet = true; m_grafanaToken.assign(value); }
180 inline WorkspaceDescription& WithGrafanaToken(const Aws::String& value) { SetGrafanaToken(value); return *this;}
181 inline WorkspaceDescription& WithGrafanaToken(Aws::String&& value) { SetGrafanaToken(std::move(value)); return *this;}
182 inline WorkspaceDescription& WithGrafanaToken(const char* value) { SetGrafanaToken(value); return *this;}
184
186
189 inline const Aws::String& GetGrafanaVersion() const{ return m_grafanaVersion; }
190 inline bool GrafanaVersionHasBeenSet() const { return m_grafanaVersionHasBeenSet; }
191 inline void SetGrafanaVersion(const Aws::String& value) { m_grafanaVersionHasBeenSet = true; m_grafanaVersion = value; }
192 inline void SetGrafanaVersion(Aws::String&& value) { m_grafanaVersionHasBeenSet = true; m_grafanaVersion = std::move(value); }
193 inline void SetGrafanaVersion(const char* value) { m_grafanaVersionHasBeenSet = true; m_grafanaVersion.assign(value); }
194 inline WorkspaceDescription& WithGrafanaVersion(const Aws::String& value) { SetGrafanaVersion(value); return *this;}
195 inline WorkspaceDescription& WithGrafanaVersion(Aws::String&& value) { SetGrafanaVersion(std::move(value)); return *this;}
196 inline WorkspaceDescription& WithGrafanaVersion(const char* value) { SetGrafanaVersion(value); return *this;}
198
200
203 inline const Aws::String& GetId() const{ return m_id; }
204 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
205 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
206 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
207 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
208 inline WorkspaceDescription& WithId(const Aws::String& value) { SetId(value); return *this;}
209 inline WorkspaceDescription& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
210 inline WorkspaceDescription& WithId(const char* value) { SetId(value); return *this;}
212
214
221 inline const Aws::Utils::DateTime& GetLicenseExpiration() const{ return m_licenseExpiration; }
222 inline bool LicenseExpirationHasBeenSet() const { return m_licenseExpirationHasBeenSet; }
223 inline void SetLicenseExpiration(const Aws::Utils::DateTime& value) { m_licenseExpirationHasBeenSet = true; m_licenseExpiration = value; }
224 inline void SetLicenseExpiration(Aws::Utils::DateTime&& value) { m_licenseExpirationHasBeenSet = true; m_licenseExpiration = std::move(value); }
226 inline WorkspaceDescription& WithLicenseExpiration(Aws::Utils::DateTime&& value) { SetLicenseExpiration(std::move(value)); return *this;}
228
230
235 inline const LicenseType& GetLicenseType() const{ return m_licenseType; }
236 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
237 inline void SetLicenseType(const LicenseType& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
238 inline void SetLicenseType(LicenseType&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); }
239 inline WorkspaceDescription& WithLicenseType(const LicenseType& value) { SetLicenseType(value); return *this;}
240 inline WorkspaceDescription& WithLicenseType(LicenseType&& value) { SetLicenseType(std::move(value)); return *this;}
242
244
247 inline const Aws::Utils::DateTime& GetModified() const{ return m_modified; }
248 inline bool ModifiedHasBeenSet() const { return m_modifiedHasBeenSet; }
249 inline void SetModified(const Aws::Utils::DateTime& value) { m_modifiedHasBeenSet = true; m_modified = value; }
250 inline void SetModified(Aws::Utils::DateTime&& value) { m_modifiedHasBeenSet = true; m_modified = std::move(value); }
251 inline WorkspaceDescription& WithModified(const Aws::Utils::DateTime& value) { SetModified(value); return *this;}
252 inline WorkspaceDescription& WithModified(Aws::Utils::DateTime&& value) { SetModified(std::move(value)); return *this;}
254
256
259 inline const Aws::String& GetName() const{ return m_name; }
260 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
261 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
262 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
263 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
264 inline WorkspaceDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
265 inline WorkspaceDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
266 inline WorkspaceDescription& WithName(const char* value) { SetName(value); return *this;}
268
270
273 inline const NetworkAccessConfiguration& GetNetworkAccessControl() const{ return m_networkAccessControl; }
274 inline bool NetworkAccessControlHasBeenSet() const { return m_networkAccessControlHasBeenSet; }
275 inline void SetNetworkAccessControl(const NetworkAccessConfiguration& value) { m_networkAccessControlHasBeenSet = true; m_networkAccessControl = value; }
276 inline void SetNetworkAccessControl(NetworkAccessConfiguration&& value) { m_networkAccessControlHasBeenSet = true; m_networkAccessControl = std::move(value); }
280
282
287 inline const Aws::Vector<NotificationDestinationType>& GetNotificationDestinations() const{ return m_notificationDestinations; }
288 inline bool NotificationDestinationsHasBeenSet() const { return m_notificationDestinationsHasBeenSet; }
289 inline void SetNotificationDestinations(const Aws::Vector<NotificationDestinationType>& value) { m_notificationDestinationsHasBeenSet = true; m_notificationDestinations = value; }
290 inline void SetNotificationDestinations(Aws::Vector<NotificationDestinationType>&& value) { m_notificationDestinationsHasBeenSet = true; m_notificationDestinations = std::move(value); }
293 inline WorkspaceDescription& AddNotificationDestinations(const NotificationDestinationType& value) { m_notificationDestinationsHasBeenSet = true; m_notificationDestinations.push_back(value); return *this; }
294 inline WorkspaceDescription& AddNotificationDestinations(NotificationDestinationType&& value) { m_notificationDestinationsHasBeenSet = true; m_notificationDestinations.push_back(std::move(value)); return *this; }
296
298
302 inline const Aws::String& GetOrganizationRoleName() const{ return m_organizationRoleName; }
303 inline bool OrganizationRoleNameHasBeenSet() const { return m_organizationRoleNameHasBeenSet; }
304 inline void SetOrganizationRoleName(const Aws::String& value) { m_organizationRoleNameHasBeenSet = true; m_organizationRoleName = value; }
305 inline void SetOrganizationRoleName(Aws::String&& value) { m_organizationRoleNameHasBeenSet = true; m_organizationRoleName = std::move(value); }
306 inline void SetOrganizationRoleName(const char* value) { m_organizationRoleNameHasBeenSet = true; m_organizationRoleName.assign(value); }
308 inline WorkspaceDescription& WithOrganizationRoleName(Aws::String&& value) { SetOrganizationRoleName(std::move(value)); return *this;}
309 inline WorkspaceDescription& WithOrganizationRoleName(const char* value) { SetOrganizationRoleName(value); return *this;}
311
313
318 inline const Aws::Vector<Aws::String>& GetOrganizationalUnits() const{ return m_organizationalUnits; }
319 inline bool OrganizationalUnitsHasBeenSet() const { return m_organizationalUnitsHasBeenSet; }
320 inline void SetOrganizationalUnits(const Aws::Vector<Aws::String>& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits = value; }
321 inline void SetOrganizationalUnits(Aws::Vector<Aws::String>&& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits = std::move(value); }
324 inline WorkspaceDescription& AddOrganizationalUnits(const Aws::String& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(value); return *this; }
325 inline WorkspaceDescription& AddOrganizationalUnits(Aws::String&& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(std::move(value)); return *this; }
326 inline WorkspaceDescription& AddOrganizationalUnits(const char* value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(value); return *this; }
328
330
350 inline const PermissionType& GetPermissionType() const{ return m_permissionType; }
351 inline bool PermissionTypeHasBeenSet() const { return m_permissionTypeHasBeenSet; }
352 inline void SetPermissionType(const PermissionType& value) { m_permissionTypeHasBeenSet = true; m_permissionType = value; }
353 inline void SetPermissionType(PermissionType&& value) { m_permissionTypeHasBeenSet = true; m_permissionType = std::move(value); }
354 inline WorkspaceDescription& WithPermissionType(const PermissionType& value) { SetPermissionType(value); return *this;}
355 inline WorkspaceDescription& WithPermissionType(PermissionType&& value) { SetPermissionType(std::move(value)); return *this;}
357
359
363 inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
364 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
365 inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
366 inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
367 inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
368 inline WorkspaceDescription& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
369 inline WorkspaceDescription& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
370 inline WorkspaceDescription& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
372
374
377 inline const WorkspaceStatus& GetStatus() const{ return m_status; }
378 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
379 inline void SetStatus(const WorkspaceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
380 inline void SetStatus(WorkspaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
381 inline WorkspaceDescription& WithStatus(const WorkspaceStatus& value) { SetStatus(value); return *this;}
382 inline WorkspaceDescription& WithStatus(WorkspaceStatus&& value) { SetStatus(std::move(value)); return *this;}
384
386
389 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
390 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
391 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
392 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
393 inline WorkspaceDescription& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
394 inline WorkspaceDescription& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
395 inline WorkspaceDescription& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
396 inline WorkspaceDescription& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
397 inline WorkspaceDescription& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
398 inline WorkspaceDescription& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
399 inline WorkspaceDescription& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
400 inline WorkspaceDescription& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
401 inline WorkspaceDescription& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
403
405
409 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
410 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
411 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
412 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
414 inline WorkspaceDescription& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
416
418
422 inline const Aws::String& GetWorkspaceRoleArn() const{ return m_workspaceRoleArn; }
423 inline bool WorkspaceRoleArnHasBeenSet() const { return m_workspaceRoleArnHasBeenSet; }
424 inline void SetWorkspaceRoleArn(const Aws::String& value) { m_workspaceRoleArnHasBeenSet = true; m_workspaceRoleArn = value; }
425 inline void SetWorkspaceRoleArn(Aws::String&& value) { m_workspaceRoleArnHasBeenSet = true; m_workspaceRoleArn = std::move(value); }
426 inline void SetWorkspaceRoleArn(const char* value) { m_workspaceRoleArnHasBeenSet = true; m_workspaceRoleArn.assign(value); }
427 inline WorkspaceDescription& WithWorkspaceRoleArn(const Aws::String& value) { SetWorkspaceRoleArn(value); return *this;}
428 inline WorkspaceDescription& WithWorkspaceRoleArn(Aws::String&& value) { SetWorkspaceRoleArn(std::move(value)); return *this;}
429 inline WorkspaceDescription& WithWorkspaceRoleArn(const char* value) { SetWorkspaceRoleArn(value); return *this;}
431 private:
432
433 AccountAccessType m_accountAccessType;
434 bool m_accountAccessTypeHasBeenSet = false;
435
436 AuthenticationSummary m_authentication;
437 bool m_authenticationHasBeenSet = false;
438
439 Aws::Utils::DateTime m_created;
440 bool m_createdHasBeenSet = false;
441
442 Aws::Vector<DataSourceType> m_dataSources;
443 bool m_dataSourcesHasBeenSet = false;
444
445 Aws::String m_description;
446 bool m_descriptionHasBeenSet = false;
447
448 Aws::String m_endpoint;
449 bool m_endpointHasBeenSet = false;
450
451 bool m_freeTrialConsumed;
452 bool m_freeTrialConsumedHasBeenSet = false;
453
454 Aws::Utils::DateTime m_freeTrialExpiration;
455 bool m_freeTrialExpirationHasBeenSet = false;
456
457 Aws::String m_grafanaToken;
458 bool m_grafanaTokenHasBeenSet = false;
459
460 Aws::String m_grafanaVersion;
461 bool m_grafanaVersionHasBeenSet = false;
462
463 Aws::String m_id;
464 bool m_idHasBeenSet = false;
465
466 Aws::Utils::DateTime m_licenseExpiration;
467 bool m_licenseExpirationHasBeenSet = false;
468
469 LicenseType m_licenseType;
470 bool m_licenseTypeHasBeenSet = false;
471
472 Aws::Utils::DateTime m_modified;
473 bool m_modifiedHasBeenSet = false;
474
475 Aws::String m_name;
476 bool m_nameHasBeenSet = false;
477
478 NetworkAccessConfiguration m_networkAccessControl;
479 bool m_networkAccessControlHasBeenSet = false;
480
481 Aws::Vector<NotificationDestinationType> m_notificationDestinations;
482 bool m_notificationDestinationsHasBeenSet = false;
483
484 Aws::String m_organizationRoleName;
485 bool m_organizationRoleNameHasBeenSet = false;
486
487 Aws::Vector<Aws::String> m_organizationalUnits;
488 bool m_organizationalUnitsHasBeenSet = false;
489
490 PermissionType m_permissionType;
491 bool m_permissionTypeHasBeenSet = false;
492
493 Aws::String m_stackSetName;
494 bool m_stackSetNameHasBeenSet = false;
495
496 WorkspaceStatus m_status;
497 bool m_statusHasBeenSet = false;
498
500 bool m_tagsHasBeenSet = false;
501
502 VpcConfiguration m_vpcConfiguration;
503 bool m_vpcConfigurationHasBeenSet = false;
504
505 Aws::String m_workspaceRoleArn;
506 bool m_workspaceRoleArnHasBeenSet = false;
507 };
508
509} // namespace Model
510} // namespace ManagedGrafana
511} // namespace Aws
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceDescription & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
WorkspaceDescription & WithFreeTrialExpiration(const Aws::Utils::DateTime &value)
WorkspaceDescription & WithGrafanaVersion(const Aws::String &value)
WorkspaceDescription & AddNotificationDestinations(const NotificationDestinationType &value)
WorkspaceDescription & WithNetworkAccessControl(const NetworkAccessConfiguration &value)
void SetAuthentication(AuthenticationSummary &&value)
void SetLicenseExpiration(Aws::Utils::DateTime &&value)
WorkspaceDescription & WithAuthentication(AuthenticationSummary &&value)
WorkspaceDescription & WithOrganizationalUnits(const Aws::Vector< Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
WorkspaceDescription & WithLicenseType(const LicenseType &value)
WorkspaceDescription & WithName(const char *value)
WorkspaceDescription & AddTags(Aws::String &&key, Aws::String &&value)
WorkspaceDescription & WithId(Aws::String &&value)
WorkspaceDescription & AddNotificationDestinations(NotificationDestinationType &&value)
void SetFreeTrialExpiration(Aws::Utils::DateTime &&value)
WorkspaceDescription & WithCreated(Aws::Utils::DateTime &&value)
WorkspaceDescription & WithGrafanaToken(Aws::String &&value)
WorkspaceDescription & AddTags(const Aws::String &key, Aws::String &&value)
WorkspaceDescription & WithDescription(const char *value)
WorkspaceDescription & WithEndpoint(const Aws::String &value)
WorkspaceDescription & WithFreeTrialConsumed(bool value)
WorkspaceDescription & WithId(const Aws::String &value)
void SetAccountAccessType(const AccountAccessType &value)
WorkspaceDescription & WithAuthentication(const AuthenticationSummary &value)
WorkspaceDescription & WithNetworkAccessControl(NetworkAccessConfiguration &&value)
WorkspaceDescription & WithId(const char *value)
WorkspaceDescription & WithWorkspaceRoleArn(Aws::String &&value)
const Aws::Utils::DateTime & GetModified() const
WorkspaceDescription & WithName(Aws::String &&value)
WorkspaceDescription & WithStackSetName(const char *value)
WorkspaceDescription & AddTags(const char *key, Aws::String &&value)
WorkspaceDescription & WithName(const Aws::String &value)
void SetNotificationDestinations(Aws::Vector< NotificationDestinationType > &&value)
void SetOrganizationalUnits(const Aws::Vector< Aws::String > &value)
WorkspaceDescription & AddTags(Aws::String &&key, const char *value)
WorkspaceDescription & WithVpcConfiguration(VpcConfiguration &&value)
AWS_MANAGEDGRAFANA_API WorkspaceDescription(Aws::Utils::Json::JsonView jsonValue)
WorkspaceDescription & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLicenseExpiration(const Aws::Utils::DateTime &value)
WorkspaceDescription & WithOrganizationRoleName(const Aws::String &value)
WorkspaceDescription & WithStackSetName(const Aws::String &value)
WorkspaceDescription & AddTags(const Aws::String &key, const Aws::String &value)
WorkspaceDescription & AddOrganizationalUnits(const char *value)
void SetPermissionType(const PermissionType &value)
WorkspaceDescription & WithGrafanaToken(const Aws::String &value)
WorkspaceDescription & WithOrganizationalUnits(Aws::Vector< Aws::String > &&value)
WorkspaceDescription & WithAccountAccessType(const AccountAccessType &value)
WorkspaceDescription & WithModified(Aws::Utils::DateTime &&value)
WorkspaceDescription & WithOrganizationRoleName(Aws::String &&value)
WorkspaceDescription & WithModified(const Aws::Utils::DateTime &value)
AWS_MANAGEDGRAFANA_API WorkspaceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNotificationDestinations(const Aws::Vector< NotificationDestinationType > &value)
void SetDataSources(const Aws::Vector< DataSourceType > &value)
const Aws::Vector< NotificationDestinationType > & GetNotificationDestinations() const
const Aws::Vector< DataSourceType > & GetDataSources() const
void SetNetworkAccessControl(NetworkAccessConfiguration &&value)
WorkspaceDescription & WithLicenseType(LicenseType &&value)
void SetModified(const Aws::Utils::DateTime &value)
WorkspaceDescription & WithWorkspaceRoleArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetFreeTrialExpiration() const
WorkspaceDescription & WithDataSources(Aws::Vector< DataSourceType > &&value)
WorkspaceDescription & WithVpcConfiguration(const VpcConfiguration &value)
void SetNetworkAccessControl(const NetworkAccessConfiguration &value)
WorkspaceDescription & AddDataSources(const DataSourceType &value)
void SetAuthentication(const AuthenticationSummary &value)
WorkspaceDescription & WithCreated(const Aws::Utils::DateTime &value)
const NetworkAccessConfiguration & GetNetworkAccessControl() const
WorkspaceDescription & WithLicenseExpiration(Aws::Utils::DateTime &&value)
WorkspaceDescription & WithDescription(const Aws::String &value)
WorkspaceDescription & WithNotificationDestinations(const Aws::Vector< NotificationDestinationType > &value)
WorkspaceDescription & WithDataSources(const Aws::Vector< DataSourceType > &value)
WorkspaceDescription & WithGrafanaToken(const char *value)
WorkspaceDescription & WithWorkspaceRoleArn(const Aws::String &value)
WorkspaceDescription & WithPermissionType(PermissionType &&value)
WorkspaceDescription & WithLicenseExpiration(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLicenseExpiration() const
WorkspaceDescription & WithGrafanaVersion(Aws::String &&value)
WorkspaceDescription & WithGrafanaVersion(const char *value)
WorkspaceDescription & AddTags(Aws::String &&key, const Aws::String &value)
void SetFreeTrialExpiration(const Aws::Utils::DateTime &value)
WorkspaceDescription & WithEndpoint(Aws::String &&value)
void SetOrganizationalUnits(Aws::Vector< Aws::String > &&value)
WorkspaceDescription & AddOrganizationalUnits(Aws::String &&value)
WorkspaceDescription & WithPermissionType(const PermissionType &value)
void SetCreated(const Aws::Utils::DateTime &value)
const AccountAccessType & GetAccountAccessType() const
WorkspaceDescription & WithEndpoint(const char *value)
void SetDataSources(Aws::Vector< DataSourceType > &&value)
const AuthenticationSummary & GetAuthentication() const
const Aws::Vector< Aws::String > & GetOrganizationalUnits() const
WorkspaceDescription & WithOrganizationRoleName(const char *value)
void SetVpcConfiguration(const VpcConfiguration &value)
WorkspaceDescription & WithStatus(WorkspaceStatus &&value)
WorkspaceDescription & WithDescription(Aws::String &&value)
WorkspaceDescription & AddOrganizationalUnits(const Aws::String &value)
WorkspaceDescription & AddTags(const char *key, const char *value)
const Aws::Utils::DateTime & GetCreated() const
WorkspaceDescription & WithFreeTrialExpiration(Aws::Utils::DateTime &&value)
WorkspaceDescription & WithNotificationDestinations(Aws::Vector< NotificationDestinationType > &&value)
WorkspaceDescription & WithStackSetName(Aws::String &&value)
WorkspaceDescription & WithStatus(const WorkspaceStatus &value)
WorkspaceDescription & AddDataSources(DataSourceType &&value)
WorkspaceDescription & WithAccountAccessType(AccountAccessType &&value)
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