AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 Environment& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
63 template<typename EnvironmentIdT = Aws::String>
64 Environment& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
72 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
73 template<typename AwsAccountIdT = Aws::String>
74 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
75 template<typename AwsAccountIdT = Aws::String>
76 Environment& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
78
80
83 inline EnvironmentStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline Environment& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::String& GetEnvironmentUrl() const { return m_environmentUrl; }
94 inline bool EnvironmentUrlHasBeenSet() const { return m_environmentUrlHasBeenSet; }
95 template<typename EnvironmentUrlT = Aws::String>
96 void SetEnvironmentUrl(EnvironmentUrlT&& value) { m_environmentUrlHasBeenSet = true; m_environmentUrl = std::forward<EnvironmentUrlT>(value); }
97 template<typename EnvironmentUrlT = Aws::String>
98 Environment& WithEnvironmentUrl(EnvironmentUrlT&& value) { SetEnvironmentUrl(std::forward<EnvironmentUrlT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template<typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
109 template<typename DescriptionT = Aws::String>
110 Environment& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
112
114
117 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
118 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
119 template<typename EnvironmentArnT = Aws::String>
120 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
121 template<typename EnvironmentArnT = Aws::String>
122 Environment& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
124
126
130 inline const Aws::String& GetSageMakerStudioDomainUrl() const { return m_sageMakerStudioDomainUrl; }
131 inline bool SageMakerStudioDomainUrlHasBeenSet() const { return m_sageMakerStudioDomainUrlHasBeenSet; }
132 template<typename SageMakerStudioDomainUrlT = Aws::String>
133 void SetSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT&& value) { m_sageMakerStudioDomainUrlHasBeenSet = true; m_sageMakerStudioDomainUrl = std::forward<SageMakerStudioDomainUrlT>(value); }
134 template<typename SageMakerStudioDomainUrlT = Aws::String>
135 Environment& WithSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT&& value) { SetSageMakerStudioDomainUrl(std::forward<SageMakerStudioDomainUrlT>(value)); return *this;}
137
139
142 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
143 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
144 template<typename KmsKeyIdT = Aws::String>
145 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
146 template<typename KmsKeyIdT = Aws::String>
147 Environment& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
149
151
155 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
156 inline bool DedicatedServiceAccountIdHasBeenSet() const { return m_dedicatedServiceAccountIdHasBeenSet; }
157 template<typename DedicatedServiceAccountIdT = Aws::String>
158 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) { m_dedicatedServiceAccountIdHasBeenSet = true; m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value); }
159 template<typename DedicatedServiceAccountIdT = Aws::String>
160 Environment& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) { SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value)); return *this;}
162
164
167 inline FederationMode GetFederationMode() const { return m_federationMode; }
168 inline bool FederationModeHasBeenSet() const { return m_federationModeHasBeenSet; }
169 inline void SetFederationMode(FederationMode value) { m_federationModeHasBeenSet = true; m_federationMode = value; }
170 inline Environment& WithFederationMode(FederationMode value) { SetFederationMode(value); return *this;}
172
174
177 inline const FederationParameters& GetFederationParameters() const { return m_federationParameters; }
178 inline bool FederationParametersHasBeenSet() const { return m_federationParametersHasBeenSet; }
179 template<typename FederationParametersT = FederationParameters>
180 void SetFederationParameters(FederationParametersT&& value) { m_federationParametersHasBeenSet = true; m_federationParameters = std::forward<FederationParametersT>(value); }
181 template<typename FederationParametersT = FederationParameters>
182 Environment& WithFederationParameters(FederationParametersT&& value) { SetFederationParameters(std::forward<FederationParametersT>(value)); return *this;}
184 private:
185
186 Aws::String m_name;
187 bool m_nameHasBeenSet = false;
188
189 Aws::String m_environmentId;
190 bool m_environmentIdHasBeenSet = false;
191
192 Aws::String m_awsAccountId;
193 bool m_awsAccountIdHasBeenSet = false;
194
196 bool m_statusHasBeenSet = false;
197
198 Aws::String m_environmentUrl;
199 bool m_environmentUrlHasBeenSet = false;
200
201 Aws::String m_description;
202 bool m_descriptionHasBeenSet = false;
203
204 Aws::String m_environmentArn;
205 bool m_environmentArnHasBeenSet = false;
206
207 Aws::String m_sageMakerStudioDomainUrl;
208 bool m_sageMakerStudioDomainUrlHasBeenSet = false;
209
210 Aws::String m_kmsKeyId;
211 bool m_kmsKeyIdHasBeenSet = false;
212
213 Aws::String m_dedicatedServiceAccountId;
214 bool m_dedicatedServiceAccountIdHasBeenSet = false;
215
216 FederationMode m_federationMode{FederationMode::NOT_SET};
217 bool m_federationModeHasBeenSet = false;
218
219 FederationParameters m_federationParameters;
220 bool m_federationParametersHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace finspace
225} // 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:85
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:64
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:83
Environment & WithStatus(EnvironmentStatus value)
Definition Environment.h:86
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:47
Environment & WithEnvironmentUrl(EnvironmentUrlT &&value)
Definition Environment.h:98
Environment & WithDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
void SetFederationParameters(FederationParametersT &&value)
const Aws::String & GetSageMakerStudioDomainUrl() const
const Aws::String & GetEnvironmentUrl() const
Definition Environment.h:93
Environment & WithAwsAccountId(AwsAccountIdT &&value)
Definition Environment.h:76
const Aws::String & GetKmsKeyId() const
const Aws::String & GetAwsAccountId() const
Definition Environment.h:71
const Aws::String & GetEnvironmentId() const
Definition Environment.h:59
void SetAwsAccountId(AwsAccountIdT &&value)
Definition Environment.h:74
void SetSageMakerStudioDomainUrl(SageMakerStudioDomainUrlT &&value)
Environment & WithName(NameT &&value)
Definition Environment.h:52
void SetEnvironmentUrl(EnvironmentUrlT &&value)
Definition Environment.h:96
void SetEnvironmentArn(EnvironmentArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue