AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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/MlflowPropertiesPatch.h>
13#include <aws/datazone/model/RedshiftPropertiesPatch.h>
14#include <aws/datazone/model/S3PropertiesPatch.h>
15#include <aws/datazone/model/SparkEmrPropertiesPatch.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DataZone {
27namespace Model {
28
35 public:
36 AWS_DATAZONE_API ConnectionPropertiesPatch() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const AthenaPropertiesPatch& GetAthenaProperties() const { return m_athenaProperties; }
46 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
47 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
48 void SetAthenaProperties(AthenaPropertiesT&& value) {
49 m_athenaPropertiesHasBeenSet = true;
50 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
51 }
52 template <typename AthenaPropertiesT = AthenaPropertiesPatch>
53 ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesT&& value) {
54 SetAthenaProperties(std::forward<AthenaPropertiesT>(value));
55 return *this;
56 }
58
60
63 inline const GluePropertiesPatch& GetGlueProperties() const { return m_glueProperties; }
64 inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; }
65 template <typename GluePropertiesT = GluePropertiesPatch>
66 void SetGlueProperties(GluePropertiesT&& value) {
67 m_gluePropertiesHasBeenSet = true;
68 m_glueProperties = std::forward<GluePropertiesT>(value);
69 }
70 template <typename GluePropertiesT = GluePropertiesPatch>
72 SetGlueProperties(std::forward<GluePropertiesT>(value));
73 return *this;
74 }
76
78
81 inline const IamPropertiesPatch& GetIamProperties() const { return m_iamProperties; }
82 inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; }
83 template <typename IamPropertiesT = IamPropertiesPatch>
84 void SetIamProperties(IamPropertiesT&& value) {
85 m_iamPropertiesHasBeenSet = true;
86 m_iamProperties = std::forward<IamPropertiesT>(value);
87 }
88 template <typename IamPropertiesT = IamPropertiesPatch>
90 SetIamProperties(std::forward<IamPropertiesT>(value));
91 return *this;
92 }
94
96
99 inline const RedshiftPropertiesPatch& GetRedshiftProperties() const { return m_redshiftProperties; }
100 inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; }
101 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
102 void SetRedshiftProperties(RedshiftPropertiesT&& value) {
103 m_redshiftPropertiesHasBeenSet = true;
104 m_redshiftProperties = std::forward<RedshiftPropertiesT>(value);
105 }
106 template <typename RedshiftPropertiesT = RedshiftPropertiesPatch>
107 ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesT&& value) {
108 SetRedshiftProperties(std::forward<RedshiftPropertiesT>(value));
109 return *this;
110 }
112
114
117 inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const { return m_sparkEmrProperties; }
118 inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; }
119 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
120 void SetSparkEmrProperties(SparkEmrPropertiesT&& value) {
121 m_sparkEmrPropertiesHasBeenSet = true;
122 m_sparkEmrProperties = std::forward<SparkEmrPropertiesT>(value);
123 }
124 template <typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
125 ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesT&& value) {
126 SetSparkEmrProperties(std::forward<SparkEmrPropertiesT>(value));
127 return *this;
128 }
130
132
135 inline const S3PropertiesPatch& GetS3Properties() const { return m_s3Properties; }
136 inline bool S3PropertiesHasBeenSet() const { return m_s3PropertiesHasBeenSet; }
137 template <typename S3PropertiesT = S3PropertiesPatch>
138 void SetS3Properties(S3PropertiesT&& value) {
139 m_s3PropertiesHasBeenSet = true;
140 m_s3Properties = std::forward<S3PropertiesT>(value);
141 }
142 template <typename S3PropertiesT = S3PropertiesPatch>
144 SetS3Properties(std::forward<S3PropertiesT>(value));
145 return *this;
146 }
148
150
153 inline const AmazonQPropertiesPatch& GetAmazonQProperties() const { return m_amazonQProperties; }
154 inline bool AmazonQPropertiesHasBeenSet() const { return m_amazonQPropertiesHasBeenSet; }
155 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
156 void SetAmazonQProperties(AmazonQPropertiesT&& value) {
157 m_amazonQPropertiesHasBeenSet = true;
158 m_amazonQProperties = std::forward<AmazonQPropertiesT>(value);
159 }
160 template <typename AmazonQPropertiesT = AmazonQPropertiesPatch>
162 SetAmazonQProperties(std::forward<AmazonQPropertiesT>(value));
163 return *this;
164 }
166
168
171 inline const MlflowPropertiesPatch& GetMlflowProperties() const { return m_mlflowProperties; }
172 inline bool MlflowPropertiesHasBeenSet() const { return m_mlflowPropertiesHasBeenSet; }
173 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
174 void SetMlflowProperties(MlflowPropertiesT&& value) {
175 m_mlflowPropertiesHasBeenSet = true;
176 m_mlflowProperties = std::forward<MlflowPropertiesT>(value);
177 }
178 template <typename MlflowPropertiesT = MlflowPropertiesPatch>
180 SetMlflowProperties(std::forward<MlflowPropertiesT>(value));
181 return *this;
182 }
184 private:
185 AthenaPropertiesPatch m_athenaProperties;
186
187 GluePropertiesPatch m_glueProperties;
188
189 IamPropertiesPatch m_iamProperties;
190
191 RedshiftPropertiesPatch m_redshiftProperties;
192
193 SparkEmrPropertiesPatch m_sparkEmrProperties;
194
195 S3PropertiesPatch m_s3Properties;
196
197 AmazonQPropertiesPatch m_amazonQProperties;
198
199 MlflowPropertiesPatch m_mlflowProperties;
200 bool m_athenaPropertiesHasBeenSet = false;
201 bool m_gluePropertiesHasBeenSet = false;
202 bool m_iamPropertiesHasBeenSet = false;
203 bool m_redshiftPropertiesHasBeenSet = false;
204 bool m_sparkEmrPropertiesHasBeenSet = false;
205 bool m_s3PropertiesHasBeenSet = false;
206 bool m_amazonQPropertiesHasBeenSet = false;
207 bool m_mlflowPropertiesHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace DataZone
212} // namespace Aws
AWS_DATAZONE_API ConnectionPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
const AmazonQPropertiesPatch & GetAmazonQProperties() const
AWS_DATAZONE_API ConnectionPropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
ConnectionPropertiesPatch & WithAmazonQProperties(AmazonQPropertiesT &&value)
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