AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SparkEmrPropertiesPatch.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API SparkEmrPropertiesPatch() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
45 inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; }
46 template<typename ComputeArnT = Aws::String>
47 void SetComputeArn(ComputeArnT&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::forward<ComputeArnT>(value); }
48 template<typename ComputeArnT = Aws::String>
49 SparkEmrPropertiesPatch& WithComputeArn(ComputeArnT&& value) { SetComputeArn(std::forward<ComputeArnT>(value)); return *this;}
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) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::forward<InstanceProfileArnT>(value); }
60 template<typename InstanceProfileArnT = Aws::String>
61 SparkEmrPropertiesPatch& WithInstanceProfileArn(InstanceProfileArnT&& value) { SetInstanceProfileArn(std::forward<InstanceProfileArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetJavaVirtualEnv() const { return m_javaVirtualEnv; }
69 inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; }
70 template<typename JavaVirtualEnvT = Aws::String>
71 void SetJavaVirtualEnv(JavaVirtualEnvT&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::forward<JavaVirtualEnvT>(value); }
72 template<typename JavaVirtualEnvT = Aws::String>
73 SparkEmrPropertiesPatch& WithJavaVirtualEnv(JavaVirtualEnvT&& value) { SetJavaVirtualEnv(std::forward<JavaVirtualEnvT>(value)); return *this;}
75
77
80 inline const Aws::String& GetLogUri() const { return m_logUri; }
81 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
82 template<typename LogUriT = Aws::String>
83 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
84 template<typename LogUriT = Aws::String>
85 SparkEmrPropertiesPatch& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
87
89
92 inline const Aws::String& GetPythonVirtualEnv() const { return m_pythonVirtualEnv; }
93 inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; }
94 template<typename PythonVirtualEnvT = Aws::String>
95 void SetPythonVirtualEnv(PythonVirtualEnvT&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::forward<PythonVirtualEnvT>(value); }
96 template<typename PythonVirtualEnvT = Aws::String>
97 SparkEmrPropertiesPatch& WithPythonVirtualEnv(PythonVirtualEnvT&& value) { SetPythonVirtualEnv(std::forward<PythonVirtualEnvT>(value)); return *this;}
99
101
104 inline const Aws::String& GetRuntimeRole() const { return m_runtimeRole; }
105 inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; }
106 template<typename RuntimeRoleT = Aws::String>
107 void SetRuntimeRole(RuntimeRoleT&& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = std::forward<RuntimeRoleT>(value); }
108 template<typename RuntimeRoleT = Aws::String>
109 SparkEmrPropertiesPatch& WithRuntimeRole(RuntimeRoleT&& value) { SetRuntimeRole(std::forward<RuntimeRoleT>(value)); return *this;}
111
113
116 inline const Aws::String& GetTrustedCertificatesS3Uri() const { return m_trustedCertificatesS3Uri; }
117 inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; }
118 template<typename TrustedCertificatesS3UriT = Aws::String>
119 void SetTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = std::forward<TrustedCertificatesS3UriT>(value); }
120 template<typename TrustedCertificatesS3UriT = Aws::String>
121 SparkEmrPropertiesPatch& WithTrustedCertificatesS3Uri(TrustedCertificatesS3UriT&& value) { SetTrustedCertificatesS3Uri(std::forward<TrustedCertificatesS3UriT>(value)); return *this;}
123 private:
124
125 Aws::String m_computeArn;
126 bool m_computeArnHasBeenSet = false;
127
128 Aws::String m_instanceProfileArn;
129 bool m_instanceProfileArnHasBeenSet = false;
130
131 Aws::String m_javaVirtualEnv;
132 bool m_javaVirtualEnvHasBeenSet = false;
133
134 Aws::String m_logUri;
135 bool m_logUriHasBeenSet = false;
136
137 Aws::String m_pythonVirtualEnv;
138 bool m_pythonVirtualEnvHasBeenSet = false;
139
140 Aws::String m_runtimeRole;
141 bool m_runtimeRoleHasBeenSet = false;
142
143 Aws::String m_trustedCertificatesS3Uri;
144 bool m_trustedCertificatesS3UriHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace DataZone
149} // namespace Aws
AWS_DATAZONE_API SparkEmrPropertiesPatch()=default
AWS_DATAZONE_API SparkEmrPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
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