AWS SDK for C++

AWS SDK for C++ Version 1.11.838

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/GluePropertiesPatch.h>
11#include <aws/datazone/model/IamPropertiesPatch.h>
12#include <aws/datazone/model/LakehousePropertiesPatch.h>
13#include <aws/datazone/model/MlflowPropertiesPatch.h>
14#include <aws/datazone/model/RedshiftPropertiesPatch.h>
15#include <aws/datazone/model/S3PropertiesPatch.h>
16#include <aws/datazone/model/SnowflakePropertiesPatch.h>
17#include <aws/datazone/model/SparkEmrPropertiesPatch.h>
18#include <aws/datazone/model/VpcPropertiesPatch.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace DataZone {
30namespace Model {
31
38 public:
39 AWS_DATAZONE_API ConnectionPropertiesPatch() = default;
42 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const AthenaPropertiesPatch& GetAthenaProperties() const { return m_athenaProperties; }
49 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
50 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
51 void SetAthenaProperties(AthenaPropertiesT&& value) {
52 m_athenaPropertiesHasBeenSet = true;
53 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
54 }
55 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
56 ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesT&& value) {
57 SetAthenaProperties(std::forward<AthenaPropertiesT>(value));
58 return *this;
59 }
61
63
66 inline const GluePropertiesPatch& GetGlueProperties() const { return m_glueProperties; }
67 inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; }
68 template <typename GluePropertiesT = GluePropertiesPatch>
69 void SetGlueProperties(GluePropertiesT&& value) {
70 m_gluePropertiesHasBeenSet = true;
71 m_glueProperties = std::forward<GluePropertiesT>(value);
72 }
73 template <typename GluePropertiesT = GluePropertiesPatch>
75 SetGlueProperties(std::forward<GluePropertiesT>(value));
76 return *this;
77 }
79
81
84 inline const IamPropertiesPatch& GetIamProperties() const { return m_iamProperties; }
85 inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; }
86 template <typename IamPropertiesT = IamPropertiesPatch>
87 void SetIamProperties(IamPropertiesT&& value) {
88 m_iamPropertiesHasBeenSet = true;
89 m_iamProperties = std::forward<IamPropertiesT>(value);
90 }
91 template <typename IamPropertiesT = IamPropertiesPatch>
93 SetIamProperties(std::forward<IamPropertiesT>(value));
94 return *this;
95 }
97
99
102 inline const RedshiftPropertiesPatch& GetRedshiftProperties() const { return m_redshiftProperties; }
103 inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; }
104 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
105 void SetRedshiftProperties(RedshiftPropertiesT&& value) {
106 m_redshiftPropertiesHasBeenSet = true;
107 m_redshiftProperties = std::forward<RedshiftPropertiesT>(value);
108 }
109 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
110 ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesT&& value) {
111 SetRedshiftProperties(std::forward<RedshiftPropertiesT>(value));
112 return *this;
113 }
115
117
120 inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const { return m_sparkEmrProperties; }
121 inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; }
122 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
123 void SetSparkEmrProperties(SparkEmrPropertiesT&& value) {
124 m_sparkEmrPropertiesHasBeenSet = true;
125 m_sparkEmrProperties = std::forward<SparkEmrPropertiesT>(value);
126 }
127 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
128 ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesT&& value) {
129 SetSparkEmrProperties(std::forward<SparkEmrPropertiesT>(value));
130 return *this;
131 }
133
135
138 inline const S3PropertiesPatch& GetS3Properties() const { return m_s3Properties; }
139 inline bool S3PropertiesHasBeenSet() const { return m_s3PropertiesHasBeenSet; }
140 template <typename S3PropertiesT = S3PropertiesPatch>
141 void SetS3Properties(S3PropertiesT&& value) {
142 m_s3PropertiesHasBeenSet = true;
143 m_s3Properties = std::forward<S3PropertiesT>(value);
144 }
145 template <typename S3PropertiesT = S3PropertiesPatch>
147 SetS3Properties(std::forward<S3PropertiesT>(value));
148 return *this;
149 }
151
153
156 inline const SnowflakePropertiesPatch& GetSnowflakeProperties() const { return m_snowflakeProperties; }
157 inline bool SnowflakePropertiesHasBeenSet() const { return m_snowflakePropertiesHasBeenSet; }
158 template <typename SnowflakePropertiesT = SnowflakePropertiesPatch>
159 void SetSnowflakeProperties(SnowflakePropertiesT&& value) {
160 m_snowflakePropertiesHasBeenSet = true;
161 m_snowflakeProperties = std::forward<SnowflakePropertiesT>(value);
162 }
163 template <typename SnowflakePropertiesT = SnowflakePropertiesPatch>
164 ConnectionPropertiesPatch& WithSnowflakeProperties(SnowflakePropertiesT&& value) {
165 SetSnowflakeProperties(std::forward<SnowflakePropertiesT>(value));
166 return *this;
167 }
169
171
174 inline const AmazonQPropertiesPatch& GetAmazonQProperties() const { return m_amazonQProperties; }
175 inline bool AmazonQPropertiesHasBeenSet() const { return m_amazonQPropertiesHasBeenSet; }
176 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
177 void SetAmazonQProperties(AmazonQPropertiesT&& value) {
178 m_amazonQPropertiesHasBeenSet = true;
179 m_amazonQProperties = std::forward<AmazonQPropertiesT>(value);
180 }
181 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
183 SetAmazonQProperties(std::forward<AmazonQPropertiesT>(value));
184 return *this;
185 }
187
189
192 inline const MlflowPropertiesPatch& GetMlflowProperties() const { return m_mlflowProperties; }
193 inline bool MlflowPropertiesHasBeenSet() const { return m_mlflowPropertiesHasBeenSet; }
194 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
195 void SetMlflowProperties(MlflowPropertiesT&& value) {
196 m_mlflowPropertiesHasBeenSet = true;
197 m_mlflowProperties = std::forward<MlflowPropertiesT>(value);
198 }
199 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
201 SetMlflowProperties(std::forward<MlflowPropertiesT>(value));
202 return *this;
203 }
205
207
210 inline const LakehousePropertiesPatch& GetLakehouseProperties() const { return m_lakehouseProperties; }
211 inline bool LakehousePropertiesHasBeenSet() const { return m_lakehousePropertiesHasBeenSet; }
212 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
213 void SetLakehouseProperties(LakehousePropertiesT&& value) {
214 m_lakehousePropertiesHasBeenSet = true;
215 m_lakehouseProperties = std::forward<LakehousePropertiesT>(value);
216 }
217 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
218 ConnectionPropertiesPatch& WithLakehouseProperties(LakehousePropertiesT&& value) {
219 SetLakehouseProperties(std::forward<LakehousePropertiesT>(value));
220 return *this;
221 }
223
225
228 inline const VpcPropertiesPatch& GetVpcProperties() const { return m_vpcProperties; }
229 inline bool VpcPropertiesHasBeenSet() const { return m_vpcPropertiesHasBeenSet; }
230 template <typename VpcPropertiesT = VpcPropertiesPatch>
231 void SetVpcProperties(VpcPropertiesT&& value) {
232 m_vpcPropertiesHasBeenSet = true;
233 m_vpcProperties = std::forward<VpcPropertiesT>(value);
234 }
235 template <typename VpcPropertiesT = VpcPropertiesPatch>
237 SetVpcProperties(std::forward<VpcPropertiesT>(value));
238 return *this;
239 }
241 private:
242 AthenaPropertiesPatch m_athenaProperties;
243
244 GluePropertiesPatch m_glueProperties;
245
246 IamPropertiesPatch m_iamProperties;
247
248 RedshiftPropertiesPatch m_redshiftProperties;
249
250 SparkEmrPropertiesPatch m_sparkEmrProperties;
251
252 S3PropertiesPatch m_s3Properties;
253
254 SnowflakePropertiesPatch m_snowflakeProperties;
255
256 AmazonQPropertiesPatch m_amazonQProperties;
257
258 MlflowPropertiesPatch m_mlflowProperties;
259
260 LakehousePropertiesPatch m_lakehouseProperties;
261
262 VpcPropertiesPatch m_vpcProperties;
263 bool m_athenaPropertiesHasBeenSet = false;
264 bool m_gluePropertiesHasBeenSet = false;
265 bool m_iamPropertiesHasBeenSet = false;
266 bool m_redshiftPropertiesHasBeenSet = false;
267 bool m_sparkEmrPropertiesHasBeenSet = false;
268 bool m_s3PropertiesHasBeenSet = false;
269 bool m_snowflakePropertiesHasBeenSet = false;
270 bool m_amazonQPropertiesHasBeenSet = false;
271 bool m_mlflowPropertiesHasBeenSet = false;
272 bool m_lakehousePropertiesHasBeenSet = false;
273 bool m_vpcPropertiesHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace DataZone
278} // 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)
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