AWS SDK for C++  1.9.1
AWS SDK for C++
UserSettings.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace SageMaker
27 {
28 namespace Model
29 {
30 
44  {
45  public:
50 
51 
55  inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
56 
60  inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
61 
65  inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
66 
70  inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
71 
75  inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
76 
80  inline UserSettings& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
81 
85  inline UserSettings& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
86 
90  inline UserSettings& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
91 
92 
103  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
104 
115  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
116 
127  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
128 
139  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
140 
151  inline UserSettings& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
152 
163  inline UserSettings& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
164 
175  inline UserSettings& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
176 
187  inline UserSettings& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
188 
199  inline UserSettings& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
200 
201 
205  inline const SharingSettings& GetSharingSettings() const{ return m_sharingSettings; }
206 
210  inline bool SharingSettingsHasBeenSet() const { return m_sharingSettingsHasBeenSet; }
211 
215  inline void SetSharingSettings(const SharingSettings& value) { m_sharingSettingsHasBeenSet = true; m_sharingSettings = value; }
216 
220  inline void SetSharingSettings(SharingSettings&& value) { m_sharingSettingsHasBeenSet = true; m_sharingSettings = std::move(value); }
221 
225  inline UserSettings& WithSharingSettings(const SharingSettings& value) { SetSharingSettings(value); return *this;}
226 
230  inline UserSettings& WithSharingSettings(SharingSettings&& value) { SetSharingSettings(std::move(value)); return *this;}
231 
232 
236  inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const{ return m_jupyterServerAppSettings; }
237 
241  inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
242 
246  inline void SetJupyterServerAppSettings(const JupyterServerAppSettings& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = value; }
247 
251  inline void SetJupyterServerAppSettings(JupyterServerAppSettings&& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = std::move(value); }
252 
256  inline UserSettings& WithJupyterServerAppSettings(const JupyterServerAppSettings& value) { SetJupyterServerAppSettings(value); return *this;}
257 
261  inline UserSettings& WithJupyterServerAppSettings(JupyterServerAppSettings&& value) { SetJupyterServerAppSettings(std::move(value)); return *this;}
262 
263 
267  inline const KernelGatewayAppSettings& GetKernelGatewayAppSettings() const{ return m_kernelGatewayAppSettings; }
268 
272  inline bool KernelGatewayAppSettingsHasBeenSet() const { return m_kernelGatewayAppSettingsHasBeenSet; }
273 
277  inline void SetKernelGatewayAppSettings(const KernelGatewayAppSettings& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = value; }
278 
282  inline void SetKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = std::move(value); }
283 
287  inline UserSettings& WithKernelGatewayAppSettings(const KernelGatewayAppSettings& value) { SetKernelGatewayAppSettings(value); return *this;}
288 
292  inline UserSettings& WithKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { SetKernelGatewayAppSettings(std::move(value)); return *this;}
293 
294 
298  inline const TensorBoardAppSettings& GetTensorBoardAppSettings() const{ return m_tensorBoardAppSettings; }
299 
303  inline bool TensorBoardAppSettingsHasBeenSet() const { return m_tensorBoardAppSettingsHasBeenSet; }
304 
308  inline void SetTensorBoardAppSettings(const TensorBoardAppSettings& value) { m_tensorBoardAppSettingsHasBeenSet = true; m_tensorBoardAppSettings = value; }
309 
313  inline void SetTensorBoardAppSettings(TensorBoardAppSettings&& value) { m_tensorBoardAppSettingsHasBeenSet = true; m_tensorBoardAppSettings = std::move(value); }
314 
318  inline UserSettings& WithTensorBoardAppSettings(const TensorBoardAppSettings& value) { SetTensorBoardAppSettings(value); return *this;}
319 
323  inline UserSettings& WithTensorBoardAppSettings(TensorBoardAppSettings&& value) { SetTensorBoardAppSettings(std::move(value)); return *this;}
324 
325  private:
326 
327  Aws::String m_executionRole;
328  bool m_executionRoleHasBeenSet;
329 
330  Aws::Vector<Aws::String> m_securityGroups;
331  bool m_securityGroupsHasBeenSet;
332 
333  SharingSettings m_sharingSettings;
334  bool m_sharingSettingsHasBeenSet;
335 
336  JupyterServerAppSettings m_jupyterServerAppSettings;
337  bool m_jupyterServerAppSettingsHasBeenSet;
338 
339  KernelGatewayAppSettings m_kernelGatewayAppSettings;
340  bool m_kernelGatewayAppSettingsHasBeenSet;
341 
342  TensorBoardAppSettings m_tensorBoardAppSettings;
343  bool m_tensorBoardAppSettingsHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace SageMaker
348 } // namespace Aws
Aws::SageMaker::Model::UserSettings::JupyterServerAppSettingsHasBeenSet
bool JupyterServerAppSettingsHasBeenSet() const
Definition: UserSettings.h:241
TensorBoardAppSettings.h
Aws::SageMaker::Model::UserSettings::GetKernelGatewayAppSettings
const KernelGatewayAppSettings & GetKernelGatewayAppSettings() const
Definition: UserSettings.h:267
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UserSettings::AddSecurityGroups
UserSettings & AddSecurityGroups(const Aws::String &value)
Definition: UserSettings.h:175
Aws::SageMaker::Model::UserSettings::GetExecutionRole
const Aws::String & GetExecutionRole() const
Definition: UserSettings.h:55
Aws::SageMaker::Model::UserSettings::SetJupyterServerAppSettings
void SetJupyterServerAppSettings(const JupyterServerAppSettings &value)
Definition: UserSettings.h:246
Aws::SageMaker::Model::UserSettings::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: UserSettings.h:115
Aws::SageMaker::Model::UserSettings::WithSharingSettings
UserSettings & WithSharingSettings(SharingSettings &&value)
Definition: UserSettings.h:230
Aws::SageMaker::Model::UserSettings::TensorBoardAppSettingsHasBeenSet
bool TensorBoardAppSettingsHasBeenSet() const
Definition: UserSettings.h:303
Aws::SageMaker::Model::UserSettings::KernelGatewayAppSettingsHasBeenSet
bool KernelGatewayAppSettingsHasBeenSet() const
Definition: UserSettings.h:272
Aws::SageMaker::Model::UserSettings::SetTensorBoardAppSettings
void SetTensorBoardAppSettings(const TensorBoardAppSettings &value)
Definition: UserSettings.h:308
Aws::SageMaker::Model::UserSettings::WithExecutionRole
UserSettings & WithExecutionRole(const char *value)
Definition: UserSettings.h:90
Aws::SageMaker::Model::UserSettings::SetExecutionRole
void SetExecutionRole(Aws::String &&value)
Definition: UserSettings.h:70
Aws::SageMaker::Model::UserSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::UserSettings::WithExecutionRole
UserSettings & WithExecutionRole(Aws::String &&value)
Definition: UserSettings.h:85
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::UserSettings::UserSettings
UserSettings()
Aws::SageMaker::Model::UserSettings::SetTensorBoardAppSettings
void SetTensorBoardAppSettings(TensorBoardAppSettings &&value)
Definition: UserSettings.h:313
AWSVector.h
Aws::SageMaker::Model::JupyterServerAppSettings
Definition: JupyterServerAppSettings.h:32
Aws::SageMaker::Model::UserSettings::SetExecutionRole
void SetExecutionRole(const Aws::String &value)
Definition: UserSettings.h:65
Aws::SageMaker::Model::SharingSettings
Definition: SharingSettings.h:38
Aws::SageMaker::Model::UserSettings::WithTensorBoardAppSettings
UserSettings & WithTensorBoardAppSettings(const TensorBoardAppSettings &value)
Definition: UserSettings.h:318
Aws::SageMaker::Model::UserSettings::WithExecutionRole
UserSettings & WithExecutionRole(const Aws::String &value)
Definition: UserSettings.h:80
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UserSettings::operator=
UserSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UserSettings::GetSharingSettings
const SharingSettings & GetSharingSettings() const
Definition: UserSettings.h:205
Aws::SageMaker::Model::UserSettings
Definition: UserSettings.h:44
Aws::SageMaker::Model::UserSettings::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: UserSettings.h:127
Aws::SageMaker::Model::UserSettings::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: UserSettings.h:139
Aws::SageMaker::Model::UserSettings::AddSecurityGroups
UserSettings & AddSecurityGroups(const char *value)
Definition: UserSettings.h:199
KernelGatewayAppSettings.h
SharingSettings.h
Aws::SageMaker::Model::UserSettings::WithTensorBoardAppSettings
UserSettings & WithTensorBoardAppSettings(TensorBoardAppSettings &&value)
Definition: UserSettings.h:323
Aws::SageMaker::Model::UserSettings::SetJupyterServerAppSettings
void SetJupyterServerAppSettings(JupyterServerAppSettings &&value)
Definition: UserSettings.h:251
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::SageMaker::Model::UserSettings::WithJupyterServerAppSettings
UserSettings & WithJupyterServerAppSettings(JupyterServerAppSettings &&value)
Definition: UserSettings.h:261
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::SageMaker::Model::UserSettings::WithSecurityGroups
UserSettings & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: UserSettings.h:151
Aws::SageMaker::Model::UserSettings::WithKernelGatewayAppSettings
UserSettings & WithKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
Definition: UserSettings.h:287
Aws::SageMaker::Model::UserSettings::GetJupyterServerAppSettings
const JupyterServerAppSettings & GetJupyterServerAppSettings() const
Definition: UserSettings.h:236
Aws::SageMaker::Model::KernelGatewayAppSettings
Definition: KernelGatewayAppSettings.h:34
Aws::SageMaker::Model::UserSettings::SetKernelGatewayAppSettings
void SetKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
Definition: UserSettings.h:282
Aws::SageMaker::Model::UserSettings::SetKernelGatewayAppSettings
void SetKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
Definition: UserSettings.h:277
Aws::SageMaker::Model::UserSettings::WithKernelGatewayAppSettings
UserSettings & WithKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
Definition: UserSettings.h:292
Aws
Definition: AccessManagementClient.h:15
JupyterServerAppSettings.h
Aws::SageMaker::Model::UserSettings::SharingSettingsHasBeenSet
bool SharingSettingsHasBeenSet() const
Definition: UserSettings.h:210
Aws::SageMaker::Model::UserSettings::WithSecurityGroups
UserSettings & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: UserSettings.h:163
Aws::SageMaker::Model::TensorBoardAppSettings
Definition: TensorBoardAppSettings.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UserSettings::WithSharingSettings
UserSettings & WithSharingSettings(const SharingSettings &value)
Definition: UserSettings.h:225
Aws::SageMaker::Model::UserSettings::SetSharingSettings
void SetSharingSettings(SharingSettings &&value)
Definition: UserSettings.h:220
Aws::SageMaker::Model::UserSettings::WithJupyterServerAppSettings
UserSettings & WithJupyterServerAppSettings(const JupyterServerAppSettings &value)
Definition: UserSettings.h:256
Aws::SageMaker::Model::UserSettings::UserSettings
UserSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UserSettings::SetExecutionRole
void SetExecutionRole(const char *value)
Definition: UserSettings.h:75
Aws::SageMaker::Model::UserSettings::SetSharingSettings
void SetSharingSettings(const SharingSettings &value)
Definition: UserSettings.h:215
Aws::SageMaker::Model::UserSettings::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: UserSettings.h:103
Aws::SageMaker::Model::UserSettings::AddSecurityGroups
UserSettings & AddSecurityGroups(Aws::String &&value)
Definition: UserSettings.h:187
Aws::SageMaker::Model::UserSettings::ExecutionRoleHasBeenSet
bool ExecutionRoleHasBeenSet() const
Definition: UserSettings.h:60
Aws::SageMaker::Model::UserSettings::GetTensorBoardAppSettings
const TensorBoardAppSettings & GetTensorBoardAppSettings() const
Definition: UserSettings.h:298