AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
SparkEmrPropertiesOutput.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/GovernanceType.h>
11#include <aws/datazone/model/ManagedEndpointCredentials.h>
12#include <aws/datazone/model/UsernamePassword.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
25
32 public:
33 AWS_DATAZONE_API SparkEmrPropertiesOutput() = default;
36 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
43 inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; }
44 template <typename ComputeArnT = Aws::String>
45 void SetComputeArn(ComputeArnT&& value) {
46 m_computeArnHasBeenSet = true;
47 m_computeArn = std::forward<ComputeArnT>(value);
48 }
49 template <typename ComputeArnT = Aws::String>
51 SetComputeArn(std::forward<ComputeArnT>(value));
52 return *this;
53 }
55
57
60 inline const UsernamePassword& GetCredentials() const { return m_credentials; }
61 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
62 template <typename CredentialsT = UsernamePassword>
63 void SetCredentials(CredentialsT&& value) {
64 m_credentialsHasBeenSet = true;
65 m_credentials = std::forward<CredentialsT>(value);
66 }
67 template <typename CredentialsT = UsernamePassword>
69 SetCredentials(std::forward<CredentialsT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetCredentialsExpiration() const { return m_credentialsExpiration; }
79 inline bool CredentialsExpirationHasBeenSet() const { return m_credentialsExpirationHasBeenSet; }
80 template <typename CredentialsExpirationT = Aws::Utils::DateTime>
81 void SetCredentialsExpiration(CredentialsExpirationT&& value) {
82 m_credentialsExpirationHasBeenSet = true;
83 m_credentialsExpiration = std::forward<CredentialsExpirationT>(value);
84 }
85 template <typename CredentialsExpirationT = Aws::Utils::DateTime>
86 SparkEmrPropertiesOutput& WithCredentialsExpiration(CredentialsExpirationT&& value) {
87 SetCredentialsExpiration(std::forward<CredentialsExpirationT>(value));
88 return *this;
89 }
91
93
96 inline GovernanceType GetGovernanceType() const { return m_governanceType; }
97 inline bool GovernanceTypeHasBeenSet() const { return m_governanceTypeHasBeenSet; }
98 inline void SetGovernanceType(GovernanceType value) {
99 m_governanceTypeHasBeenSet = true;
100 m_governanceType = value;
101 }
103 SetGovernanceType(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetInstanceProfileArn() const { return m_instanceProfileArn; }
113 inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; }
114 template <typename InstanceProfileArnT = Aws::String>
115 void SetInstanceProfileArn(InstanceProfileArnT&& value) {
116 m_instanceProfileArnHasBeenSet = true;
117 m_instanceProfileArn = std::forward<InstanceProfileArnT>(value);
118 }
119 template <typename InstanceProfileArnT = Aws::String>
120 SparkEmrPropertiesOutput& WithInstanceProfileArn(InstanceProfileArnT&& value) {
121 SetInstanceProfileArn(std::forward<InstanceProfileArnT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetJavaVirtualEnv() const { return m_javaVirtualEnv; }
131 inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; }
132 template <typename JavaVirtualEnvT = Aws::String>
133 void SetJavaVirtualEnv(JavaVirtualEnvT&& value) {
134 m_javaVirtualEnvHasBeenSet = true;
135 m_javaVirtualEnv = std::forward<JavaVirtualEnvT>(value);
136 }
137 template <typename JavaVirtualEnvT = Aws::String>
139 SetJavaVirtualEnv(std::forward<JavaVirtualEnvT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetLivyEndpoint() const { return m_livyEndpoint; }
149 inline bool LivyEndpointHasBeenSet() const { return m_livyEndpointHasBeenSet; }
150 template <typename LivyEndpointT = Aws::String>
151 void SetLivyEndpoint(LivyEndpointT&& value) {
152 m_livyEndpointHasBeenSet = true;
153 m_livyEndpoint = std::forward<LivyEndpointT>(value);
154 }
155 template <typename LivyEndpointT = Aws::String>
157 SetLivyEndpoint(std::forward<LivyEndpointT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetLogUri() const { return m_logUri; }
167 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
168 template <typename LogUriT = Aws::String>
169 void SetLogUri(LogUriT&& value) {
170 m_logUriHasBeenSet = true;
171 m_logUri = std::forward<LogUriT>(value);
172 }
173 template <typename LogUriT = Aws::String>
175 SetLogUri(std::forward<LogUriT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetPythonVirtualEnv() const { return m_pythonVirtualEnv; }
185 inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; }
186 template <typename PythonVirtualEnvT = Aws::String>
187 void SetPythonVirtualEnv(PythonVirtualEnvT&& value) {
188 m_pythonVirtualEnvHasBeenSet = true;
189 m_pythonVirtualEnv = std::forward<PythonVirtualEnvT>(value);
190 }
191 template <typename PythonVirtualEnvT = Aws::String>
192 SparkEmrPropertiesOutput& WithPythonVirtualEnv(PythonVirtualEnvT&& value) {
193 SetPythonVirtualEnv(std::forward<PythonVirtualEnvT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::String& GetRuntimeRole() const { return m_runtimeRole; }
203 inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; }
204 template <typename RuntimeRoleT = Aws::String>
205 void SetRuntimeRole(RuntimeRoleT&& value) {
206 m_runtimeRoleHasBeenSet = true;
207 m_runtimeRole = std::forward<RuntimeRoleT>(value);
208 }
209 template <typename RuntimeRoleT = Aws::String>
211 SetRuntimeRole(std::forward<RuntimeRoleT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::String& GetTrustedCertificatesS3Uri() const { return m_trustedCertificatesS3Uri; }
221 inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; }
222 template <typename TrustedCertificatesS3UriT = Aws::String>
223 void SetTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) {
224 m_trustedCertificatesS3UriHasBeenSet = true;
225 m_trustedCertificatesS3Uri = std::forward<TrustedCertificatesS3UriT>(value);
226 }
227 template <typename TrustedCertificatesS3UriT = Aws::String>
228 SparkEmrPropertiesOutput& WithTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) {
229 SetTrustedCertificatesS3Uri(std::forward<TrustedCertificatesS3UriT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetCertificateData() const { return m_certificateData; }
239 inline bool CertificateDataHasBeenSet() const { return m_certificateDataHasBeenSet; }
240 template <typename CertificateDataT = Aws::String>
241 void SetCertificateData(CertificateDataT&& value) {
242 m_certificateDataHasBeenSet = true;
243 m_certificateData = std::forward<CertificateDataT>(value);
244 }
245 template <typename CertificateDataT = Aws::String>
247 SetCertificateData(std::forward<CertificateDataT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::String& GetManagedEndpointArn() const { return m_managedEndpointArn; }
257 inline bool ManagedEndpointArnHasBeenSet() const { return m_managedEndpointArnHasBeenSet; }
258 template <typename ManagedEndpointArnT = Aws::String>
259 void SetManagedEndpointArn(ManagedEndpointArnT&& value) {
260 m_managedEndpointArnHasBeenSet = true;
261 m_managedEndpointArn = std::forward<ManagedEndpointArnT>(value);
262 }
263 template <typename ManagedEndpointArnT = Aws::String>
264 SparkEmrPropertiesOutput& WithManagedEndpointArn(ManagedEndpointArnT&& value) {
265 SetManagedEndpointArn(std::forward<ManagedEndpointArnT>(value));
266 return *this;
267 }
269
271
274 inline const ManagedEndpointCredentials& GetManagedEndpointCredentials() const { return m_managedEndpointCredentials; }
275 inline bool ManagedEndpointCredentialsHasBeenSet() const { return m_managedEndpointCredentialsHasBeenSet; }
276 template <typename ManagedEndpointCredentialsT = ManagedEndpointCredentials>
277 void SetManagedEndpointCredentials(ManagedEndpointCredentialsT&& value) {
278 m_managedEndpointCredentialsHasBeenSet = true;
279 m_managedEndpointCredentials = std::forward<ManagedEndpointCredentialsT>(value);
280 }
281 template <typename ManagedEndpointCredentialsT = ManagedEndpointCredentials>
282 SparkEmrPropertiesOutput& WithManagedEndpointCredentials(ManagedEndpointCredentialsT&& value) {
283 SetManagedEndpointCredentials(std::forward<ManagedEndpointCredentialsT>(value));
284 return *this;
285 }
287 private:
288 Aws::String m_computeArn;
289
290 UsernamePassword m_credentials;
291
292 Aws::Utils::DateTime m_credentialsExpiration{};
293
294 GovernanceType m_governanceType{GovernanceType::NOT_SET};
295
296 Aws::String m_instanceProfileArn;
297
298 Aws::String m_javaVirtualEnv;
299
300 Aws::String m_livyEndpoint;
301
302 Aws::String m_logUri;
303
304 Aws::String m_pythonVirtualEnv;
305
306 Aws::String m_runtimeRole;
307
308 Aws::String m_trustedCertificatesS3Uri;
309
310 Aws::String m_certificateData;
311
312 Aws::String m_managedEndpointArn;
313
314 ManagedEndpointCredentials m_managedEndpointCredentials;
315 bool m_computeArnHasBeenSet = false;
316 bool m_credentialsHasBeenSet = false;
317 bool m_credentialsExpirationHasBeenSet = false;
318 bool m_governanceTypeHasBeenSet = false;
319 bool m_instanceProfileArnHasBeenSet = false;
320 bool m_javaVirtualEnvHasBeenSet = false;
321 bool m_livyEndpointHasBeenSet = false;
322 bool m_logUriHasBeenSet = false;
323 bool m_pythonVirtualEnvHasBeenSet = false;
324 bool m_runtimeRoleHasBeenSet = false;
325 bool m_trustedCertificatesS3UriHasBeenSet = false;
326 bool m_certificateDataHasBeenSet = false;
327 bool m_managedEndpointArnHasBeenSet = false;
328 bool m_managedEndpointCredentialsHasBeenSet = false;
329};
330
331} // namespace Model
332} // namespace DataZone
333} // namespace Aws
SparkEmrPropertiesOutput & WithCredentials(CredentialsT &&value)
SparkEmrPropertiesOutput & WithJavaVirtualEnv(JavaVirtualEnvT &&value)
SparkEmrPropertiesOutput & WithLogUri(LogUriT &&value)
SparkEmrPropertiesOutput & WithCredentialsExpiration(CredentialsExpirationT &&value)
AWS_DATAZONE_API SparkEmrPropertiesOutput(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceProfileArn(InstanceProfileArnT &&value)
AWS_DATAZONE_API SparkEmrPropertiesOutput()=default
SparkEmrPropertiesOutput & WithCertificateData(CertificateDataT &&value)
const ManagedEndpointCredentials & GetManagedEndpointCredentials() const
void SetManagedEndpointArn(ManagedEndpointArnT &&value)
const Aws::Utils::DateTime & GetCredentialsExpiration() const
SparkEmrPropertiesOutput & WithPythonVirtualEnv(PythonVirtualEnvT &&value)
SparkEmrPropertiesOutput & WithManagedEndpointArn(ManagedEndpointArnT &&value)
void SetManagedEndpointCredentials(ManagedEndpointCredentialsT &&value)
SparkEmrPropertiesOutput & WithRuntimeRole(RuntimeRoleT &&value)
SparkEmrPropertiesOutput & WithComputeArn(ComputeArnT &&value)
SparkEmrPropertiesOutput & WithTrustedCertificatesS3Uri(TrustedCertificatesS3UriT &&value)
void SetCredentialsExpiration(CredentialsExpirationT &&value)
SparkEmrPropertiesOutput & WithInstanceProfileArn(InstanceProfileArnT &&value)
SparkEmrPropertiesOutput & WithGovernanceType(GovernanceType value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API SparkEmrPropertiesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
SparkEmrPropertiesOutput & WithManagedEndpointCredentials(ManagedEndpointCredentialsT &&value)
void SetTrustedCertificatesS3Uri(TrustedCertificatesS3UriT &&value)
SparkEmrPropertiesOutput & WithLivyEndpoint(LivyEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue