AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ConnectivityProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/AuthenticationConfigurationInput.h>
12#include <aws/datazone/model/ComputeEnvironments.h>
13#include <aws/datazone/model/PhysicalConnectionRequirements.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
26
35 public:
36 AWS_DATAZONE_API ConnectivityProperties() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionProperties() const { return m_connectionProperties; }
46 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
47 template <typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
48 void SetConnectionProperties(ConnectionPropertiesT&& value) {
49 m_connectionPropertiesHasBeenSet = true;
50 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
51 }
52 template <typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
53 ConnectivityProperties& WithConnectionProperties(ConnectionPropertiesT&& value) {
54 SetConnectionProperties(std::forward<ConnectionPropertiesT>(value));
55 return *this;
56 }
57 template <typename ConnectionPropertiesKeyT = Aws::String, typename ConnectionPropertiesValueT = Aws::String>
58 ConnectivityProperties& AddConnectionProperties(ConnectionPropertiesKeyT&& key, ConnectionPropertiesValueT&& value) {
59 m_connectionPropertiesHasBeenSet = true;
60 m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value));
61 return *this;
62 }
64
66
70 inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const { return m_physicalConnectionRequirements; }
71 inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; }
72 template <typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
73 void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) {
74 m_physicalConnectionRequirementsHasBeenSet = true;
75 m_physicalConnectionRequirements = std::forward<PhysicalConnectionRequirementsT>(value);
76 }
77 template <typename PhysicalConnectionRequirementsT = PhysicalConnectionRequirements>
78 ConnectivityProperties& WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT&& value) {
79 SetPhysicalConnectionRequirements(std::forward<PhysicalConnectionRequirementsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 template <typename NameT = Aws::String>
91 void SetName(NameT&& value) {
92 m_nameHasBeenSet = true;
93 m_name = std::forward<NameT>(value);
94 }
95 template <typename NameT = Aws::String>
97 SetName(std::forward<NameT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 template <typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) {
110 m_descriptionHasBeenSet = true;
111 m_description = std::forward<DescriptionT>(value);
112 }
113 template <typename DescriptionT = Aws::String>
115 SetDescription(std::forward<DescriptionT>(value));
116 return *this;
117 }
119
121
125 inline bool GetValidateCredentials() const { return m_validateCredentials; }
126 inline bool ValidateCredentialsHasBeenSet() const { return m_validateCredentialsHasBeenSet; }
127 inline void SetValidateCredentials(bool value) {
128 m_validateCredentialsHasBeenSet = true;
129 m_validateCredentials = value;
130 }
133 return *this;
134 }
136
138
142 inline const Aws::Vector<ComputeEnvironments>& GetValidateForComputeEnvironments() const { return m_validateForComputeEnvironments; }
143 inline bool ValidateForComputeEnvironmentsHasBeenSet() const { return m_validateForComputeEnvironmentsHasBeenSet; }
144 template <typename ValidateForComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
145 void SetValidateForComputeEnvironments(ValidateForComputeEnvironmentsT&& value) {
146 m_validateForComputeEnvironmentsHasBeenSet = true;
147 m_validateForComputeEnvironments = std::forward<ValidateForComputeEnvironmentsT>(value);
148 }
149 template <typename ValidateForComputeEnvironmentsT = Aws::Vector<ComputeEnvironments>>
150 ConnectivityProperties& WithValidateForComputeEnvironments(ValidateForComputeEnvironmentsT&& value) {
151 SetValidateForComputeEnvironments(std::forward<ValidateForComputeEnvironmentsT>(value));
152 return *this;
153 }
155 m_validateForComputeEnvironmentsHasBeenSet = true;
156 m_validateForComputeEnvironments.push_back(value);
157 return *this;
158 }
160
162
165 inline const Aws::Map<Aws::String, Aws::String>& GetSparkProperties() const { return m_sparkProperties; }
166 inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; }
167 template <typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
168 void SetSparkProperties(SparkPropertiesT&& value) {
169 m_sparkPropertiesHasBeenSet = true;
170 m_sparkProperties = std::forward<SparkPropertiesT>(value);
171 }
172 template <typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
173 ConnectivityProperties& WithSparkProperties(SparkPropertiesT&& value) {
174 SetSparkProperties(std::forward<SparkPropertiesT>(value));
175 return *this;
176 }
177 template <typename SparkPropertiesKeyT = Aws::String, typename SparkPropertiesValueT = Aws::String>
178 ConnectivityProperties& AddSparkProperties(SparkPropertiesKeyT&& key, SparkPropertiesValueT&& value) {
179 m_sparkPropertiesHasBeenSet = true;
180 m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Map<Aws::String, Aws::String>& GetAthenaProperties() const { return m_athenaProperties; }
190 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
191 template <typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
192 void SetAthenaProperties(AthenaPropertiesT&& value) {
193 m_athenaPropertiesHasBeenSet = true;
194 m_athenaProperties = std::forward<AthenaPropertiesT>(value);
195 }
196 template <typename AthenaPropertiesT = Aws::Map<Aws::String, Aws::String>>
197 ConnectivityProperties& WithAthenaProperties(AthenaPropertiesT&& value) {
198 SetAthenaProperties(std::forward<AthenaPropertiesT>(value));
199 return *this;
200 }
201 template <typename AthenaPropertiesKeyT = Aws::String, typename AthenaPropertiesValueT = Aws::String>
202 ConnectivityProperties& AddAthenaProperties(AthenaPropertiesKeyT&& key, AthenaPropertiesValueT&& value) {
203 m_athenaPropertiesHasBeenSet = true;
204 m_athenaProperties.emplace(std::forward<AthenaPropertiesKeyT>(key), std::forward<AthenaPropertiesValueT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::Map<Aws::String, Aws::String>& GetPythonProperties() const { return m_pythonProperties; }
214 inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; }
215 template <typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
216 void SetPythonProperties(PythonPropertiesT&& value) {
217 m_pythonPropertiesHasBeenSet = true;
218 m_pythonProperties = std::forward<PythonPropertiesT>(value);
219 }
220 template <typename PythonPropertiesT = Aws::Map<Aws::String, Aws::String>>
221 ConnectivityProperties& WithPythonProperties(PythonPropertiesT&& value) {
222 SetPythonProperties(std::forward<PythonPropertiesT>(value));
223 return *this;
224 }
225 template <typename PythonPropertiesKeyT = Aws::String, typename PythonPropertiesValueT = Aws::String>
226 ConnectivityProperties& AddPythonProperties(PythonPropertiesKeyT&& key, PythonPropertiesValueT&& value) {
227 m_pythonPropertiesHasBeenSet = true;
228 m_pythonProperties.emplace(std::forward<PythonPropertiesKeyT>(key), std::forward<PythonPropertiesValueT>(value));
229 return *this;
230 }
232
234
237 inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
238 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
239 template <typename AuthenticationConfigurationT = AuthenticationConfigurationInput>
240 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
241 m_authenticationConfigurationHasBeenSet = true;
242 m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value);
243 }
244 template <typename AuthenticationConfigurationT = AuthenticationConfigurationInput>
245 ConnectivityProperties& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
246 SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value));
247 return *this;
248 }
250 private:
251 Aws::Map<Aws::String, Aws::String> m_connectionProperties;
252
253 PhysicalConnectionRequirements m_physicalConnectionRequirements;
254
255 Aws::String m_name;
256
257 Aws::String m_description;
258
259 bool m_validateCredentials{false};
260
261 Aws::Vector<ComputeEnvironments> m_validateForComputeEnvironments;
262
263 Aws::Map<Aws::String, Aws::String> m_sparkProperties;
264
265 Aws::Map<Aws::String, Aws::String> m_athenaProperties;
266
267 Aws::Map<Aws::String, Aws::String> m_pythonProperties;
268
269 AuthenticationConfigurationInput m_authenticationConfiguration;
270 bool m_connectionPropertiesHasBeenSet = false;
271 bool m_physicalConnectionRequirementsHasBeenSet = false;
272 bool m_nameHasBeenSet = false;
273 bool m_descriptionHasBeenSet = false;
274 bool m_validateCredentialsHasBeenSet = false;
275 bool m_validateForComputeEnvironmentsHasBeenSet = false;
276 bool m_sparkPropertiesHasBeenSet = false;
277 bool m_athenaPropertiesHasBeenSet = false;
278 bool m_pythonPropertiesHasBeenSet = false;
279 bool m_authenticationConfigurationHasBeenSet = false;
280};
281
282} // namespace Model
283} // namespace DataZone
284} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetConnectionProperties() const
ConnectivityProperties & WithConnectionProperties(ConnectionPropertiesT &&value)
const Aws::Vector< ComputeEnvironments > & GetValidateForComputeEnvironments() const
void SetValidateForComputeEnvironments(ValidateForComputeEnvironmentsT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const AuthenticationConfigurationInput & GetAuthenticationConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
ConnectivityProperties & WithValidateForComputeEnvironments(ValidateForComputeEnvironmentsT &&value)
AWS_DATAZONE_API ConnectivityProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectivityProperties & WithName(NameT &&value)
ConnectivityProperties & AddSparkProperties(SparkPropertiesKeyT &&key, SparkPropertiesValueT &&value)
void SetPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
AWS_DATAZONE_API ConnectivityProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ConnectivityProperties()=default
void SetConnectionProperties(ConnectionPropertiesT &&value)
ConnectivityProperties & WithPythonProperties(PythonPropertiesT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
ConnectivityProperties & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
ConnectivityProperties & WithValidateCredentials(bool value)
ConnectivityProperties & WithDescription(DescriptionT &&value)
ConnectivityProperties & WithPhysicalConnectionRequirements(PhysicalConnectionRequirementsT &&value)
ConnectivityProperties & WithSparkProperties(SparkPropertiesT &&value)
ConnectivityProperties & AddPythonProperties(PythonPropertiesKeyT &&key, PythonPropertiesValueT &&value)
void SetAthenaProperties(AthenaPropertiesT &&value)
void SetPythonProperties(PythonPropertiesT &&value)
ConnectivityProperties & AddValidateForComputeEnvironments(ComputeEnvironments value)
ConnectivityProperties & WithAthenaProperties(AthenaPropertiesT &&value)
ConnectivityProperties & AddConnectionProperties(ConnectionPropertiesKeyT &&key, ConnectionPropertiesValueT &&value)
ConnectivityProperties & AddAthenaProperties(AthenaPropertiesKeyT &&key, AthenaPropertiesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSparkProperties() const
const Aws::Map< Aws::String, Aws::String > & GetPythonProperties() 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