AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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/SparkEmrPropertiesPatch.h>
17#include <aws/datazone/model/VpcPropertiesPatch.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace DataZone {
29namespace Model {
30
37 public:
38 AWS_DATAZONE_API ConnectionPropertiesPatch() = default;
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const AthenaPropertiesPatch& GetAthenaProperties() const { return m_athenaProperties; }
48 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
49 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
50 void SetAthenaProperties(AthenaPropertiesT&& value) {
51 m_athenaPropertiesHasBeenSet = true;
52 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
53 }
54 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
55 ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesT&& value) {
56 SetAthenaProperties(std::forward<AthenaPropertiesT>(value));
57 return *this;
58 }
60
62
65 inline const GluePropertiesPatch& GetGlueProperties() const { return m_glueProperties; }
66 inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; }
67 template <typename GluePropertiesT = GluePropertiesPatch>
68 void SetGlueProperties(GluePropertiesT&& value) {
69 m_gluePropertiesHasBeenSet = true;
70 m_glueProperties = std::forward<GluePropertiesT>(value);
71 }
72 template <typename GluePropertiesT = GluePropertiesPatch>
74 SetGlueProperties(std::forward<GluePropertiesT>(value));
75 return *this;
76 }
78
80
83 inline const IamPropertiesPatch& GetIamProperties() const { return m_iamProperties; }
84 inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; }
85 template <typename IamPropertiesT = IamPropertiesPatch>
86 void SetIamProperties(IamPropertiesT&& value) {
87 m_iamPropertiesHasBeenSet = true;
88 m_iamProperties = std::forward<IamPropertiesT>(value);
89 }
90 template <typename IamPropertiesT = IamPropertiesPatch>
92 SetIamProperties(std::forward<IamPropertiesT>(value));
93 return *this;
94 }
96
98
101 inline const RedshiftPropertiesPatch& GetRedshiftProperties() const { return m_redshiftProperties; }
102 inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; }
103 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
104 void SetRedshiftProperties(RedshiftPropertiesT&& value) {
105 m_redshiftPropertiesHasBeenSet = true;
106 m_redshiftProperties = std::forward<RedshiftPropertiesT>(value);
107 }
108 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
109 ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesT&& value) {
110 SetRedshiftProperties(std::forward<RedshiftPropertiesT>(value));
111 return *this;
112 }
114
116
119 inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const { return m_sparkEmrProperties; }
120 inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; }
121 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
122 void SetSparkEmrProperties(SparkEmrPropertiesT&& value) {
123 m_sparkEmrPropertiesHasBeenSet = true;
124 m_sparkEmrProperties = std::forward<SparkEmrPropertiesT>(value);
125 }
126 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
127 ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesT&& value) {
128 SetSparkEmrProperties(std::forward<SparkEmrPropertiesT>(value));
129 return *this;
130 }
132
134
137 inline const S3PropertiesPatch& GetS3Properties() const { return m_s3Properties; }
138 inline bool S3PropertiesHasBeenSet() const { return m_s3PropertiesHasBeenSet; }
139 template <typename S3PropertiesT = S3PropertiesPatch>
140 void SetS3Properties(S3PropertiesT&& value) {
141 m_s3PropertiesHasBeenSet = true;
142 m_s3Properties = std::forward<S3PropertiesT>(value);
143 }
144 template <typename S3PropertiesT = S3PropertiesPatch>
146 SetS3Properties(std::forward<S3PropertiesT>(value));
147 return *this;
148 }
150
152
155 inline const AmazonQPropertiesPatch& GetAmazonQProperties() const { return m_amazonQProperties; }
156 inline bool AmazonQPropertiesHasBeenSet() const { return m_amazonQPropertiesHasBeenSet; }
157 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
158 void SetAmazonQProperties(AmazonQPropertiesT&& value) {
159 m_amazonQPropertiesHasBeenSet = true;
160 m_amazonQProperties = std::forward<AmazonQPropertiesT>(value);
161 }
162 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
164 SetAmazonQProperties(std::forward<AmazonQPropertiesT>(value));
165 return *this;
166 }
168
170
173 inline const MlflowPropertiesPatch& GetMlflowProperties() const { return m_mlflowProperties; }
174 inline bool MlflowPropertiesHasBeenSet() const { return m_mlflowPropertiesHasBeenSet; }
175 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
176 void SetMlflowProperties(MlflowPropertiesT&& value) {
177 m_mlflowPropertiesHasBeenSet = true;
178 m_mlflowProperties = std::forward<MlflowPropertiesT>(value);
179 }
180 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
182 SetMlflowProperties(std::forward<MlflowPropertiesT>(value));
183 return *this;
184 }
186
188
191 inline const LakehousePropertiesPatch& GetLakehouseProperties() const { return m_lakehouseProperties; }
192 inline bool LakehousePropertiesHasBeenSet() const { return m_lakehousePropertiesHasBeenSet; }
193 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
194 void SetLakehouseProperties(LakehousePropertiesT&& value) {
195 m_lakehousePropertiesHasBeenSet = true;
196 m_lakehouseProperties = std::forward<LakehousePropertiesT>(value);
197 }
198 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
199 ConnectionPropertiesPatch& WithLakehouseProperties(LakehousePropertiesT&& value) {
200 SetLakehouseProperties(std::forward<LakehousePropertiesT>(value));
201 return *this;
202 }
204
206
209 inline const VpcPropertiesPatch& GetVpcProperties() const { return m_vpcProperties; }
210 inline bool VpcPropertiesHasBeenSet() const { return m_vpcPropertiesHasBeenSet; }
211 template <typename VpcPropertiesT = VpcPropertiesPatch>
212 void SetVpcProperties(VpcPropertiesT&& value) {
213 m_vpcPropertiesHasBeenSet = true;
214 m_vpcProperties = std::forward<VpcPropertiesT>(value);
215 }
216 template <typename VpcPropertiesT = VpcPropertiesPatch>
218 SetVpcProperties(std::forward<VpcPropertiesT>(value));
219 return *this;
220 }
222 private:
223 AthenaPropertiesPatch m_athenaProperties;
224
225 GluePropertiesPatch m_glueProperties;
226
227 IamPropertiesPatch m_iamProperties;
228
229 RedshiftPropertiesPatch m_redshiftProperties;
230
231 SparkEmrPropertiesPatch m_sparkEmrProperties;
232
233 S3PropertiesPatch m_s3Properties;
234
235 AmazonQPropertiesPatch m_amazonQProperties;
236
237 MlflowPropertiesPatch m_mlflowProperties;
238
239 LakehousePropertiesPatch m_lakehouseProperties;
240
241 VpcPropertiesPatch m_vpcProperties;
242 bool m_athenaPropertiesHasBeenSet = false;
243 bool m_gluePropertiesHasBeenSet = false;
244 bool m_iamPropertiesHasBeenSet = false;
245 bool m_redshiftPropertiesHasBeenSet = false;
246 bool m_sparkEmrPropertiesHasBeenSet = false;
247 bool m_s3PropertiesHasBeenSet = false;
248 bool m_amazonQPropertiesHasBeenSet = false;
249 bool m_mlflowPropertiesHasBeenSet = false;
250 bool m_lakehousePropertiesHasBeenSet = false;
251 bool m_vpcPropertiesHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace DataZone
256} // namespace Aws
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 & WithSparkEmrProperties(SparkEmrPropertiesT &&value)
const GluePropertiesPatch & GetGlueProperties() const
ConnectionPropertiesPatch & WithS3Properties(S3PropertiesT &&value)
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