AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
SparkEmrPropertiesPatch.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API SparkEmrPropertiesPatch() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
39 inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; }
40 template <typename ComputeArnT = Aws::String>
41 void SetComputeArn(ComputeArnT&& value) {
42 m_computeArnHasBeenSet = true;
43 m_computeArn = std::forward<ComputeArnT>(value);
44 }
45 template <typename ComputeArnT = Aws::String>
47 SetComputeArn(std::forward<ComputeArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetInstanceProfileArn() const { return m_instanceProfileArn; }
57 inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; }
58 template <typename InstanceProfileArnT = Aws::String>
59 void SetInstanceProfileArn(InstanceProfileArnT&& value) {
60 m_instanceProfileArnHasBeenSet = true;
61 m_instanceProfileArn = std::forward<InstanceProfileArnT>(value);
62 }
63 template <typename InstanceProfileArnT = Aws::String>
64 SparkEmrPropertiesPatch& WithInstanceProfileArn(InstanceProfileArnT&& value) {
65 SetInstanceProfileArn(std::forward<InstanceProfileArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetJavaVirtualEnv() const { return m_javaVirtualEnv; }
75 inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; }
76 template <typename JavaVirtualEnvT = Aws::String>
77 void SetJavaVirtualEnv(JavaVirtualEnvT&& value) {
78 m_javaVirtualEnvHasBeenSet = true;
79 m_javaVirtualEnv = std::forward<JavaVirtualEnvT>(value);
80 }
81 template <typename JavaVirtualEnvT = Aws::String>
82 SparkEmrPropertiesPatch& WithJavaVirtualEnv(JavaVirtualEnvT&& value) {
83 SetJavaVirtualEnv(std::forward<JavaVirtualEnvT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetLogUri() const { return m_logUri; }
93 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
94 template <typename LogUriT = Aws::String>
95 void SetLogUri(LogUriT&& value) {
96 m_logUriHasBeenSet = true;
97 m_logUri = std::forward<LogUriT>(value);
98 }
99 template <typename LogUriT = Aws::String>
101 SetLogUri(std::forward<LogUriT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetPythonVirtualEnv() const { return m_pythonVirtualEnv; }
111 inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; }
112 template <typename PythonVirtualEnvT = Aws::String>
113 void SetPythonVirtualEnv(PythonVirtualEnvT&& value) {
114 m_pythonVirtualEnvHasBeenSet = true;
115 m_pythonVirtualEnv = std::forward<PythonVirtualEnvT>(value);
116 }
117 template <typename PythonVirtualEnvT = Aws::String>
118 SparkEmrPropertiesPatch& WithPythonVirtualEnv(PythonVirtualEnvT&& value) {
119 SetPythonVirtualEnv(std::forward<PythonVirtualEnvT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetRuntimeRole() const { return m_runtimeRole; }
129 inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; }
130 template <typename RuntimeRoleT = Aws::String>
131 void SetRuntimeRole(RuntimeRoleT&& value) {
132 m_runtimeRoleHasBeenSet = true;
133 m_runtimeRole = std::forward<RuntimeRoleT>(value);
134 }
135 template <typename RuntimeRoleT = Aws::String>
137 SetRuntimeRole(std::forward<RuntimeRoleT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetTrustedCertificatesS3Uri() const { return m_trustedCertificatesS3Uri; }
147 inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; }
148 template <typename TrustedCertificatesS3UriT = Aws::String>
149 void SetTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) {
150 m_trustedCertificatesS3UriHasBeenSet = true;
151 m_trustedCertificatesS3Uri = std::forward<TrustedCertificatesS3UriT>(value);
152 }
153 template <typename TrustedCertificatesS3UriT = Aws::String>
154 SparkEmrPropertiesPatch& WithTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) {
155 SetTrustedCertificatesS3Uri(std::forward<TrustedCertificatesS3UriT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetManagedEndpointArn() const { return m_managedEndpointArn; }
165 inline bool ManagedEndpointArnHasBeenSet() const { return m_managedEndpointArnHasBeenSet; }
166 template <typename ManagedEndpointArnT = Aws::String>
167 void SetManagedEndpointArn(ManagedEndpointArnT&& value) {
168 m_managedEndpointArnHasBeenSet = true;
169 m_managedEndpointArn = std::forward<ManagedEndpointArnT>(value);
170 }
171 template <typename ManagedEndpointArnT = Aws::String>
172 SparkEmrPropertiesPatch& WithManagedEndpointArn(ManagedEndpointArnT&& value) {
173 SetManagedEndpointArn(std::forward<ManagedEndpointArnT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_computeArn;
179
180 Aws::String m_instanceProfileArn;
181
182 Aws::String m_javaVirtualEnv;
183
184 Aws::String m_logUri;
185
186 Aws::String m_pythonVirtualEnv;
187
188 Aws::String m_runtimeRole;
189
190 Aws::String m_trustedCertificatesS3Uri;
191
192 Aws::String m_managedEndpointArn;
193 bool m_computeArnHasBeenSet = false;
194 bool m_instanceProfileArnHasBeenSet = false;
195 bool m_javaVirtualEnvHasBeenSet = false;
196 bool m_logUriHasBeenSet = false;
197 bool m_pythonVirtualEnvHasBeenSet = false;
198 bool m_runtimeRoleHasBeenSet = false;
199 bool m_trustedCertificatesS3UriHasBeenSet = false;
200 bool m_managedEndpointArnHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace DataZone
205} // namespace Aws
AWS_DATAZONE_API SparkEmrPropertiesPatch()=default
SparkEmrPropertiesPatch & WithManagedEndpointArn(ManagedEndpointArnT &&value)
AWS_DATAZONE_API SparkEmrPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedEndpointArn(ManagedEndpointArnT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SparkEmrPropertiesPatch & WithRuntimeRole(RuntimeRoleT &&value)
SparkEmrPropertiesPatch & WithJavaVirtualEnv(JavaVirtualEnvT &&value)
void SetInstanceProfileArn(InstanceProfileArnT &&value)
AWS_DATAZONE_API SparkEmrPropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
void SetTrustedCertificatesS3Uri(TrustedCertificatesS3UriT &&value)
SparkEmrPropertiesPatch & WithInstanceProfileArn(InstanceProfileArnT &&value)
SparkEmrPropertiesPatch & WithComputeArn(ComputeArnT &&value)
SparkEmrPropertiesPatch & WithPythonVirtualEnv(PythonVirtualEnvT &&value)
SparkEmrPropertiesPatch & WithTrustedCertificatesS3Uri(TrustedCertificatesS3UriT &&value)
SparkEmrPropertiesPatch & WithLogUri(LogUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue