AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionInput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ConnectionType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/PhysicalConnectionRequirements.h>
13#include <aws/glue/model/AuthenticationConfigurationInput.h>
14#include <aws/glue/model/ConnectionPropertyKey.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 Glue
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_GLUE_API ConnectionInput();
45
46
48
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline ConnectionInput& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline ConnectionInput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline ConnectionInput& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline ConnectionInput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline ConnectionInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline ConnectionInput& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
145 inline const ConnectionType& GetConnectionType() const{ return m_connectionType; }
146 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
147 inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
148 inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
149 inline ConnectionInput& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
150 inline ConnectionInput& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
152
154
157 inline const Aws::Vector<Aws::String>& GetMatchCriteria() const{ return m_matchCriteria; }
158 inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; }
159 inline void SetMatchCriteria(const Aws::Vector<Aws::String>& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = value; }
160 inline void SetMatchCriteria(Aws::Vector<Aws::String>&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::move(value); }
161 inline ConnectionInput& WithMatchCriteria(const Aws::Vector<Aws::String>& value) { SetMatchCriteria(value); return *this;}
162 inline ConnectionInput& WithMatchCriteria(Aws::Vector<Aws::String>&& value) { SetMatchCriteria(std::move(value)); return *this;}
163 inline ConnectionInput& AddMatchCriteria(const Aws::String& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; }
164 inline ConnectionInput& AddMatchCriteria(Aws::String&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(std::move(value)); return *this; }
165 inline ConnectionInput& AddMatchCriteria(const char* value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; }
167
169
172 inline const Aws::Map<ConnectionPropertyKey, Aws::String>& GetConnectionProperties() const{ return m_connectionProperties; }
173 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
174 inline void SetConnectionProperties(const Aws::Map<ConnectionPropertyKey, Aws::String>& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; }
175 inline void SetConnectionProperties(Aws::Map<ConnectionPropertyKey, Aws::String>&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); }
178 inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; }
179 inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; }
180 inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; }
181 inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; }
182 inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; }
183 inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; }
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetAthenaProperties() const{ return m_athenaProperties; }
191 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
192 inline void SetAthenaProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = value; }
193 inline void SetAthenaProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::move(value); }
196 inline ConnectionInput& AddAthenaProperties(const Aws::String& key, const Aws::String& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; }
197 inline ConnectionInput& AddAthenaProperties(Aws::String&& key, const Aws::String& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), value); return *this; }
198 inline ConnectionInput& AddAthenaProperties(const Aws::String& key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, std::move(value)); return *this; }
199 inline ConnectionInput& AddAthenaProperties(Aws::String&& key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), std::move(value)); return *this; }
200 inline ConnectionInput& AddAthenaProperties(const char* key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, std::move(value)); return *this; }
201 inline ConnectionInput& AddAthenaProperties(Aws::String&& key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), value); return *this; }
202 inline ConnectionInput& AddAthenaProperties(const char* key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; }
204
206
211 inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const{ return m_physicalConnectionRequirements; }
212 inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; }
213 inline void SetPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = value; }
214 inline void SetPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = std::move(value); }
218
220
224 inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; }
225 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
226 inline void SetAuthenticationConfiguration(const AuthenticationConfigurationInput& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; }
227 inline void SetAuthenticationConfiguration(AuthenticationConfigurationInput&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); }
231
233
237 inline bool GetValidateCredentials() const{ return m_validateCredentials; }
238 inline bool ValidateCredentialsHasBeenSet() const { return m_validateCredentialsHasBeenSet; }
239 inline void SetValidateCredentials(bool value) { m_validateCredentialsHasBeenSet = true; m_validateCredentials = value; }
240 inline ConnectionInput& WithValidateCredentials(bool value) { SetValidateCredentials(value); return *this;}
242 private:
243
244 Aws::String m_name;
245 bool m_nameHasBeenSet = false;
246
247 Aws::String m_description;
248 bool m_descriptionHasBeenSet = false;
249
250 ConnectionType m_connectionType;
251 bool m_connectionTypeHasBeenSet = false;
252
253 Aws::Vector<Aws::String> m_matchCriteria;
254 bool m_matchCriteriaHasBeenSet = false;
255
257 bool m_connectionPropertiesHasBeenSet = false;
258
259 Aws::Map<Aws::String, Aws::String> m_athenaProperties;
260 bool m_athenaPropertiesHasBeenSet = false;
261
262 PhysicalConnectionRequirements m_physicalConnectionRequirements;
263 bool m_physicalConnectionRequirementsHasBeenSet = false;
264
265 AuthenticationConfigurationInput m_authenticationConfiguration;
266 bool m_authenticationConfigurationHasBeenSet = false;
267
268 bool m_validateCredentials;
269 bool m_validateCredentialsHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace Glue
274} // namespace Aws
AWS_GLUE_API ConnectionInput(Aws::Utils::Json::JsonView jsonValue)
ConnectionInput & WithDescription(Aws::String &&value)
ConnectionInput & AddAthenaProperties(const char *key, const char *value)
void SetDescription(Aws::String &&value)
ConnectionInput & WithValidateCredentials(bool value)
const Aws::Map< Aws::String, Aws::String > & GetAthenaProperties() const
ConnectionInput & WithDescription(const Aws::String &value)
const PhysicalConnectionRequirements & GetPhysicalConnectionRequirements() const
ConnectionInput & AddMatchCriteria(const Aws::String &value)
ConnectionInput & WithName(Aws::String &&value)
ConnectionInput & AddConnectionProperties(const ConnectionPropertyKey &key, const Aws::String &value)
void SetMatchCriteria(const Aws::Vector< Aws::String > &value)
ConnectionInput & AddConnectionProperties(ConnectionPropertyKey &&key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetMatchCriteria() const
void SetConnectionProperties(const Aws::Map< ConnectionPropertyKey, Aws::String > &value)
bool PhysicalConnectionRequirementsHasBeenSet() const
ConnectionInput & WithPhysicalConnectionRequirements(const PhysicalConnectionRequirements &value)
void SetConnectionProperties(Aws::Map< ConnectionPropertyKey, Aws::String > &&value)
ConnectionInput & AddConnectionProperties(ConnectionPropertyKey &&key, const Aws::String &value)
void SetMatchCriteria(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionInput & WithMatchCriteria(const Aws::Vector< Aws::String > &value)
ConnectionInput & AddAthenaProperties(const Aws::String &key, const Aws::String &value)
ConnectionInput & AddAthenaProperties(const Aws::String &key, Aws::String &&value)
void SetDescription(const char *value)
void SetAuthenticationConfiguration(AuthenticationConfigurationInput &&value)
ConnectionInput & AddConnectionProperties(const ConnectionPropertyKey &key, const char *value)
void SetDescription(const Aws::String &value)
ConnectionInput & WithAthenaProperties(const Aws::Map< Aws::String, Aws::String > &value)
ConnectionInput & AddMatchCriteria(const char *value)
const ConnectionType & GetConnectionType() const
ConnectionInput & WithConnectionType(ConnectionType &&value)
void SetName(const char *value)
ConnectionInput & AddConnectionProperties(const ConnectionPropertyKey &key, Aws::String &&value)
void SetName(const Aws::String &value)
void SetAuthenticationConfiguration(const AuthenticationConfigurationInput &value)
ConnectionInput & WithConnectionType(const ConnectionType &value)
ConnectionInput & WithConnectionProperties(Aws::Map< ConnectionPropertyKey, Aws::String > &&value)
ConnectionInput & WithConnectionProperties(const Aws::Map< ConnectionPropertyKey, Aws::String > &value)
const Aws::String & GetDescription() const
ConnectionInput & AddAthenaProperties(Aws::String &&key, const Aws::String &value)
void SetPhysicalConnectionRequirements(const PhysicalConnectionRequirements &value)
void SetName(Aws::String &&value)
ConnectionInput & WithAuthenticationConfiguration(AuthenticationConfigurationInput &&value)
ConnectionInput & WithAthenaProperties(Aws::Map< Aws::String, Aws::String > &&value)
ConnectionInput & AddAthenaProperties(Aws::String &&key, const char *value)
ConnectionInput & AddConnectionProperties(ConnectionPropertyKey &&key, const char *value)
void SetAthenaProperties(const Aws::Map< Aws::String, Aws::String > &value)
void SetAthenaProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetConnectionType(ConnectionType &&value)
const Aws::String & GetName() const
ConnectionInput & AddMatchCriteria(Aws::String &&value)
void SetPhysicalConnectionRequirements(PhysicalConnectionRequirements &&value)
AWS_GLUE_API ConnectionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionInput & WithMatchCriteria(Aws::Vector< Aws::String > &&value)
const Aws::Map< ConnectionPropertyKey, Aws::String > & GetConnectionProperties() const
ConnectionInput & WithName(const Aws::String &value)
ConnectionInput & AddAthenaProperties(Aws::String &&key, Aws::String &&value)
const AuthenticationConfigurationInput & GetAuthenticationConfiguration() const
ConnectionInput & WithAuthenticationConfiguration(const AuthenticationConfigurationInput &value)
ConnectionInput & WithName(const char *value)
ConnectionInput & WithPhysicalConnectionRequirements(PhysicalConnectionRequirements &&value)
ConnectionInput & AddAthenaProperties(const char *key, Aws::String &&value)
void SetConnectionType(const ConnectionType &value)
ConnectionInput & WithDescription(const char *value)
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