AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GlueConnectionInput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/datazone/model/AuthenticationConfigurationInput.h>
10#include <aws/datazone/model/GlueConnectionType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/datazone/model/PhysicalConnectionRequirements.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/datazone/model/ComputeEnvironments.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_DATAZONE_API GlueConnectionInput() = default;
43 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Map<Aws::String, Aws::String>& GetAthenaProperties() const { return m_athenaProperties; }
51 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
52 template<typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
53 void SetAthenaProperties(AthenaPropertiesT&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::forward<AthenaPropertiesT>(value); }
54 template<typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
55 GlueConnectionInput& WithAthenaProperties(AthenaPropertiesT&& value) { SetAthenaProperties(std::forward<AthenaPropertiesT>(value)); return *this;}
56 template<typename AthenaPropertiesKeyT = Aws::String, typename AthenaPropertiesValueT = Aws::String>
57 GlueConnectionInput& AddAthenaProperties(AthenaPropertiesKeyT&& key, AthenaPropertiesValueT&& value) {
58 m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value)); return *this;
59 }
61
63
67 inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
68 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
69 template<typename AuthenticationConfigurationT = AuthenticationConfigurationInput>
70 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
71 template<typename AuthenticationConfigurationT = AuthenticationConfigurationInput>
72 GlueConnectionInput& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
74
76
79 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionProperties() const { return m_connectionProperties; }
80 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
81 template<typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
82 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
83 template<typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
84 GlueConnectionInput& WithConnectionProperties(ConnectionPropertiesT&& value) { SetConnectionProperties(std::forward<ConnectionPropertiesT>(value)); return *this;}
85 template<typename ConnectionPropertiesKeyT = Aws::String, typename ConnectionPropertiesValueT = Aws::String>
86 GlueConnectionInput& AddConnectionProperties(ConnectionPropertiesKeyT&& key, ConnectionPropertiesValueT&& value) {
87 m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value)); return *this;
88 }
90
92
95 inline GlueConnectionType GetConnectionType() const { return m_connectionType; }
96 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
97 inline void SetConnectionType(GlueConnectionType value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template<typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
109 template<typename DescriptionT = Aws::String>
110 GlueConnectionInput& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
112
114
117 inline const Aws::String& GetMatchCriteria() const { return m_matchCriteria; }
118 inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; }
119 template<typename MatchCriteriaT = Aws::String>
120 void SetMatchCriteria(MatchCriteriaT&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::forward<MatchCriteriaT>(value); }
121 template<typename MatchCriteriaT = Aws::String>
122 GlueConnectionInput& WithMatchCriteria(MatchCriteriaT&& value) { SetMatchCriteria(std::forward<MatchCriteriaT>(value)); return *this;}
124
126
129 inline const Aws::String& GetName() const { return m_name; }
130 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 template<typename NameT = Aws::String>
132 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
133 template<typename NameT = Aws::String>
134 GlueConnectionInput& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
136
138
142 inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const { return m_physicalConnectionRequirements; }
143 inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; }
144 template<typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
145 void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value); }
146 template<typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
147 GlueConnectionInput& WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) { SetPhysicalConnectionRequirements(std::forward<PhysicalConnectionRequirementsT>(value)); return *this;}
149
151
154 inline const Aws::Map<Aws::String, Aws::String>& GetPythonProperties() const { return m_pythonProperties; }
155 inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; }
156 template<typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
157 void SetPythonProperties(PythonPropertiesT&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = std::forward<PythonPropertiesT>(value); }
158 template<typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
159 GlueConnectionInput& WithPythonProperties(PythonPropertiesT&& value) { SetPythonProperties(std::forward<PythonPropertiesT>(value)); return *this;}
160 template<typename PythonPropertiesKeyT = Aws::String, typename PythonPropertiesValueT = Aws::String>
161 GlueConnectionInput& AddPythonProperties(PythonPropertiesKeyT&& key, PythonPropertiesValueT&& value) {
162 m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value)); return *this;
163 }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetSparkProperties() const { return m_sparkProperties; }
171 inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; }
172 template<typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
173 void SetSparkProperties(SparkPropertiesT&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = std::forward<SparkPropertiesT>(value); }
174 template<typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
175 GlueConnectionInput& WithSparkProperties(SparkPropertiesT&& value) { SetSparkProperties(std::forward<SparkPropertiesT>(value)); return *this;}
176 template<typename SparkPropertiesKeyT = Aws::String, typename SparkPropertiesValueT = Aws::String>
177 GlueConnectionInput& AddSparkProperties(SparkPropertiesKeyT&& key, SparkPropertiesValueT&& value) {
178 m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value)); return *this;
179 }
181
183
187 inline bool GetValidateCredentials() const { return m_validateCredentials; }
188 inline bool ValidateCredentialsHasBeenSet() const { return m_validateCredentialsHasBeenSet; }
189 inline void SetValidateCredentials(bool value) { m_validateCredentialsHasBeenSet = true; m_validateCredentials = value; }
190 inline GlueConnectionInput& WithValidateCredentials(bool value) { SetValidateCredentials(value); return *this;}
192
194
198 inline const Aws::Vector<ComputeEnvironments>& GetValidateForComputeEnvironments() const { return m_validateForComputeEnvironments; }
199 inline bool ValidateForComputeEnvironmentsHasBeenSet() const { return m_validateForComputeEnvironmentsHasBeenSet; }
200 template<typename ValidateForComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
201 void SetValidateForComputeEnvironments(ValidateForComputeEnvironmentsT&& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments = std::forward<ValidateForComputeEnvironmentsT>(value); }
202 template<typename ValidateForComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
203 GlueConnectionInput& WithValidateForComputeEnvironments(ValidateForComputeEnvironmentsT&& value) { SetValidateForComputeEnvironments(std::forward<ValidateForComputeEnvironmentsT>(value)); return *this;}
204 inline GlueConnectionInput& AddValidateForComputeEnvironments(ComputeEnvironments value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments.push_back(value); return *this; }
206 private:
207
208 Aws::Map<Aws::String, Aws::String> m_athenaProperties;
209 bool m_athenaPropertiesHasBeenSet = false;
210
211 AuthenticationConfigurationInput m_authenticationConfiguration;
212 bool m_authenticationConfigurationHasBeenSet = false;
213
214 Aws::Map<Aws::String, Aws::String> m_connectionProperties;
215 bool m_connectionPropertiesHasBeenSet = false;
216
218 bool m_connectionTypeHasBeenSet = false;
219
220 Aws::String m_description;
221 bool m_descriptionHasBeenSet = false;
222
223 Aws::String m_matchCriteria;
224 bool m_matchCriteriaHasBeenSet = false;
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
229 PhysicalConnectionRequirements m_physicalConnectionRequirements;
230 bool m_physicalConnectionRequirementsHasBeenSet = false;
231
232 Aws::Map<Aws::String, Aws::String> m_pythonProperties;
233 bool m_pythonPropertiesHasBeenSet = false;
234
235 Aws::Map<Aws::String, Aws::String> m_sparkProperties;
236 bool m_sparkPropertiesHasBeenSet = false;
237
238 bool m_validateCredentials{false};
239 bool m_validateCredentialsHasBeenSet = false;
240
241 Aws::Vector<ComputeEnvironments> m_validateForComputeEnvironments;
242 bool m_validateForComputeEnvironmentsHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace DataZone
247} // namespace Aws
GlueConnectionInput & WithMatchCriteria(MatchCriteriaT &&value)
GlueConnectionInput & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectionProperties() const
GlueConnectionInput & WithValidateCredentials(bool value)
GlueConnectionInput & WithAthenaProperties(AthenaPropertiesT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
void SetPythonProperties(PythonPropertiesT &&value)
void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
GlueConnectionInput & WithValidateForComputeEnvironments(ValidateForComputeEnvironmentsT &&value)
AWS_DATAZONE_API GlueConnectionInput(Aws::Utils::Json::JsonView jsonValue)
GlueConnectionInput & WithConnectionProperties(ConnectionPropertiesT &&value)
void SetConnectionProperties(ConnectionPropertiesT &&value)
GlueConnectionInput & WithSparkProperties(SparkPropertiesT &&value)
void SetConnectionType(GlueConnectionType value)
GlueConnectionInput & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
GlueConnectionInput & AddPythonProperties(PythonPropertiesKeyT &&key, PythonPropertiesValueT &&value)
AWS_DATAZONE_API GlueConnectionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSparkProperties(SparkPropertiesT &&value)
GlueConnectionInput & WithPythonProperties(PythonPropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
GlueConnectionInput & AddConnectionProperties(ConnectionPropertiesKeyT &&key, ConnectionPropertiesValueT &&value)
void SetValidateForComputeEnvironments(ValidateForComputeEnvironmentsT &&value)
AWS_DATAZONE_API GlueConnectionInput()=default
void SetMatchCriteria(MatchCriteriaT &&value)
void SetAthenaProperties(AthenaPropertiesT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetPythonProperties() const
GlueConnectionInput & AddAthenaProperties(AthenaPropertiesKeyT &&key, AthenaPropertiesValueT &&value)
GlueConnectionInput & WithName(NameT &&value)
GlueConnectionInput & WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
GlueConnectionInput & AddSparkProperties(SparkPropertiesKeyT &&key, SparkPropertiesValueT &&value)
GlueConnectionInput & AddValidateForComputeEnvironments(ComputeEnvironments value)
const Aws::Vector< ComputeEnvironments > & GetValidateForComputeEnvironments() const
const Aws::Map< Aws::String, Aws::String > & GetSparkProperties() const
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
GlueConnectionInput & WithConnectionType(GlueConnectionType value)
const AuthenticationConfigurationInput & GetAuthenticationConfiguration() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue