AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/RStudioServerProDomainSettings.h>
10#include <aws/sagemaker/model/ExecutionRoleIdentityConfig.h>
11#include <aws/sagemaker/model/DockerSettings.h>
12#include <aws/sagemaker/model/AmazonQSettings.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_SAGEMAKER_API DomainSettings();
42 AWS_SAGEMAKER_API DomainSettings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
54 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
55 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
56 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
58 inline DomainSettings& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
59 inline DomainSettings& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
60 inline DomainSettings& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
61 inline DomainSettings& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
63
65
69 inline const RStudioServerProDomainSettings& GetRStudioServerProDomainSettings() const{ return m_rStudioServerProDomainSettings; }
70 inline bool RStudioServerProDomainSettingsHasBeenSet() const { return m_rStudioServerProDomainSettingsHasBeenSet; }
71 inline void SetRStudioServerProDomainSettings(const RStudioServerProDomainSettings& value) { m_rStudioServerProDomainSettingsHasBeenSet = true; m_rStudioServerProDomainSettings = value; }
72 inline void SetRStudioServerProDomainSettings(RStudioServerProDomainSettings&& value) { m_rStudioServerProDomainSettingsHasBeenSet = true; m_rStudioServerProDomainSettings = std::move(value); }
76
78
84 inline const ExecutionRoleIdentityConfig& GetExecutionRoleIdentityConfig() const{ return m_executionRoleIdentityConfig; }
85 inline bool ExecutionRoleIdentityConfigHasBeenSet() const { return m_executionRoleIdentityConfigHasBeenSet; }
86 inline void SetExecutionRoleIdentityConfig(const ExecutionRoleIdentityConfig& value) { m_executionRoleIdentityConfigHasBeenSet = true; m_executionRoleIdentityConfig = value; }
87 inline void SetExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig&& value) { m_executionRoleIdentityConfigHasBeenSet = true; m_executionRoleIdentityConfig = std::move(value); }
91
93
96 inline const DockerSettings& GetDockerSettings() const{ return m_dockerSettings; }
97 inline bool DockerSettingsHasBeenSet() const { return m_dockerSettingsHasBeenSet; }
98 inline void SetDockerSettings(const DockerSettings& value) { m_dockerSettingsHasBeenSet = true; m_dockerSettings = value; }
99 inline void SetDockerSettings(DockerSettings&& value) { m_dockerSettingsHasBeenSet = true; m_dockerSettings = std::move(value); }
100 inline DomainSettings& WithDockerSettings(const DockerSettings& value) { SetDockerSettings(value); return *this;}
101 inline DomainSettings& WithDockerSettings(DockerSettings&& value) { SetDockerSettings(std::move(value)); return *this;}
103
105
110 inline const AmazonQSettings& GetAmazonQSettings() const{ return m_amazonQSettings; }
111 inline bool AmazonQSettingsHasBeenSet() const { return m_amazonQSettingsHasBeenSet; }
112 inline void SetAmazonQSettings(const AmazonQSettings& value) { m_amazonQSettingsHasBeenSet = true; m_amazonQSettings = value; }
113 inline void SetAmazonQSettings(AmazonQSettings&& value) { m_amazonQSettingsHasBeenSet = true; m_amazonQSettings = std::move(value); }
114 inline DomainSettings& WithAmazonQSettings(const AmazonQSettings& value) { SetAmazonQSettings(value); return *this;}
115 inline DomainSettings& WithAmazonQSettings(AmazonQSettings&& value) { SetAmazonQSettings(std::move(value)); return *this;}
117 private:
118
119 Aws::Vector<Aws::String> m_securityGroupIds;
120 bool m_securityGroupIdsHasBeenSet = false;
121
122 RStudioServerProDomainSettings m_rStudioServerProDomainSettings;
123 bool m_rStudioServerProDomainSettingsHasBeenSet = false;
124
125 ExecutionRoleIdentityConfig m_executionRoleIdentityConfig;
126 bool m_executionRoleIdentityConfigHasBeenSet = false;
127
128 DockerSettings m_dockerSettings;
129 bool m_dockerSettingsHasBeenSet = false;
130
131 AmazonQSettings m_amazonQSettings;
132 bool m_amazonQSettingsHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SageMaker
137} // namespace Aws
DomainSettings & WithExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig &&value)
DomainSettings & AddSecurityGroupIds(const Aws::String &value)
DomainSettings & WithAmazonQSettings(const AmazonQSettings &value)
DomainSettings & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const RStudioServerProDomainSettings & GetRStudioServerProDomainSettings() const
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetExecutionRoleIdentityConfig(const ExecutionRoleIdentityConfig &value)
DomainSettings & WithRStudioServerProDomainSettings(const RStudioServerProDomainSettings &value)
DomainSettings & WithDockerSettings(DockerSettings &&value)
DomainSettings & WithRStudioServerProDomainSettings(RStudioServerProDomainSettings &&value)
void SetAmazonQSettings(const AmazonQSettings &value)
void SetExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig &&value)
DomainSettings & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const ExecutionRoleIdentityConfig & GetExecutionRoleIdentityConfig() const
DomainSettings & WithDockerSettings(const DockerSettings &value)
AWS_SAGEMAKER_API DomainSettings(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const AmazonQSettings & GetAmazonQSettings() const
void SetDockerSettings(const DockerSettings &value)
void SetAmazonQSettings(AmazonQSettings &&value)
DomainSettings & WithAmazonQSettings(AmazonQSettings &&value)
AWS_SAGEMAKER_API DomainSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDockerSettings(DockerSettings &&value)
DomainSettings & WithExecutionRoleIdentityConfig(const ExecutionRoleIdentityConfig &value)
DomainSettings & AddSecurityGroupIds(const char *value)
const DockerSettings & GetDockerSettings() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRStudioServerProDomainSettings(RStudioServerProDomainSettings &&value)
DomainSettings & AddSecurityGroupIds(Aws::String &&value)
void SetRStudioServerProDomainSettings(const RStudioServerProDomainSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue