AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
Environment.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9#include <aws/finspace/model/EnvironmentStatus.h>
10#include <aws/finspace/model/FederationMode.h>
11#include <aws/finspace/model/FederationParameters.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace finspace {
23namespace Model {
24
31 public:
32 AWS_FINSPACE_API Environment() = default;
33 AWS_FINSPACE_API Environment(Aws::Utils::Json::JsonView jsonValue);
34 AWS_FINSPACE_API Environment& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 Environment& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
60 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
61 template <typename EnvironmentIdT = Aws::String>
62 void SetEnvironmentId(EnvironmentIdT&& value) {
63 m_environmentIdHasBeenSet = true;
64 m_environmentId = std::forward<EnvironmentIdT>(value);
65 }
66 template <typename EnvironmentIdT = Aws::String>
67 Environment& WithEnvironmentId(EnvironmentIdT&& value) {
68 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
78 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
79 template <typename AwsAccountIdT = Aws::String>
80 void SetAwsAccountId(AwsAccountIdT&& value) {
81 m_awsAccountIdHasBeenSet = true;
82 m_awsAccountId = std::forward<AwsAccountIdT>(value);
83 }
84 template <typename AwsAccountIdT = Aws::String>
85 Environment& WithAwsAccountId(AwsAccountIdT&& value) {
86 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
87 return *this;
88 }
90
92
95 inline EnvironmentStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(EnvironmentStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106
108
111 inline const Aws::String& GetEnvironmentUrl() const { return m_environmentUrl; }
112 inline bool EnvironmentUrlHasBeenSet() const { return m_environmentUrlHasBeenSet; }
113 template <typename EnvironmentUrlT = Aws::String>
114 void SetEnvironmentUrl(EnvironmentUrlT&& value) {
115 m_environmentUrlHasBeenSet = true;
116 m_environmentUrl = std::forward<EnvironmentUrlT>(value);
117 }
118 template <typename EnvironmentUrlT = Aws::String>
119 Environment& WithEnvironmentUrl(EnvironmentUrlT&& value) {
120 SetEnvironmentUrl(std::forward<EnvironmentUrlT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetDescription() const { return m_description; }
130 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 template <typename DescriptionT = Aws::String>
132 void SetDescription(DescriptionT&& value) {
133 m_descriptionHasBeenSet = true;
134 m_description = std::forward<DescriptionT>(value);
135 }
136 template <typename DescriptionT = Aws::String>
137 Environment& WithDescription(DescriptionT&& value) {
138 SetDescription(std::forward<DescriptionT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
148 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
149 template <typename EnvironmentArnT = Aws::String>
150 void SetEnvironmentArn(EnvironmentArnT&& value) {
151 m_environmentArnHasBeenSet = true;
152 m_environmentArn = std::forward<EnvironmentArnT>(value);
153 }
154 template <typename EnvironmentArnT = Aws::String>
155 Environment& WithEnvironmentArn(EnvironmentArnT&& value) {
156 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::String& GetSageMakerStudioDomainUrl() const { return m_sageMakerStudioDomainUrl; }
167 inline bool SageMakerStudioDomainUrlHasBeenSet() const { return m_sageMakerStudioDomainUrlHasBeenSet; }
168 template <typename SageMakerStudioDomainUrlT = Aws::String>
169 void SetSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT&& value) {
170 m_sageMakerStudioDomainUrlHasBeenSet = true;
171 m_sageMakerStudioDomainUrl = std::forward<SageMakerStudioDomainUrlT>(value);
172 }
173 template <typename SageMakerStudioDomainUrlT = Aws::String>
174 Environment& WithSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT&& value) {
175 SetSageMakerStudioDomainUrl(std::forward<SageMakerStudioDomainUrlT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
185 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
186 template <typename KmsKeyIdT = Aws::String>
187 void SetKmsKeyId(KmsKeyIdT&& value) {
188 m_kmsKeyIdHasBeenSet = true;
189 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
190 }
191 template <typename KmsKeyIdT = Aws::String>
192 Environment& WithKmsKeyId(KmsKeyIdT&& value) {
193 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
194 return *this;
195 }
197
199
203 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
204 inline bool DedicatedServiceAccountIdHasBeenSet() const { return m_dedicatedServiceAccountIdHasBeenSet; }
205 template <typename DedicatedServiceAccountIdT = Aws::String>
206 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
207 m_dedicatedServiceAccountIdHasBeenSet = true;
208 m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value);
209 }
210 template <typename DedicatedServiceAccountIdT = Aws::String>
211 Environment& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) {
212 SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value));
213 return *this;
214 }
216
218
221 inline FederationMode GetFederationMode() const { return m_federationMode; }
222 inline bool FederationModeHasBeenSet() const { return m_federationModeHasBeenSet; }
224 m_federationModeHasBeenSet = true;
225 m_federationMode = value;
226 }
228 SetFederationMode(value);
229 return *this;
230 }
232
234
237 inline const FederationParameters& GetFederationParameters() const { return m_federationParameters; }
238 inline bool FederationParametersHasBeenSet() const { return m_federationParametersHasBeenSet; }
239 template <typename FederationParametersT = FederationParameters>
240 void SetFederationParameters(FederationParametersT&& value) {
241 m_federationParametersHasBeenSet = true;
242 m_federationParameters = std::forward<FederationParametersT>(value);
243 }
244 template <typename FederationParametersT = FederationParameters>
245 Environment& WithFederationParameters(FederationParametersT&& value) {
246 SetFederationParameters(std::forward<FederationParametersT>(value));
247 return *this;
248 }
250 private:
251 Aws::String m_name;
252
253 Aws::String m_environmentId;
254
255 Aws::String m_awsAccountId;
256
258
259 Aws::String m_environmentUrl;
260
261 Aws::String m_description;
262
263 Aws::String m_environmentArn;
264
265 Aws::String m_sageMakerStudioDomainUrl;
266
267 Aws::String m_kmsKeyId;
268
269 Aws::String m_dedicatedServiceAccountId;
270
271 FederationMode m_federationMode{FederationMode::NOT_SET};
272
273 FederationParameters m_federationParameters;
274 bool m_nameHasBeenSet = false;
275 bool m_environmentIdHasBeenSet = false;
276 bool m_awsAccountIdHasBeenSet = false;
277 bool m_statusHasBeenSet = false;
278 bool m_environmentUrlHasBeenSet = false;
279 bool m_descriptionHasBeenSet = false;
280 bool m_environmentArnHasBeenSet = false;
281 bool m_sageMakerStudioDomainUrlHasBeenSet = false;
282 bool m_kmsKeyIdHasBeenSet = false;
283 bool m_dedicatedServiceAccountIdHasBeenSet = false;
284 bool m_federationModeHasBeenSet = false;
285 bool m_federationParametersHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace finspace
290} // namespace Aws
void SetFederationMode(FederationMode value)
AWS_FINSPACE_API Environment()=default
Environment & WithFederationMode(FederationMode value)
Environment & WithFederationParameters(FederationParametersT &&value)
FederationMode GetFederationMode() const
const Aws::String & GetDescription() const
void SetStatus(EnvironmentStatus value)
Definition Environment.h:97
const FederationParameters & GetFederationParameters() const
AWS_FINSPACE_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
Environment & WithEnvironmentId(EnvironmentIdT &&value)
Definition Environment.h:67
bool DedicatedServiceAccountIdHasBeenSet() const
AWS_FINSPACE_API Environment(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentId(EnvironmentIdT &&value)
Definition Environment.h:62
bool SageMakerStudioDomainUrlHasBeenSet() const
EnvironmentStatus GetStatus() const
Definition Environment.h:95
Environment & WithStatus(EnvironmentStatus value)
void SetDescription(DescriptionT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetDedicatedServiceAccountId() const
const Aws::String & GetEnvironmentArn() const
Environment & WithEnvironmentArn(EnvironmentArnT &&value)
Environment & WithDescription(DescriptionT &&value)
Environment & WithKmsKeyId(KmsKeyIdT &&value)
Environment & WithSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT &&value)
void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
const Aws::String & GetName() const
Definition Environment.h:41
Environment & WithEnvironmentUrl(EnvironmentUrlT &&value)
Environment & WithDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
void SetFederationParameters(FederationParametersT &&value)
const Aws::String & GetSageMakerStudioDomainUrl() const
const Aws::String & GetEnvironmentUrl() const
Environment & WithAwsAccountId(AwsAccountIdT &&value)
Definition Environment.h:85
const Aws::String & GetKmsKeyId() const
const Aws::String & GetAwsAccountId() const
Definition Environment.h:77
const Aws::String & GetEnvironmentId() const
Definition Environment.h:59
void SetAwsAccountId(AwsAccountIdT &&value)
Definition Environment.h:80
void SetSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT &&value)
Environment & WithName(NameT &&value)
Definition Environment.h:49
void SetEnvironmentUrl(EnvironmentUrlT &&value)
void SetEnvironmentArn(EnvironmentArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue