AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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/TrustedIdentityPropagationSettings.h>
12#include <aws/sagemaker/model/DockerSettings.h>
13#include <aws/sagemaker/model/AmazonQSettings.h>
14#include <aws/sagemaker/model/UnifiedStudioSettings.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
32
41 {
42 public:
43 AWS_SAGEMAKER_API DomainSettings() = default;
44 AWS_SAGEMAKER_API DomainSettings(Aws::Utils::Json::JsonView jsonValue);
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
56 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
57 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
58 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
59 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
60 DomainSettings& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
61 template<typename SecurityGroupIdsT = Aws::String>
62 DomainSettings& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
64
66
70 inline const RStudioServerProDomainSettings& GetRStudioServerProDomainSettings() const { return m_rStudioServerProDomainSettings; }
71 inline bool RStudioServerProDomainSettingsHasBeenSet() const { return m_rStudioServerProDomainSettingsHasBeenSet; }
72 template<typename RStudioServerProDomainSettingsT = RStudioServerProDomainSettings>
73 void SetRStudioServerProDomainSettings(RStudioServerProDomainSettingsT&& value) { m_rStudioServerProDomainSettingsHasBeenSet = true; m_rStudioServerProDomainSettings = std::forward<RStudioServerProDomainSettingsT>(value); }
74 template<typename RStudioServerProDomainSettingsT = RStudioServerProDomainSettings>
75 DomainSettings& WithRStudioServerProDomainSettings(RStudioServerProDomainSettingsT&& value) { SetRStudioServerProDomainSettings(std::forward<RStudioServerProDomainSettingsT>(value)); return *this;}
77
79
85 inline ExecutionRoleIdentityConfig GetExecutionRoleIdentityConfig() const { return m_executionRoleIdentityConfig; }
86 inline bool ExecutionRoleIdentityConfigHasBeenSet() const { return m_executionRoleIdentityConfigHasBeenSet; }
87 inline void SetExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig value) { m_executionRoleIdentityConfigHasBeenSet = true; m_executionRoleIdentityConfig = value; }
90
92
97 inline const TrustedIdentityPropagationSettings& GetTrustedIdentityPropagationSettings() const { return m_trustedIdentityPropagationSettings; }
98 inline bool TrustedIdentityPropagationSettingsHasBeenSet() const { return m_trustedIdentityPropagationSettingsHasBeenSet; }
99 template<typename TrustedIdentityPropagationSettingsT = TrustedIdentityPropagationSettings>
100 void SetTrustedIdentityPropagationSettings(TrustedIdentityPropagationSettingsT&& value) { m_trustedIdentityPropagationSettingsHasBeenSet = true; m_trustedIdentityPropagationSettings = std::forward<TrustedIdentityPropagationSettingsT>(value); }
101 template<typename TrustedIdentityPropagationSettingsT = TrustedIdentityPropagationSettings>
102 DomainSettings& WithTrustedIdentityPropagationSettings(TrustedIdentityPropagationSettingsT&& value) { SetTrustedIdentityPropagationSettings(std::forward<TrustedIdentityPropagationSettingsT>(value)); return *this;}
104
106
109 inline const DockerSettings& GetDockerSettings() const { return m_dockerSettings; }
110 inline bool DockerSettingsHasBeenSet() const { return m_dockerSettingsHasBeenSet; }
111 template<typename DockerSettingsT = DockerSettings>
112 void SetDockerSettings(DockerSettingsT&& value) { m_dockerSettingsHasBeenSet = true; m_dockerSettings = std::forward<DockerSettingsT>(value); }
113 template<typename DockerSettingsT = DockerSettings>
114 DomainSettings& WithDockerSettings(DockerSettingsT&& value) { SetDockerSettings(std::forward<DockerSettingsT>(value)); return *this;}
116
118
123 inline const AmazonQSettings& GetAmazonQSettings() const { return m_amazonQSettings; }
124 inline bool AmazonQSettingsHasBeenSet() const { return m_amazonQSettingsHasBeenSet; }
125 template<typename AmazonQSettingsT = AmazonQSettings>
126 void SetAmazonQSettings(AmazonQSettingsT&& value) { m_amazonQSettingsHasBeenSet = true; m_amazonQSettings = std::forward<AmazonQSettingsT>(value); }
127 template<typename AmazonQSettingsT = AmazonQSettings>
128 DomainSettings& WithAmazonQSettings(AmazonQSettingsT&& value) { SetAmazonQSettings(std::forward<AmazonQSettingsT>(value)); return *this;}
130
132
136 inline const UnifiedStudioSettings& GetUnifiedStudioSettings() const { return m_unifiedStudioSettings; }
137 inline bool UnifiedStudioSettingsHasBeenSet() const { return m_unifiedStudioSettingsHasBeenSet; }
138 template<typename UnifiedStudioSettingsT = UnifiedStudioSettings>
139 void SetUnifiedStudioSettings(UnifiedStudioSettingsT&& value) { m_unifiedStudioSettingsHasBeenSet = true; m_unifiedStudioSettings = std::forward<UnifiedStudioSettingsT>(value); }
140 template<typename UnifiedStudioSettingsT = UnifiedStudioSettings>
141 DomainSettings& WithUnifiedStudioSettings(UnifiedStudioSettingsT&& value) { SetUnifiedStudioSettings(std::forward<UnifiedStudioSettingsT>(value)); return *this;}
143 private:
144
145 Aws::Vector<Aws::String> m_securityGroupIds;
146 bool m_securityGroupIdsHasBeenSet = false;
147
148 RStudioServerProDomainSettings m_rStudioServerProDomainSettings;
149 bool m_rStudioServerProDomainSettingsHasBeenSet = false;
150
152 bool m_executionRoleIdentityConfigHasBeenSet = false;
153
154 TrustedIdentityPropagationSettings m_trustedIdentityPropagationSettings;
155 bool m_trustedIdentityPropagationSettingsHasBeenSet = false;
156
157 DockerSettings m_dockerSettings;
158 bool m_dockerSettingsHasBeenSet = false;
159
160 AmazonQSettings m_amazonQSettings;
161 bool m_amazonQSettingsHasBeenSet = false;
162
163 UnifiedStudioSettings m_unifiedStudioSettings;
164 bool m_unifiedStudioSettingsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SageMaker
169} // namespace Aws
const TrustedIdentityPropagationSettings & GetTrustedIdentityPropagationSettings() const
bool TrustedIdentityPropagationSettingsHasBeenSet() const
void SetRStudioServerProDomainSettings(RStudioServerProDomainSettingsT &&value)
void SetAmazonQSettings(AmazonQSettingsT &&value)
DomainSettings & WithExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig value)
const RStudioServerProDomainSettings & GetRStudioServerProDomainSettings() const
const UnifiedStudioSettings & GetUnifiedStudioSettings() const
DomainSettings & WithSecurityGroupIds(SecurityGroupIdsT &&value)
DomainSettings & WithUnifiedStudioSettings(UnifiedStudioSettingsT &&value)
AWS_SAGEMAKER_API DomainSettings(Aws::Utils::Json::JsonView jsonValue)
const AmazonQSettings & GetAmazonQSettings() const
void SetExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig value)
void SetUnifiedStudioSettings(UnifiedStudioSettingsT &&value)
DomainSettings & AddSecurityGroupIds(SecurityGroupIdsT &&value)
DomainSettings & WithDockerSettings(DockerSettingsT &&value)
DomainSettings & WithAmazonQSettings(AmazonQSettingsT &&value)
void SetTrustedIdentityPropagationSettings(TrustedIdentityPropagationSettingsT &&value)
void SetDockerSettings(DockerSettingsT &&value)
DomainSettings & WithTrustedIdentityPropagationSettings(TrustedIdentityPropagationSettingsT &&value)
AWS_SAGEMAKER_API DomainSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionRoleIdentityConfig GetExecutionRoleIdentityConfig() const
DomainSettings & WithRStudioServerProDomainSettings(RStudioServerProDomainSettingsT &&value)
const DockerSettings & GetDockerSettings() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API DomainSettings()=default
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue