AWS SDK for C++

AWS SDK for C++ Version 1.11.871

Loading...
Searching...
No Matches
ConnectionPropertiesPatch.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AmazonQPropertiesPatch.h>
9#include <aws/datazone/model/AthenaPropertiesPatch.h>
10#include <aws/datazone/model/GitPropertiesPatch.h>
11#include <aws/datazone/model/GluePropertiesPatch.h>
12#include <aws/datazone/model/IamPropertiesPatch.h>
13#include <aws/datazone/model/LakehousePropertiesPatch.h>
14#include <aws/datazone/model/MlflowPropertiesPatch.h>
15#include <aws/datazone/model/RedshiftPropertiesPatch.h>
16#include <aws/datazone/model/S3PropertiesPatch.h>
17#include <aws/datazone/model/SnowflakePropertiesPatch.h>
18#include <aws/datazone/model/SparkEmrPropertiesPatch.h>
19#include <aws/datazone/model/VpcPropertiesPatch.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace DataZone {
31namespace Model {
32
39 public:
40 AWS_DATAZONE_API ConnectionPropertiesPatch() = default;
43 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const AthenaPropertiesPatch& GetAthenaProperties() const { return m_athenaProperties; }
50 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
51 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
52 void SetAthenaProperties(AthenaPropertiesT&& value) {
53 m_athenaPropertiesHasBeenSet = true;
54 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
55 }
56 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
57 ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesT&& value) {
58 SetAthenaProperties(std::forward<AthenaPropertiesT>(value));
59 return *this;
60 }
62
64
67 inline const GluePropertiesPatch& GetGlueProperties() const { return m_glueProperties; }
68 inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; }
69 template <typename GluePropertiesT = GluePropertiesPatch>
70 void SetGlueProperties(GluePropertiesT&& value) {
71 m_gluePropertiesHasBeenSet = true;
72 m_glueProperties = std::forward<GluePropertiesT>(value);
73 }
74 template <typename GluePropertiesT = GluePropertiesPatch>
76 SetGlueProperties(std::forward<GluePropertiesT>(value));
77 return *this;
78 }
80
82
85 inline const IamPropertiesPatch& GetIamProperties() const { return m_iamProperties; }
86 inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; }
87 template <typename IamPropertiesT = IamPropertiesPatch>
88 void SetIamProperties(IamPropertiesT&& value) {
89 m_iamPropertiesHasBeenSet = true;
90 m_iamProperties = std::forward<IamPropertiesT>(value);
91 }
92 template <typename IamPropertiesT = IamPropertiesPatch>
94 SetIamProperties(std::forward<IamPropertiesT>(value));
95 return *this;
96 }
98
100
103 inline const RedshiftPropertiesPatch& GetRedshiftProperties() const { return m_redshiftProperties; }
104 inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; }
105 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
106 void SetRedshiftProperties(RedshiftPropertiesT&& value) {
107 m_redshiftPropertiesHasBeenSet = true;
108 m_redshiftProperties = std::forward<RedshiftPropertiesT>(value);
109 }
110 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
111 ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesT&& value) {
112 SetRedshiftProperties(std::forward<RedshiftPropertiesT>(value));
113 return *this;
114 }
116
118
121 inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const { return m_sparkEmrProperties; }
122 inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; }
123 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
124 void SetSparkEmrProperties(SparkEmrPropertiesT&& value) {
125 m_sparkEmrPropertiesHasBeenSet = true;
126 m_sparkEmrProperties = std::forward<SparkEmrPropertiesT>(value);
127 }
128 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
129 ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesT&& value) {
130 SetSparkEmrProperties(std::forward<SparkEmrPropertiesT>(value));
131 return *this;
132 }
134
136
139 inline const S3PropertiesPatch& GetS3Properties() const { return m_s3Properties; }
140 inline bool S3PropertiesHasBeenSet() const { return m_s3PropertiesHasBeenSet; }
141 template <typename S3PropertiesT = S3PropertiesPatch>
142 void SetS3Properties(S3PropertiesT&& value) {
143 m_s3PropertiesHasBeenSet = true;
144 m_s3Properties = std::forward<S3PropertiesT>(value);
145 }
146 template <typename S3PropertiesT = S3PropertiesPatch>
148 SetS3Properties(std::forward<S3PropertiesT>(value));
149 return *this;
150 }
152
154
157 inline const SnowflakePropertiesPatch& GetSnowflakeProperties() const { return m_snowflakeProperties; }
158 inline bool SnowflakePropertiesHasBeenSet() const { return m_snowflakePropertiesHasBeenSet; }
159 template <typename SnowflakePropertiesT = SnowflakePropertiesPatch>
160 void SetSnowflakeProperties(SnowflakePropertiesT&& value) {
161 m_snowflakePropertiesHasBeenSet = true;
162 m_snowflakeProperties = std::forward<SnowflakePropertiesT>(value);
163 }
164 template <typename SnowflakePropertiesT = SnowflakePropertiesPatch>
165 ConnectionPropertiesPatch& WithSnowflakeProperties(SnowflakePropertiesT&& value) {
166 SetSnowflakeProperties(std::forward<SnowflakePropertiesT>(value));
167 return *this;
168 }
170
172
175 inline const AmazonQPropertiesPatch& GetAmazonQProperties() const { return m_amazonQProperties; }
176 inline bool AmazonQPropertiesHasBeenSet() const { return m_amazonQPropertiesHasBeenSet; }
177 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
178 void SetAmazonQProperties(AmazonQPropertiesT&& value) {
179 m_amazonQPropertiesHasBeenSet = true;
180 m_amazonQProperties = std::forward<AmazonQPropertiesT>(value);
181 }
182 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
184 SetAmazonQProperties(std::forward<AmazonQPropertiesT>(value));
185 return *this;
186 }
188
190
193 inline const MlflowPropertiesPatch& GetMlflowProperties() const { return m_mlflowProperties; }
194 inline bool MlflowPropertiesHasBeenSet() const { return m_mlflowPropertiesHasBeenSet; }
195 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
196 void SetMlflowProperties(MlflowPropertiesT&& value) {
197 m_mlflowPropertiesHasBeenSet = true;
198 m_mlflowProperties = std::forward<MlflowPropertiesT>(value);
199 }
200 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
202 SetMlflowProperties(std::forward<MlflowPropertiesT>(value));
203 return *this;
204 }
206
208
211 inline const LakehousePropertiesPatch& GetLakehouseProperties() const { return m_lakehouseProperties; }
212 inline bool LakehousePropertiesHasBeenSet() const { return m_lakehousePropertiesHasBeenSet; }
213 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
214 void SetLakehouseProperties(LakehousePropertiesT&& value) {
215 m_lakehousePropertiesHasBeenSet = true;
216 m_lakehouseProperties = std::forward<LakehousePropertiesT>(value);
217 }
218 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
219 ConnectionPropertiesPatch& WithLakehouseProperties(LakehousePropertiesT&& value) {
220 SetLakehouseProperties(std::forward<LakehousePropertiesT>(value));
221 return *this;
222 }
224
226
229 inline const VpcPropertiesPatch& GetVpcProperties() const { return m_vpcProperties; }
230 inline bool VpcPropertiesHasBeenSet() const { return m_vpcPropertiesHasBeenSet; }
231 template <typename VpcPropertiesT = VpcPropertiesPatch>
232 void SetVpcProperties(VpcPropertiesT&& value) {
233 m_vpcPropertiesHasBeenSet = true;
234 m_vpcProperties = std::forward<VpcPropertiesT>(value);
235 }
236 template <typename VpcPropertiesT = VpcPropertiesPatch>
238 SetVpcProperties(std::forward<VpcPropertiesT>(value));
239 return *this;
240 }
242
244
247 inline const GitPropertiesPatch& GetGitProperties() const { return m_gitProperties; }
248 inline bool GitPropertiesHasBeenSet() const { return m_gitPropertiesHasBeenSet; }
249 template <typename GitPropertiesT = GitPropertiesPatch>
250 void SetGitProperties(GitPropertiesT&& value) {
251 m_gitPropertiesHasBeenSet = true;
252 m_gitProperties = std::forward<GitPropertiesT>(value);
253 }
254 template <typename GitPropertiesT = GitPropertiesPatch>
256 SetGitProperties(std::forward<GitPropertiesT>(value));
257 return *this;
258 }
260 private:
261 AthenaPropertiesPatch m_athenaProperties;
262
263 GluePropertiesPatch m_glueProperties;
264
265 IamPropertiesPatch m_iamProperties;
266
267 RedshiftPropertiesPatch m_redshiftProperties;
268
269 SparkEmrPropertiesPatch m_sparkEmrProperties;
270
271 S3PropertiesPatch m_s3Properties;
272
273 SnowflakePropertiesPatch m_snowflakeProperties;
274
275 AmazonQPropertiesPatch m_amazonQProperties;
276
277 MlflowPropertiesPatch m_mlflowProperties;
278
279 LakehousePropertiesPatch m_lakehouseProperties;
280
281 VpcPropertiesPatch m_vpcProperties;
282
283 GitPropertiesPatch m_gitProperties;
284 bool m_athenaPropertiesHasBeenSet = false;
285 bool m_gluePropertiesHasBeenSet = false;
286 bool m_iamPropertiesHasBeenSet = false;
287 bool m_redshiftPropertiesHasBeenSet = false;
288 bool m_sparkEmrPropertiesHasBeenSet = false;
289 bool m_s3PropertiesHasBeenSet = false;
290 bool m_snowflakePropertiesHasBeenSet = false;
291 bool m_amazonQPropertiesHasBeenSet = false;
292 bool m_mlflowPropertiesHasBeenSet = false;
293 bool m_lakehousePropertiesHasBeenSet = false;
294 bool m_vpcPropertiesHasBeenSet = false;
295 bool m_gitPropertiesHasBeenSet = false;
296};
297
298} // namespace Model
299} // namespace DataZone
300} // namespace Aws
ConnectionPropertiesPatch & WithSnowflakeProperties(SnowflakePropertiesT &&value)
AWS_DATAZONE_API ConnectionPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionPropertiesPatch & WithLakehouseProperties(LakehousePropertiesT &&value)
const AmazonQPropertiesPatch & GetAmazonQProperties() const
AWS_DATAZONE_API ConnectionPropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
ConnectionPropertiesPatch & WithAmazonQProperties(AmazonQPropertiesT &&value)
void SetLakehouseProperties(LakehousePropertiesT &&value)
const LakehousePropertiesPatch & GetLakehouseProperties() const
ConnectionPropertiesPatch & WithAthenaProperties(AthenaPropertiesT &&value)
ConnectionPropertiesPatch & WithGlueProperties(GluePropertiesT &&value)
const SparkEmrPropertiesPatch & GetSparkEmrProperties() const
ConnectionPropertiesPatch & WithRedshiftProperties(RedshiftPropertiesT &&value)
ConnectionPropertiesPatch & WithIamProperties(IamPropertiesT &&value)
AWS_DATAZONE_API ConnectionPropertiesPatch()=default
ConnectionPropertiesPatch & WithMlflowProperties(MlflowPropertiesT &&value)
ConnectionPropertiesPatch & WithGitProperties(GitPropertiesT &&value)
void SetSnowflakeProperties(SnowflakePropertiesT &&value)
ConnectionPropertiesPatch & WithSparkEmrProperties(SparkEmrPropertiesT &&value)
const GluePropertiesPatch & GetGlueProperties() const
ConnectionPropertiesPatch & WithS3Properties(S3PropertiesT &&value)
const SnowflakePropertiesPatch & GetSnowflakeProperties() const
const MlflowPropertiesPatch & GetMlflowProperties() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionPropertiesPatch & WithVpcProperties(VpcPropertiesT &&value)
const AthenaPropertiesPatch & GetAthenaProperties() const
const RedshiftPropertiesPatch & GetRedshiftProperties() const
Aws::Utils::Json::JsonValue JsonValue