AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SparkEmrPropertiesOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/UsernamePassword.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/datazone/model/GovernanceType.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 DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API SparkEmrPropertiesOutput() = default;
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
48 inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; }
49 template<typename ComputeArnT = Aws::String>
50 void SetComputeArn(ComputeArnT&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::forward<ComputeArnT>(value); }
51 template<typename ComputeArnT = Aws::String>
52 SparkEmrPropertiesOutput& WithComputeArn(ComputeArnT&& value) { SetComputeArn(std::forward<ComputeArnT>(value)); return *this;}
54
56
59 inline const UsernamePassword& GetCredentials() const { return m_credentials; }
60 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
61 template<typename CredentialsT = UsernamePassword>
62 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet = true; m_credentials = std::forward<CredentialsT>(value); }
63 template<typename CredentialsT = UsernamePassword>
64 SparkEmrPropertiesOutput& WithCredentials(CredentialsT&& value) { SetCredentials(std::forward<CredentialsT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCredentialsExpiration() const { return m_credentialsExpiration; }
72 inline bool CredentialsExpirationHasBeenSet() const { return m_credentialsExpirationHasBeenSet; }
73 template<typename CredentialsExpirationT = Aws::Utils::DateTime>
74 void SetCredentialsExpiration(CredentialsExpirationT&& value) { m_credentialsExpirationHasBeenSet = true; m_credentialsExpiration = std::forward<CredentialsExpirationT>(value); }
75 template<typename CredentialsExpirationT = Aws::Utils::DateTime>
76 SparkEmrPropertiesOutput& WithCredentialsExpiration(CredentialsExpirationT&& value) { SetCredentialsExpiration(std::forward<CredentialsExpirationT>(value)); return *this;}
78
80
83 inline GovernanceType GetGovernanceType() const { return m_governanceType; }
84 inline bool GovernanceTypeHasBeenSet() const { return m_governanceTypeHasBeenSet; }
85 inline void SetGovernanceType(GovernanceType value) { m_governanceTypeHasBeenSet = true; m_governanceType = value; }
88
90
93 inline const Aws::String& GetInstanceProfileArn() const { return m_instanceProfileArn; }
94 inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; }
95 template<typename InstanceProfileArnT = Aws::String>
96 void SetInstanceProfileArn(InstanceProfileArnT&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::forward<InstanceProfileArnT>(value); }
97 template<typename InstanceProfileArnT = Aws::String>
98 SparkEmrPropertiesOutput& WithInstanceProfileArn(InstanceProfileArnT&& value) { SetInstanceProfileArn(std::forward<InstanceProfileArnT>(value)); return *this;}
100
102
105 inline const Aws::String& GetJavaVirtualEnv() const { return m_javaVirtualEnv; }
106 inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; }
107 template<typename JavaVirtualEnvT = Aws::String>
108 void SetJavaVirtualEnv(JavaVirtualEnvT&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::forward<JavaVirtualEnvT>(value); }
109 template<typename JavaVirtualEnvT = Aws::String>
110 SparkEmrPropertiesOutput& WithJavaVirtualEnv(JavaVirtualEnvT&& value) { SetJavaVirtualEnv(std::forward<JavaVirtualEnvT>(value)); return *this;}
112
114
117 inline const Aws::String& GetLivyEndpoint() const { return m_livyEndpoint; }
118 inline bool LivyEndpointHasBeenSet() const { return m_livyEndpointHasBeenSet; }
119 template<typename LivyEndpointT = Aws::String>
120 void SetLivyEndpoint(LivyEndpointT&& value) { m_livyEndpointHasBeenSet = true; m_livyEndpoint = std::forward<LivyEndpointT>(value); }
121 template<typename LivyEndpointT = Aws::String>
122 SparkEmrPropertiesOutput& WithLivyEndpoint(LivyEndpointT&& value) { SetLivyEndpoint(std::forward<LivyEndpointT>(value)); return *this;}
124
126
129 inline const Aws::String& GetLogUri() const { return m_logUri; }
130 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
131 template<typename LogUriT = Aws::String>
132 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
133 template<typename LogUriT = Aws::String>
134 SparkEmrPropertiesOutput& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
136
138
141 inline const Aws::String& GetPythonVirtualEnv() const { return m_pythonVirtualEnv; }
142 inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; }
143 template<typename PythonVirtualEnvT = Aws::String>
144 void SetPythonVirtualEnv(PythonVirtualEnvT&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::forward<PythonVirtualEnvT>(value); }
145 template<typename PythonVirtualEnvT = Aws::String>
146 SparkEmrPropertiesOutput& WithPythonVirtualEnv(PythonVirtualEnvT&& value) { SetPythonVirtualEnv(std::forward<PythonVirtualEnvT>(value)); return *this;}
148
150
153 inline const Aws::String& GetRuntimeRole() const { return m_runtimeRole; }
154 inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; }
155 template<typename RuntimeRoleT = Aws::String>
156 void SetRuntimeRole(RuntimeRoleT&& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = std::forward<RuntimeRoleT>(value); }
157 template<typename RuntimeRoleT = Aws::String>
158 SparkEmrPropertiesOutput& WithRuntimeRole(RuntimeRoleT&& value) { SetRuntimeRole(std::forward<RuntimeRoleT>(value)); return *this;}
160
162
165 inline const Aws::String& GetTrustedCertificatesS3Uri() const { return m_trustedCertificatesS3Uri; }
166 inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; }
167 template<typename TrustedCertificatesS3UriT = Aws::String>
168 void SetTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = std::forward<TrustedCertificatesS3UriT>(value); }
169 template<typename TrustedCertificatesS3UriT = Aws::String>
170 SparkEmrPropertiesOutput& WithTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) { SetTrustedCertificatesS3Uri(std::forward<TrustedCertificatesS3UriT>(value)); return *this;}
172 private:
173
174 Aws::String m_computeArn;
175 bool m_computeArnHasBeenSet = false;
176
177 UsernamePassword m_credentials;
178 bool m_credentialsHasBeenSet = false;
179
180 Aws::Utils::DateTime m_credentialsExpiration{};
181 bool m_credentialsExpirationHasBeenSet = false;
182
183 GovernanceType m_governanceType{GovernanceType::NOT_SET};
184 bool m_governanceTypeHasBeenSet = false;
185
186 Aws::String m_instanceProfileArn;
187 bool m_instanceProfileArnHasBeenSet = false;
188
189 Aws::String m_javaVirtualEnv;
190 bool m_javaVirtualEnvHasBeenSet = false;
191
192 Aws::String m_livyEndpoint;
193 bool m_livyEndpointHasBeenSet = false;
194
195 Aws::String m_logUri;
196 bool m_logUriHasBeenSet = false;
197
198 Aws::String m_pythonVirtualEnv;
199 bool m_pythonVirtualEnvHasBeenSet = false;
200
201 Aws::String m_runtimeRole;
202 bool m_runtimeRoleHasBeenSet = false;
203
204 Aws::String m_trustedCertificatesS3Uri;
205 bool m_trustedCertificatesS3UriHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace DataZone
210} // 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
const Aws::Utils::DateTime & GetCredentialsExpiration() const
SparkEmrPropertiesOutput & WithPythonVirtualEnv(PythonVirtualEnvT &&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)
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