AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Environment.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/EnvironmentStatus.h>
10#include <aws/finspace/model/FederationMode.h>
11#include <aws/finspace/model/FederationParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace finspace
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_FINSPACE_API Environment();
38 AWS_FINSPACE_API Environment(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FINSPACE_API Environment& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline Environment& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline Environment& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline Environment& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
62 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
63 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
64 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
65 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
66 inline Environment& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
67 inline Environment& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
68 inline Environment& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
70
72
75 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
76 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
77 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
78 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
79 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
80 inline Environment& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
81 inline Environment& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
82 inline Environment& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
84
86
89 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const EnvironmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(EnvironmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline Environment& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
94 inline Environment& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetEnvironmentUrl() const{ return m_environmentUrl; }
102 inline bool EnvironmentUrlHasBeenSet() const { return m_environmentUrlHasBeenSet; }
103 inline void SetEnvironmentUrl(const Aws::String& value) { m_environmentUrlHasBeenSet = true; m_environmentUrl = value; }
104 inline void SetEnvironmentUrl(Aws::String&& value) { m_environmentUrlHasBeenSet = true; m_environmentUrl = std::move(value); }
105 inline void SetEnvironmentUrl(const char* value) { m_environmentUrlHasBeenSet = true; m_environmentUrl.assign(value); }
106 inline Environment& WithEnvironmentUrl(const Aws::String& value) { SetEnvironmentUrl(value); return *this;}
107 inline Environment& WithEnvironmentUrl(Aws::String&& value) { SetEnvironmentUrl(std::move(value)); return *this;}
108 inline Environment& WithEnvironmentUrl(const char* value) { SetEnvironmentUrl(value); return *this;}
110
112
115 inline const Aws::String& GetDescription() const{ return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
118 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
119 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
120 inline Environment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
121 inline Environment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
122 inline Environment& WithDescription(const char* value) { SetDescription(value); return *this;}
124
126
129 inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; }
130 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
131 inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArnHasBeenSet = true; m_environmentArn = value; }
132 inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::move(value); }
133 inline void SetEnvironmentArn(const char* value) { m_environmentArnHasBeenSet = true; m_environmentArn.assign(value); }
134 inline Environment& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;}
135 inline Environment& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;}
136 inline Environment& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;}
138
140
144 inline const Aws::String& GetSageMakerStudioDomainUrl() const{ return m_sageMakerStudioDomainUrl; }
145 inline bool SageMakerStudioDomainUrlHasBeenSet() const { return m_sageMakerStudioDomainUrlHasBeenSet; }
146 inline void SetSageMakerStudioDomainUrl(const Aws::String& value) { m_sageMakerStudioDomainUrlHasBeenSet = true; m_sageMakerStudioDomainUrl = value; }
147 inline void SetSageMakerStudioDomainUrl(Aws::String&& value) { m_sageMakerStudioDomainUrlHasBeenSet = true; m_sageMakerStudioDomainUrl = std::move(value); }
148 inline void SetSageMakerStudioDomainUrl(const char* value) { m_sageMakerStudioDomainUrlHasBeenSet = true; m_sageMakerStudioDomainUrl.assign(value); }
150 inline Environment& WithSageMakerStudioDomainUrl(Aws::String&& value) { SetSageMakerStudioDomainUrl(std::move(value)); return *this;}
151 inline Environment& WithSageMakerStudioDomainUrl(const char* value) { SetSageMakerStudioDomainUrl(value); return *this;}
153
155
158 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
159 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
160 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
161 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
162 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
163 inline Environment& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
164 inline Environment& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
165 inline Environment& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
167
169
173 inline const Aws::String& GetDedicatedServiceAccountId() const{ return m_dedicatedServiceAccountId; }
174 inline bool DedicatedServiceAccountIdHasBeenSet() const { return m_dedicatedServiceAccountIdHasBeenSet; }
175 inline void SetDedicatedServiceAccountId(const Aws::String& value) { m_dedicatedServiceAccountIdHasBeenSet = true; m_dedicatedServiceAccountId = value; }
176 inline void SetDedicatedServiceAccountId(Aws::String&& value) { m_dedicatedServiceAccountIdHasBeenSet = true; m_dedicatedServiceAccountId = std::move(value); }
177 inline void SetDedicatedServiceAccountId(const char* value) { m_dedicatedServiceAccountIdHasBeenSet = true; m_dedicatedServiceAccountId.assign(value); }
179 inline Environment& WithDedicatedServiceAccountId(Aws::String&& value) { SetDedicatedServiceAccountId(std::move(value)); return *this;}
180 inline Environment& WithDedicatedServiceAccountId(const char* value) { SetDedicatedServiceAccountId(value); return *this;}
182
184
187 inline const FederationMode& GetFederationMode() const{ return m_federationMode; }
188 inline bool FederationModeHasBeenSet() const { return m_federationModeHasBeenSet; }
189 inline void SetFederationMode(const FederationMode& value) { m_federationModeHasBeenSet = true; m_federationMode = value; }
190 inline void SetFederationMode(FederationMode&& value) { m_federationModeHasBeenSet = true; m_federationMode = std::move(value); }
191 inline Environment& WithFederationMode(const FederationMode& value) { SetFederationMode(value); return *this;}
192 inline Environment& WithFederationMode(FederationMode&& value) { SetFederationMode(std::move(value)); return *this;}
194
196
199 inline const FederationParameters& GetFederationParameters() const{ return m_federationParameters; }
200 inline bool FederationParametersHasBeenSet() const { return m_federationParametersHasBeenSet; }
201 inline void SetFederationParameters(const FederationParameters& value) { m_federationParametersHasBeenSet = true; m_federationParameters = value; }
202 inline void SetFederationParameters(FederationParameters&& value) { m_federationParametersHasBeenSet = true; m_federationParameters = std::move(value); }
204 inline Environment& WithFederationParameters(FederationParameters&& value) { SetFederationParameters(std::move(value)); return *this;}
206 private:
207
208 Aws::String m_name;
209 bool m_nameHasBeenSet = false;
210
211 Aws::String m_environmentId;
212 bool m_environmentIdHasBeenSet = false;
213
214 Aws::String m_awsAccountId;
215 bool m_awsAccountIdHasBeenSet = false;
216
217 EnvironmentStatus m_status;
218 bool m_statusHasBeenSet = false;
219
220 Aws::String m_environmentUrl;
221 bool m_environmentUrlHasBeenSet = false;
222
223 Aws::String m_description;
224 bool m_descriptionHasBeenSet = false;
225
226 Aws::String m_environmentArn;
227 bool m_environmentArnHasBeenSet = false;
228
229 Aws::String m_sageMakerStudioDomainUrl;
230 bool m_sageMakerStudioDomainUrlHasBeenSet = false;
231
232 Aws::String m_kmsKeyId;
233 bool m_kmsKeyIdHasBeenSet = false;
234
235 Aws::String m_dedicatedServiceAccountId;
236 bool m_dedicatedServiceAccountIdHasBeenSet = false;
237
238 FederationMode m_federationMode;
239 bool m_federationModeHasBeenSet = false;
240
241 FederationParameters m_federationParameters;
242 bool m_federationParametersHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace finspace
247} // namespace Aws
void SetEnvironmentArn(const char *value)
void SetFederationMode(const FederationMode &value)
void SetSageMakerStudioDomainUrl(const char *value)
void SetFederationParameters(const FederationParameters &value)
Environment & WithDescription(Aws::String &&value)
Environment & WithSageMakerStudioDomainUrl(const Aws::String &value)
Environment & WithEnvironmentId(const Aws::String &value)
Definition Environment.h:66
void SetSageMakerStudioDomainUrl(const Aws::String &value)
Environment & WithDedicatedServiceAccountId(Aws::String &&value)
void SetStatus(EnvironmentStatus &&value)
Definition Environment.h:92
void SetDedicatedServiceAccountId(Aws::String &&value)
void SetEnvironmentId(Aws::String &&value)
Definition Environment.h:64
void SetDescription(Aws::String &&value)
void SetEnvironmentId(const Aws::String &value)
Definition Environment.h:63
void SetEnvironmentUrl(Aws::String &&value)
void SetDescription(const char *value)
void SetEnvironmentArn(Aws::String &&value)
void SetAwsAccountId(const char *value)
Definition Environment.h:79
Environment & WithFederationParameters(const FederationParameters &value)
void SetName(Aws::String &&value)
Definition Environment.h:50
void SetStatus(const EnvironmentStatus &value)
Definition Environment.h:91
const Aws::String & GetDescription() const
void SetDedicatedServiceAccountId(const Aws::String &value)
Environment & WithKmsKeyId(const Aws::String &value)
const FederationParameters & GetFederationParameters() const
AWS_FINSPACE_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
Environment & WithStatus(EnvironmentStatus &&value)
Definition Environment.h:94
void SetFederationParameters(FederationParameters &&value)
bool DedicatedServiceAccountIdHasBeenSet() const
AWS_FINSPACE_API Environment(Aws::Utils::Json::JsonView jsonValue)
Environment & WithDedicatedServiceAccountId(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
bool SageMakerStudioDomainUrlHasBeenSet() const
void SetName(const char *value)
Definition Environment.h:51
Environment & WithSageMakerStudioDomainUrl(const char *value)
void SetAwsAccountId(Aws::String &&value)
Definition Environment.h:78
Environment & WithKmsKeyId(Aws::String &&value)
Environment & WithEnvironmentId(Aws::String &&value)
Definition Environment.h:67
Environment & WithDescription(const Aws::String &value)
Environment & WithEnvironmentUrl(Aws::String &&value)
const Aws::String & GetDedicatedServiceAccountId() const
void SetEnvironmentUrl(const char *value)
void SetFederationMode(FederationMode &&value)
const Aws::String & GetEnvironmentArn() const
void SetEnvironmentArn(const Aws::String &value)
Environment & WithStatus(const EnvironmentStatus &value)
Definition Environment.h:93
Environment & WithEnvironmentArn(Aws::String &&value)
Environment & WithEnvironmentId(const char *value)
Definition Environment.h:68
Environment & WithAwsAccountId(Aws::String &&value)
Definition Environment.h:81
Environment & WithFederationMode(FederationMode &&value)
const EnvironmentStatus & GetStatus() const
Definition Environment.h:89
Environment & WithName(Aws::String &&value)
Definition Environment.h:53
const Aws::String & GetName() const
Definition Environment.h:47
void SetName(const Aws::String &value)
Definition Environment.h:49
void SetEnvironmentUrl(const Aws::String &value)
Environment & WithFederationMode(const FederationMode &value)
Environment & WithAwsAccountId(const Aws::String &value)
Definition Environment.h:80
const Aws::String & GetSageMakerStudioDomainUrl() const
Environment & WithSageMakerStudioDomainUrl(Aws::String &&value)
const Aws::String & GetEnvironmentUrl() const
void SetEnvironmentId(const char *value)
Definition Environment.h:65
void SetKmsKeyId(Aws::String &&value)
void SetAwsAccountId(const Aws::String &value)
Definition Environment.h:77
void SetSageMakerStudioDomainUrl(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetAwsAccountId() const
Definition Environment.h:75
const Aws::String & GetEnvironmentId() const
Definition Environment.h:61
Environment & WithFederationParameters(FederationParameters &&value)
void SetDescription(const Aws::String &value)
const FederationMode & GetFederationMode() const
Environment & WithName(const char *value)
Definition Environment.h:54
Environment & WithDedicatedServiceAccountId(const char *value)
Environment & WithKmsKeyId(const char *value)
Environment & WithEnvironmentUrl(const Aws::String &value)
Environment & WithName(const Aws::String &value)
Definition Environment.h:52
Environment & WithEnvironmentArn(const char *value)
void SetDedicatedServiceAccountId(const char *value)
Environment & WithAwsAccountId(const char *value)
Definition Environment.h:82
Environment & WithEnvironmentUrl(const char *value)
Environment & WithDescription(const char *value)
void SetKmsKeyId(const char *value)
Environment & WithEnvironmentArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue