AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UnifiedStudioSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/FeatureStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API UnifiedStudioSettings() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
48 inline FeatureStatus GetStudioWebPortalAccess() const { return m_studioWebPortalAccess; }
49 inline bool StudioWebPortalAccessHasBeenSet() const { return m_studioWebPortalAccessHasBeenSet; }
51 m_studioWebPortalAccessHasBeenSet = true;
52 m_studioWebPortalAccess = value;
53 }
56 return *this;
57 }
59
61
66 inline const Aws::String& GetDomainAccountId() const { return m_domainAccountId; }
67 inline bool DomainAccountIdHasBeenSet() const { return m_domainAccountIdHasBeenSet; }
68 template <typename DomainAccountIdT = Aws::String>
69 void SetDomainAccountId(DomainAccountIdT&& value) {
70 m_domainAccountIdHasBeenSet = true;
71 m_domainAccountId = std::forward<DomainAccountIdT>(value);
72 }
73 template <typename DomainAccountIdT = Aws::String>
74 UnifiedStudioSettings& WithDomainAccountId(DomainAccountIdT&& value) {
75 SetDomainAccountId(std::forward<DomainAccountIdT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetDomainRegion() const { return m_domainRegion; }
87 inline bool DomainRegionHasBeenSet() const { return m_domainRegionHasBeenSet; }
88 template <typename DomainRegionT = Aws::String>
89 void SetDomainRegion(DomainRegionT&& value) {
90 m_domainRegionHasBeenSet = true;
91 m_domainRegion = std::forward<DomainRegionT>(value);
92 }
93 template <typename DomainRegionT = Aws::String>
94 UnifiedStudioSettings& WithDomainRegion(DomainRegionT&& value) {
95 SetDomainRegion(std::forward<DomainRegionT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetDomainId() const { return m_domainId; }
106 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
107 template <typename DomainIdT = Aws::String>
108 void SetDomainId(DomainIdT&& value) {
109 m_domainIdHasBeenSet = true;
110 m_domainId = std::forward<DomainIdT>(value);
111 }
112 template <typename DomainIdT = Aws::String>
114 SetDomainId(std::forward<DomainIdT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::String& GetProjectId() const { return m_projectId; }
125 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
126 template <typename ProjectIdT = Aws::String>
127 void SetProjectId(ProjectIdT&& value) {
128 m_projectIdHasBeenSet = true;
129 m_projectId = std::forward<ProjectIdT>(value);
130 }
131 template <typename ProjectIdT = Aws::String>
133 SetProjectId(std::forward<ProjectIdT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
144 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
145 template <typename EnvironmentIdT = Aws::String>
146 void SetEnvironmentId(EnvironmentIdT&& value) {
147 m_environmentIdHasBeenSet = true;
148 m_environmentId = std::forward<EnvironmentIdT>(value);
149 }
150 template <typename EnvironmentIdT = Aws::String>
151 UnifiedStudioSettings& WithEnvironmentId(EnvironmentIdT&& value) {
152 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
153 return *this;
154 }
156
158
162 inline const Aws::String& GetProjectS3Path() const { return m_projectS3Path; }
163 inline bool ProjectS3PathHasBeenSet() const { return m_projectS3PathHasBeenSet; }
164 template <typename ProjectS3PathT = Aws::String>
165 void SetProjectS3Path(ProjectS3PathT&& value) {
166 m_projectS3PathHasBeenSet = true;
167 m_projectS3Path = std::forward<ProjectS3PathT>(value);
168 }
169 template <typename ProjectS3PathT = Aws::String>
170 UnifiedStudioSettings& WithProjectS3Path(ProjectS3PathT&& value) {
171 SetProjectS3Path(std::forward<ProjectS3PathT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::String& GetSingleSignOnApplicationArn() const { return m_singleSignOnApplicationArn; }
182 inline bool SingleSignOnApplicationArnHasBeenSet() const { return m_singleSignOnApplicationArnHasBeenSet; }
183 template <typename SingleSignOnApplicationArnT = Aws::String>
184 void SetSingleSignOnApplicationArn(SingleSignOnApplicationArnT&& value) {
185 m_singleSignOnApplicationArnHasBeenSet = true;
186 m_singleSignOnApplicationArn = std::forward<SingleSignOnApplicationArnT>(value);
187 }
188 template <typename SingleSignOnApplicationArnT = Aws::String>
189 UnifiedStudioSettings& WithSingleSignOnApplicationArn(SingleSignOnApplicationArnT&& value) {
190 SetSingleSignOnApplicationArn(std::forward<SingleSignOnApplicationArnT>(value));
191 return *this;
192 }
194 private:
195 FeatureStatus m_studioWebPortalAccess{FeatureStatus::NOT_SET};
196
197 Aws::String m_domainAccountId;
198
199 Aws::String m_domainRegion;
200
201 Aws::String m_domainId;
202
203 Aws::String m_projectId;
204
205 Aws::String m_environmentId;
206
207 Aws::String m_projectS3Path;
208
209 Aws::String m_singleSignOnApplicationArn;
210 bool m_studioWebPortalAccessHasBeenSet = false;
211 bool m_domainAccountIdHasBeenSet = false;
212 bool m_domainRegionHasBeenSet = false;
213 bool m_domainIdHasBeenSet = false;
214 bool m_projectIdHasBeenSet = false;
215 bool m_environmentIdHasBeenSet = false;
216 bool m_projectS3PathHasBeenSet = false;
217 bool m_singleSignOnApplicationArnHasBeenSet = false;
218};
219
220} // namespace Model
221} // namespace SageMaker
222} // namespace Aws
AWS_SAGEMAKER_API UnifiedStudioSettings()=default
UnifiedStudioSettings & WithDomainId(DomainIdT &&value)
UnifiedStudioSettings & WithEnvironmentId(EnvironmentIdT &&value)
UnifiedStudioSettings & WithDomainAccountId(DomainAccountIdT &&value)
UnifiedStudioSettings & WithProjectId(ProjectIdT &&value)
void SetSingleSignOnApplicationArn(SingleSignOnApplicationArnT &&value)
UnifiedStudioSettings & WithDomainRegion(DomainRegionT &&value)
UnifiedStudioSettings & WithStudioWebPortalAccess(FeatureStatus value)
AWS_SAGEMAKER_API UnifiedStudioSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
UnifiedStudioSettings & WithSingleSignOnApplicationArn(SingleSignOnApplicationArnT &&value)
void SetDomainAccountId(DomainAccountIdT &&value)
AWS_SAGEMAKER_API UnifiedStudioSettings(Aws::Utils::Json::JsonView jsonValue)
UnifiedStudioSettings & WithProjectS3Path(ProjectS3PathT &&value)
const Aws::String & GetSingleSignOnApplicationArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue