AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultWorkspaceCreationProperties.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkSpaces
22{
23namespace Model
24{
25
35 {
36 public:
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline bool GetEnableWorkDocs() const{ return m_enableWorkDocs; }
48 inline bool EnableWorkDocsHasBeenSet() const { return m_enableWorkDocsHasBeenSet; }
49 inline void SetEnableWorkDocs(bool value) { m_enableWorkDocsHasBeenSet = true; m_enableWorkDocs = value; }
50 inline DefaultWorkspaceCreationProperties& WithEnableWorkDocs(bool value) { SetEnableWorkDocs(value); return *this;}
52
54
67 inline bool GetEnableInternetAccess() const{ return m_enableInternetAccess; }
68 inline bool EnableInternetAccessHasBeenSet() const { return m_enableInternetAccessHasBeenSet; }
69 inline void SetEnableInternetAccess(bool value) { m_enableInternetAccessHasBeenSet = true; m_enableInternetAccess = value; }
72
74
78 inline const Aws::String& GetDefaultOu() const{ return m_defaultOu; }
79 inline bool DefaultOuHasBeenSet() const { return m_defaultOuHasBeenSet; }
80 inline void SetDefaultOu(const Aws::String& value) { m_defaultOuHasBeenSet = true; m_defaultOu = value; }
81 inline void SetDefaultOu(Aws::String&& value) { m_defaultOuHasBeenSet = true; m_defaultOu = std::move(value); }
82 inline void SetDefaultOu(const char* value) { m_defaultOuHasBeenSet = true; m_defaultOu.assign(value); }
83 inline DefaultWorkspaceCreationProperties& WithDefaultOu(const Aws::String& value) { SetDefaultOu(value); return *this;}
84 inline DefaultWorkspaceCreationProperties& WithDefaultOu(Aws::String&& value) { SetDefaultOu(std::move(value)); return *this;}
85 inline DefaultWorkspaceCreationProperties& WithDefaultOu(const char* value) { SetDefaultOu(value); return *this;}
87
89
95 inline const Aws::String& GetCustomSecurityGroupId() const{ return m_customSecurityGroupId; }
96 inline bool CustomSecurityGroupIdHasBeenSet() const { return m_customSecurityGroupIdHasBeenSet; }
97 inline void SetCustomSecurityGroupId(const Aws::String& value) { m_customSecurityGroupIdHasBeenSet = true; m_customSecurityGroupId = value; }
98 inline void SetCustomSecurityGroupId(Aws::String&& value) { m_customSecurityGroupIdHasBeenSet = true; m_customSecurityGroupId = std::move(value); }
99 inline void SetCustomSecurityGroupId(const char* value) { m_customSecurityGroupIdHasBeenSet = true; m_customSecurityGroupId.assign(value); }
104
106
110 inline bool GetUserEnabledAsLocalAdministrator() const{ return m_userEnabledAsLocalAdministrator; }
111 inline bool UserEnabledAsLocalAdministratorHasBeenSet() const { return m_userEnabledAsLocalAdministratorHasBeenSet; }
112 inline void SetUserEnabledAsLocalAdministrator(bool value) { m_userEnabledAsLocalAdministratorHasBeenSet = true; m_userEnabledAsLocalAdministrator = value; }
115
117
123 inline bool GetEnableMaintenanceMode() const{ return m_enableMaintenanceMode; }
124 inline bool EnableMaintenanceModeHasBeenSet() const { return m_enableMaintenanceModeHasBeenSet; }
125 inline void SetEnableMaintenanceMode(bool value) { m_enableMaintenanceModeHasBeenSet = true; m_enableMaintenanceMode = value; }
128
130
133 inline const Aws::String& GetInstanceIamRoleArn() const{ return m_instanceIamRoleArn; }
134 inline bool InstanceIamRoleArnHasBeenSet() const { return m_instanceIamRoleArnHasBeenSet; }
135 inline void SetInstanceIamRoleArn(const Aws::String& value) { m_instanceIamRoleArnHasBeenSet = true; m_instanceIamRoleArn = value; }
136 inline void SetInstanceIamRoleArn(Aws::String&& value) { m_instanceIamRoleArnHasBeenSet = true; m_instanceIamRoleArn = std::move(value); }
137 inline void SetInstanceIamRoleArn(const char* value) { m_instanceIamRoleArnHasBeenSet = true; m_instanceIamRoleArn.assign(value); }
140 inline DefaultWorkspaceCreationProperties& WithInstanceIamRoleArn(const char* value) { SetInstanceIamRoleArn(value); return *this;}
142 private:
143
144 bool m_enableWorkDocs;
145 bool m_enableWorkDocsHasBeenSet = false;
146
147 bool m_enableInternetAccess;
148 bool m_enableInternetAccessHasBeenSet = false;
149
150 Aws::String m_defaultOu;
151 bool m_defaultOuHasBeenSet = false;
152
153 Aws::String m_customSecurityGroupId;
154 bool m_customSecurityGroupIdHasBeenSet = false;
155
156 bool m_userEnabledAsLocalAdministrator;
157 bool m_userEnabledAsLocalAdministratorHasBeenSet = false;
158
159 bool m_enableMaintenanceMode;
160 bool m_enableMaintenanceModeHasBeenSet = false;
161
162 Aws::String m_instanceIamRoleArn;
163 bool m_instanceIamRoleArnHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace WorkSpaces
168} // namespace Aws
DefaultWorkspaceCreationProperties & WithDefaultOu(const char *value)
DefaultWorkspaceCreationProperties & WithCustomSecurityGroupId(Aws::String &&value)
DefaultWorkspaceCreationProperties & WithCustomSecurityGroupId(const Aws::String &value)
DefaultWorkspaceCreationProperties & WithEnableInternetAccess(bool value)
DefaultWorkspaceCreationProperties & WithInstanceIamRoleArn(Aws::String &&value)
DefaultWorkspaceCreationProperties & WithDefaultOu(Aws::String &&value)
DefaultWorkspaceCreationProperties & WithCustomSecurityGroupId(const char *value)
DefaultWorkspaceCreationProperties & WithEnableWorkDocs(bool value)
AWS_WORKSPACES_API DefaultWorkspaceCreationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API DefaultWorkspaceCreationProperties(Aws::Utils::Json::JsonView jsonValue)
DefaultWorkspaceCreationProperties & WithInstanceIamRoleArn(const char *value)
DefaultWorkspaceCreationProperties & WithEnableMaintenanceMode(bool value)
DefaultWorkspaceCreationProperties & WithUserEnabledAsLocalAdministrator(bool value)
DefaultWorkspaceCreationProperties & WithDefaultOu(const Aws::String &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultWorkspaceCreationProperties & WithInstanceIamRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue