AWS SDK for C++  1.9.156
AWS SDK for C++
UserSettings.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25  class JsonView;
26 } // namespace Json
27 } // namespace Utils
28 namespace SageMaker
29 {
30 namespace Model
31 {
32 
46  {
47  public:
52 
53 
57  inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
58 
62  inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
63 
67  inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
68 
72  inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
73 
77  inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
78 
82  inline UserSettings& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
83 
87  inline UserSettings& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
88 
92  inline UserSettings& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
93 
94 
105  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
106 
117  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
118 
129  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
130 
141  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
142 
153  inline UserSettings& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
154 
165  inline UserSettings& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
166 
177  inline UserSettings& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
178 
189  inline UserSettings& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
190 
201  inline UserSettings& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
202 
203 
207  inline const SharingSettings& GetSharingSettings() const{ return m_sharingSettings; }
208 
212  inline bool SharingSettingsHasBeenSet() const { return m_sharingSettingsHasBeenSet; }
213 
217  inline void SetSharingSettings(const SharingSettings& value) { m_sharingSettingsHasBeenSet = true; m_sharingSettings = value; }
218 
222  inline void SetSharingSettings(SharingSettings&& value) { m_sharingSettingsHasBeenSet = true; m_sharingSettings = std::move(value); }
223 
227  inline UserSettings& WithSharingSettings(const SharingSettings& value) { SetSharingSettings(value); return *this;}
228 
232  inline UserSettings& WithSharingSettings(SharingSettings&& value) { SetSharingSettings(std::move(value)); return *this;}
233 
234 
238  inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const{ return m_jupyterServerAppSettings; }
239 
243  inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
244 
248  inline void SetJupyterServerAppSettings(const JupyterServerAppSettings& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = value; }
249 
253  inline void SetJupyterServerAppSettings(JupyterServerAppSettings&& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = std::move(value); }
254 
258  inline UserSettings& WithJupyterServerAppSettings(const JupyterServerAppSettings& value) { SetJupyterServerAppSettings(value); return *this;}
259 
263  inline UserSettings& WithJupyterServerAppSettings(JupyterServerAppSettings&& value) { SetJupyterServerAppSettings(std::move(value)); return *this;}
264 
265 
269  inline const KernelGatewayAppSettings& GetKernelGatewayAppSettings() const{ return m_kernelGatewayAppSettings; }
270 
274  inline bool KernelGatewayAppSettingsHasBeenSet() const { return m_kernelGatewayAppSettingsHasBeenSet; }
275 
279  inline void SetKernelGatewayAppSettings(const KernelGatewayAppSettings& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = value; }
280 
284  inline void SetKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = std::move(value); }
285 
289  inline UserSettings& WithKernelGatewayAppSettings(const KernelGatewayAppSettings& value) { SetKernelGatewayAppSettings(value); return *this;}
290 
294  inline UserSettings& WithKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { SetKernelGatewayAppSettings(std::move(value)); return *this;}
295 
296 
300  inline const TensorBoardAppSettings& GetTensorBoardAppSettings() const{ return m_tensorBoardAppSettings; }
301 
305  inline bool TensorBoardAppSettingsHasBeenSet() const { return m_tensorBoardAppSettingsHasBeenSet; }
306 
310  inline void SetTensorBoardAppSettings(const TensorBoardAppSettings& value) { m_tensorBoardAppSettingsHasBeenSet = true; m_tensorBoardAppSettings = value; }
311 
315  inline void SetTensorBoardAppSettings(TensorBoardAppSettings&& value) { m_tensorBoardAppSettingsHasBeenSet = true; m_tensorBoardAppSettings = std::move(value); }
316 
320  inline UserSettings& WithTensorBoardAppSettings(const TensorBoardAppSettings& value) { SetTensorBoardAppSettings(value); return *this;}
321 
325  inline UserSettings& WithTensorBoardAppSettings(TensorBoardAppSettings&& value) { SetTensorBoardAppSettings(std::move(value)); return *this;}
326 
327 
332  inline const RStudioServerProAppSettings& GetRStudioServerProAppSettings() const{ return m_rStudioServerProAppSettings; }
333 
338  inline bool RStudioServerProAppSettingsHasBeenSet() const { return m_rStudioServerProAppSettingsHasBeenSet; }
339 
344  inline void SetRStudioServerProAppSettings(const RStudioServerProAppSettings& value) { m_rStudioServerProAppSettingsHasBeenSet = true; m_rStudioServerProAppSettings = value; }
345 
350  inline void SetRStudioServerProAppSettings(RStudioServerProAppSettings&& value) { m_rStudioServerProAppSettingsHasBeenSet = true; m_rStudioServerProAppSettings = std::move(value); }
351 
356  inline UserSettings& WithRStudioServerProAppSettings(const RStudioServerProAppSettings& value) { SetRStudioServerProAppSettings(value); return *this;}
357 
362  inline UserSettings& WithRStudioServerProAppSettings(RStudioServerProAppSettings&& value) { SetRStudioServerProAppSettings(std::move(value)); return *this;}
363 
364 
369  inline const RSessionAppSettings& GetRSessionAppSettings() const{ return m_rSessionAppSettings; }
370 
375  inline bool RSessionAppSettingsHasBeenSet() const { return m_rSessionAppSettingsHasBeenSet; }
376 
381  inline void SetRSessionAppSettings(const RSessionAppSettings& value) { m_rSessionAppSettingsHasBeenSet = true; m_rSessionAppSettings = value; }
382 
387  inline void SetRSessionAppSettings(RSessionAppSettings&& value) { m_rSessionAppSettingsHasBeenSet = true; m_rSessionAppSettings = std::move(value); }
388 
393  inline UserSettings& WithRSessionAppSettings(const RSessionAppSettings& value) { SetRSessionAppSettings(value); return *this;}
394 
399  inline UserSettings& WithRSessionAppSettings(RSessionAppSettings&& value) { SetRSessionAppSettings(std::move(value)); return *this;}
400 
401  private:
402 
403  Aws::String m_executionRole;
404  bool m_executionRoleHasBeenSet;
405 
406  Aws::Vector<Aws::String> m_securityGroups;
407  bool m_securityGroupsHasBeenSet;
408 
409  SharingSettings m_sharingSettings;
410  bool m_sharingSettingsHasBeenSet;
411 
412  JupyterServerAppSettings m_jupyterServerAppSettings;
413  bool m_jupyterServerAppSettingsHasBeenSet;
414 
415  KernelGatewayAppSettings m_kernelGatewayAppSettings;
416  bool m_kernelGatewayAppSettingsHasBeenSet;
417 
418  TensorBoardAppSettings m_tensorBoardAppSettings;
419  bool m_tensorBoardAppSettingsHasBeenSet;
420 
421  RStudioServerProAppSettings m_rStudioServerProAppSettings;
422  bool m_rStudioServerProAppSettingsHasBeenSet;
423 
424  RSessionAppSettings m_rSessionAppSettings;
425  bool m_rSessionAppSettingsHasBeenSet;
426  };
427 
428 } // namespace Model
429 } // namespace SageMaker
430 } // namespace Aws
Aws::SageMaker::Model::UserSettings::JupyterServerAppSettingsHasBeenSet
bool JupyterServerAppSettingsHasBeenSet() const
Definition: UserSettings.h:243
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
TensorBoardAppSettings.h
Aws::SageMaker::Model::UserSettings::GetKernelGatewayAppSettings
const KernelGatewayAppSettings & GetKernelGatewayAppSettings() const
Definition: UserSettings.h:269
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UserSettings::AddSecurityGroups
UserSettings & AddSecurityGroups(const Aws::String &value)
Definition: UserSettings.h:177
RStudioServerProAppSettings.h
Aws::SageMaker::Model::UserSettings::GetExecutionRole
const Aws::String & GetExecutionRole() const
Definition: UserSettings.h:57
Aws::SageMaker::Model::UserSettings::GetRStudioServerProAppSettings
const RStudioServerProAppSettings & GetRStudioServerProAppSettings() const
Definition: UserSettings.h:332
Aws::SageMaker::Model::UserSettings::SetJupyterServerAppSettings
void SetJupyterServerAppSettings(const JupyterServerAppSettings &value)
Definition: UserSettings.h:248
Aws::SageMaker::Model::UserSettings::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: UserSettings.h:117
RSessionAppSettings.h
Aws::SageMaker::Model::UserSettings::WithSharingSettings
UserSettings & WithSharingSettings(SharingSettings &&value)
Definition: UserSettings.h:232
Aws::SageMaker::Model::UserSettings::TensorBoardAppSettingsHasBeenSet
bool TensorBoardAppSettingsHasBeenSet() const
Definition: UserSettings.h:305
Aws::SageMaker::Model::UserSettings::KernelGatewayAppSettingsHasBeenSet
bool KernelGatewayAppSettingsHasBeenSet() const
Definition: UserSettings.h:274
Aws::SageMaker::Model::UserSettings::SetTensorBoardAppSettings
void SetTensorBoardAppSettings(const TensorBoardAppSettings &value)
Definition: UserSettings.h:310
Aws::SageMaker::Model::UserSettings::WithExecutionRole
UserSettings & WithExecutionRole(const char *value)
Definition: UserSettings.h:92
Aws::SageMaker::Model::UserSettings::SetExecutionRole
void SetExecutionRole(Aws::String &&value)
Definition: UserSettings.h:72
Aws::SageMaker::Model::UserSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::UserSettings::WithExecutionRole
UserSettings & WithExecutionRole(Aws::String &&value)
Definition: UserSettings.h:87
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:315
AWSVector.h
Aws::SageMaker::Model::JupyterServerAppSettings
Definition: JupyterServerAppSettings.h:34
Aws::SageMaker::Model::UserSettings::SetExecutionRole
void SetExecutionRole(const Aws::String &value)
Definition: UserSettings.h:67
Aws::SageMaker::Model::SharingSettings
Definition: SharingSettings.h:38
Aws::SageMaker::Model::UserSettings::WithTensorBoardAppSettings
UserSettings & WithTensorBoardAppSettings(const TensorBoardAppSettings &value)
Definition: UserSettings.h:320
Aws::SageMaker::Model::UserSettings::WithExecutionRole
UserSettings & WithExecutionRole(const Aws::String &value)
Definition: UserSettings.h:82
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UserSettings::WithRSessionAppSettings
UserSettings & WithRSessionAppSettings(const RSessionAppSettings &value)
Definition: UserSettings.h:393
Aws::SageMaker::Model::UserSettings::operator=
UserSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UserSettings::GetSharingSettings
const SharingSettings & GetSharingSettings() const
Definition: UserSettings.h:207
Aws::SageMaker::Model::UserSettings::RSessionAppSettingsHasBeenSet
bool RSessionAppSettingsHasBeenSet() const
Definition: UserSettings.h:375
Aws::SageMaker::Model::UserSettings
Definition: UserSettings.h:46
Aws::SageMaker::Model::UserSettings::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: UserSettings.h:129
Aws::SageMaker::Model::UserSettings::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: UserSettings.h:141
Aws::SageMaker::Model::UserSettings::AddSecurityGroups
UserSettings & AddSecurityGroups(const char *value)
Definition: UserSettings.h:201
KernelGatewayAppSettings.h
SharingSettings.h
Aws::SageMaker::Model::UserSettings::WithTensorBoardAppSettings
UserSettings & WithTensorBoardAppSettings(TensorBoardAppSettings &&value)
Definition: UserSettings.h:325
Aws::SageMaker::Model::UserSettings::SetJupyterServerAppSettings
void SetJupyterServerAppSettings(JupyterServerAppSettings &&value)
Definition: UserSettings.h:253
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::UserSettings::WithJupyterServerAppSettings
UserSettings & WithJupyterServerAppSettings(JupyterServerAppSettings &&value)
Definition: UserSettings.h:263
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::UserSettings::WithRSessionAppSettings
UserSettings & WithRSessionAppSettings(RSessionAppSettings &&value)
Definition: UserSettings.h:399
Aws::SageMaker::Model::UserSettings::WithSecurityGroups
UserSettings & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: UserSettings.h:153
Aws::SageMaker::Model::UserSettings::SetRStudioServerProAppSettings
void SetRStudioServerProAppSettings(const RStudioServerProAppSettings &value)
Definition: UserSettings.h:344
Aws::SageMaker::Model::RStudioServerProAppSettings
Definition: RStudioServerProAppSettings.h:36
Aws::SageMaker::Model::UserSettings::WithKernelGatewayAppSettings
UserSettings & WithKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
Definition: UserSettings.h:289
Aws::SageMaker::Model::UserSettings::GetJupyterServerAppSettings
const JupyterServerAppSettings & GetJupyterServerAppSettings() const
Definition: UserSettings.h:238
Aws::SageMaker::Model::UserSettings::SetRStudioServerProAppSettings
void SetRStudioServerProAppSettings(RStudioServerProAppSettings &&value)
Definition: UserSettings.h:350
Aws::SageMaker::Model::KernelGatewayAppSettings
Definition: KernelGatewayAppSettings.h:35
Aws::SageMaker::Model::UserSettings::SetKernelGatewayAppSettings
void SetKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
Definition: UserSettings.h:284
Aws::SageMaker::Model::UserSettings::SetKernelGatewayAppSettings
void SetKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
Definition: UserSettings.h:279
Aws::SageMaker::Model::UserSettings::WithKernelGatewayAppSettings
UserSettings & WithKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
Definition: UserSettings.h:294
Aws::SageMaker::Model::RSessionAppSettings
Definition: RSessionAppSettings.h:31
Aws::SageMaker::Model::UserSettings::WithRStudioServerProAppSettings
UserSettings & WithRStudioServerProAppSettings(RStudioServerProAppSettings &&value)
Definition: UserSettings.h:362
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UserSettings::WithRStudioServerProAppSettings
UserSettings & WithRStudioServerProAppSettings(const RStudioServerProAppSettings &value)
Definition: UserSettings.h:356
Aws
Definition: AccessManagementClient.h:15
JupyterServerAppSettings.h
Aws::SageMaker::Model::UserSettings::SharingSettingsHasBeenSet
bool SharingSettingsHasBeenSet() const
Definition: UserSettings.h:212
Aws::SageMaker::Model::UserSettings::WithSecurityGroups
UserSettings & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: UserSettings.h:165
Aws::SageMaker::Model::TensorBoardAppSettings
Definition: TensorBoardAppSettings.h:32
Aws::SageMaker::Model::UserSettings::SetRSessionAppSettings
void SetRSessionAppSettings(const RSessionAppSettings &value)
Definition: UserSettings.h:381
Aws::SageMaker::Model::UserSettings::RStudioServerProAppSettingsHasBeenSet
bool RStudioServerProAppSettingsHasBeenSet() const
Definition: UserSettings.h:338
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:227
Aws::SageMaker::Model::UserSettings::SetSharingSettings
void SetSharingSettings(SharingSettings &&value)
Definition: UserSettings.h:222
Aws::SageMaker::Model::UserSettings::WithJupyterServerAppSettings
UserSettings & WithJupyterServerAppSettings(const JupyterServerAppSettings &value)
Definition: UserSettings.h:258
Aws::SageMaker::Model::UserSettings::UserSettings
UserSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UserSettings::GetRSessionAppSettings
const RSessionAppSettings & GetRSessionAppSettings() const
Definition: UserSettings.h:369
Aws::SageMaker::Model::UserSettings::SetExecutionRole
void SetExecutionRole(const char *value)
Definition: UserSettings.h:77
Aws::SageMaker::Model::UserSettings::SetSharingSettings
void SetSharingSettings(const SharingSettings &value)
Definition: UserSettings.h:217
Aws::SageMaker::Model::UserSettings::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: UserSettings.h:105
Aws::SageMaker::Model::UserSettings::AddSecurityGroups
UserSettings & AddSecurityGroups(Aws::String &&value)
Definition: UserSettings.h:189
Aws::SageMaker::Model::UserSettings::SetRSessionAppSettings
void SetRSessionAppSettings(RSessionAppSettings &&value)
Definition: UserSettings.h:387
Aws::SageMaker::Model::UserSettings::ExecutionRoleHasBeenSet
bool ExecutionRoleHasBeenSet() const
Definition: UserSettings.h:62
Aws::SageMaker::Model::UserSettings::GetTensorBoardAppSettings
const TensorBoardAppSettings & GetTensorBoardAppSettings() const
Definition: UserSettings.h:300