AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
29
36 public:
37 AWS_DATAZONE_API ConnectionPropertiesPatch() = default;
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const AthenaPropertiesPatch& GetAthenaProperties() const { return m_athenaProperties; }
47 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
48 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
49 void SetAthenaProperties(AthenaPropertiesT&& value) {
50 m_athenaPropertiesHasBeenSet = true;
51 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
52 }
53 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
54 ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesT&& value) {
55 SetAthenaProperties(std::forward<AthenaPropertiesT>(value));
56 return *this;
57 }
59
61
64 inline const GluePropertiesPatch& GetGlueProperties() const { return m_glueProperties; }
65 inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; }
66 template <typename GluePropertiesT = GluePropertiesPatch>
67 void SetGlueProperties(GluePropertiesT&& value) {
68 m_gluePropertiesHasBeenSet = true;
69 m_glueProperties = std::forward<GluePropertiesT>(value);
70 }
71 template <typename GluePropertiesT = GluePropertiesPatch>
73 SetGlueProperties(std::forward<GluePropertiesT>(value));
74 return *this;
75 }
77
79
82 inline const IamPropertiesPatch& GetIamProperties() const { return m_iamProperties; }
83 inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; }
84 template <typename IamPropertiesT = IamPropertiesPatch>
85 void SetIamProperties(IamPropertiesT&& value) {
86 m_iamPropertiesHasBeenSet = true;
87 m_iamProperties = std::forward<IamPropertiesT>(value);
88 }
89 template <typename IamPropertiesT = IamPropertiesPatch>
91 SetIamProperties(std::forward<IamPropertiesT>(value));
92 return *this;
93 }
95
97
100 inline const RedshiftPropertiesPatch& GetRedshiftProperties() const { return m_redshiftProperties; }
101 inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; }
102 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
103 void SetRedshiftProperties(RedshiftPropertiesT&& value) {
104 m_redshiftPropertiesHasBeenSet = true;
105 m_redshiftProperties = std::forward<RedshiftPropertiesT>(value);
106 }
107 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
108 ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesT&& value) {
109 SetRedshiftProperties(std::forward<RedshiftPropertiesT>(value));
110 return *this;
111 }
113
115
118 inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const { return m_sparkEmrProperties; }
119 inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; }
120 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
121 void SetSparkEmrProperties(SparkEmrPropertiesT&& value) {
122 m_sparkEmrPropertiesHasBeenSet = true;
123 m_sparkEmrProperties = std::forward<SparkEmrPropertiesT>(value);
124 }
125 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
126 ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesT&& value) {
127 SetSparkEmrProperties(std::forward<SparkEmrPropertiesT>(value));
128 return *this;
129 }
131
133
136 inline const S3PropertiesPatch& GetS3Properties() const { return m_s3Properties; }
137 inline bool S3PropertiesHasBeenSet() const { return m_s3PropertiesHasBeenSet; }
138 template <typename S3PropertiesT = S3PropertiesPatch>
139 void SetS3Properties(S3PropertiesT&& value) {
140 m_s3PropertiesHasBeenSet = true;
141 m_s3Properties = std::forward<S3PropertiesT>(value);
142 }
143 template <typename S3PropertiesT = S3PropertiesPatch>
145 SetS3Properties(std::forward<S3PropertiesT>(value));
146 return *this;
147 }
149
151
154 inline const AmazonQPropertiesPatch& GetAmazonQProperties() const { return m_amazonQProperties; }
155 inline bool AmazonQPropertiesHasBeenSet() const { return m_amazonQPropertiesHasBeenSet; }
156 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
157 void SetAmazonQProperties(AmazonQPropertiesT&& value) {
158 m_amazonQPropertiesHasBeenSet = true;
159 m_amazonQProperties = std::forward<AmazonQPropertiesT>(value);
160 }
161 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
163 SetAmazonQProperties(std::forward<AmazonQPropertiesT>(value));
164 return *this;
165 }
167
169
172 inline const MlflowPropertiesPatch& GetMlflowProperties() const { return m_mlflowProperties; }
173 inline bool MlflowPropertiesHasBeenSet() const { return m_mlflowPropertiesHasBeenSet; }
174 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
175 void SetMlflowProperties(MlflowPropertiesT&& value) {
176 m_mlflowPropertiesHasBeenSet = true;
177 m_mlflowProperties = std::forward<MlflowPropertiesT>(value);
178 }
179 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
181 SetMlflowProperties(std::forward<MlflowPropertiesT>(value));
182 return *this;
183 }
185
187
190 inline const LakehousePropertiesPatch& GetLakehouseProperties() const { return m_lakehouseProperties; }
191 inline bool LakehousePropertiesHasBeenSet() const { return m_lakehousePropertiesHasBeenSet; }
192 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
193 void SetLakehouseProperties(LakehousePropertiesT&& value) {
194 m_lakehousePropertiesHasBeenSet = true;
195 m_lakehouseProperties = std::forward<LakehousePropertiesT>(value);
196 }
197 template <typename LakehousePropertiesT = LakehousePropertiesPatch>
198 ConnectionPropertiesPatch& WithLakehouseProperties(LakehousePropertiesT&& value) {
199 SetLakehouseProperties(std::forward<LakehousePropertiesT>(value));
200 return *this;
201 }
203 private:
204 AthenaPropertiesPatch m_athenaProperties;
205
206 GluePropertiesPatch m_glueProperties;
207
208 IamPropertiesPatch m_iamProperties;
209
210 RedshiftPropertiesPatch m_redshiftProperties;
211
212 SparkEmrPropertiesPatch m_sparkEmrProperties;
213
214 S3PropertiesPatch m_s3Properties;
215
216 AmazonQPropertiesPatch m_amazonQProperties;
217
218 MlflowPropertiesPatch m_mlflowProperties;
219
220 LakehousePropertiesPatch m_lakehouseProperties;
221 bool m_athenaPropertiesHasBeenSet = false;
222 bool m_gluePropertiesHasBeenSet = false;
223 bool m_iamPropertiesHasBeenSet = false;
224 bool m_redshiftPropertiesHasBeenSet = false;
225 bool m_sparkEmrPropertiesHasBeenSet = false;
226 bool m_s3PropertiesHasBeenSet = false;
227 bool m_amazonQPropertiesHasBeenSet = false;
228 bool m_mlflowPropertiesHasBeenSet = false;
229 bool m_lakehousePropertiesHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace DataZone
234} // 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
const AthenaPropertiesPatch & GetAthenaProperties() const
const RedshiftPropertiesPatch & GetRedshiftProperties() const
Aws::Utils::Json::JsonValue JsonValue