AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestConnectionInput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ConnectionType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/glue/model/AuthenticationConfigurationInput.h>
11#include <aws/glue/model/ConnectionPropertyKey.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_GLUE_API TestConnectionInput();
43
44
46
50 inline const ConnectionType& GetConnectionType() const{ return m_connectionType; }
51 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
52 inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
53 inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
54 inline TestConnectionInput& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
55 inline TestConnectionInput& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
57
59
71 inline const Aws::Map<ConnectionPropertyKey, Aws::String>& GetConnectionProperties() const{ return m_connectionProperties; }
72 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
73 inline void SetConnectionProperties(const Aws::Map<ConnectionPropertyKey, Aws::String>& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; }
74 inline void SetConnectionProperties(Aws::Map<ConnectionPropertyKey, Aws::String>&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); }
77 inline TestConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; }
78 inline TestConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; }
79 inline TestConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; }
80 inline TestConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; }
81 inline TestConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; }
82 inline TestConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; }
84
86
90 inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; }
91 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
92 inline void SetAuthenticationConfiguration(const AuthenticationConfigurationInput& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; }
93 inline void SetAuthenticationConfiguration(AuthenticationConfigurationInput&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); }
97 private:
98
99 ConnectionType m_connectionType;
100 bool m_connectionTypeHasBeenSet = false;
101
103 bool m_connectionPropertiesHasBeenSet = false;
104
105 AuthenticationConfigurationInput m_authenticationConfiguration;
106 bool m_authenticationConfigurationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Glue
111} // namespace Aws
TestConnectionInput & AddConnectionProperties(ConnectionPropertyKey &&key, Aws::String &&value)
AWS_GLUE_API TestConnectionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionProperties(const Aws::Map< ConnectionPropertyKey, Aws::String > &value)
const AuthenticationConfigurationInput & GetAuthenticationConfiguration() const
void SetAuthenticationConfiguration(const AuthenticationConfigurationInput &value)
TestConnectionInput & WithConnectionType(const ConnectionType &value)
TestConnectionInput & WithAuthenticationConfiguration(AuthenticationConfigurationInput &&value)
TestConnectionInput & AddConnectionProperties(const ConnectionPropertyKey &key, const Aws::String &value)
void SetConnectionType(ConnectionType &&value)
void SetConnectionProperties(Aws::Map< ConnectionPropertyKey, Aws::String > &&value)
TestConnectionInput & WithConnectionType(ConnectionType &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
TestConnectionInput & WithConnectionProperties(Aws::Map< ConnectionPropertyKey, Aws::String > &&value)
TestConnectionInput & AddConnectionProperties(ConnectionPropertyKey &&key, const char *value)
const ConnectionType & GetConnectionType() const
TestConnectionInput & WithConnectionProperties(const Aws::Map< ConnectionPropertyKey, Aws::String > &value)
AWS_GLUE_API TestConnectionInput(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionType(const ConnectionType &value)
TestConnectionInput & WithAuthenticationConfiguration(const AuthenticationConfigurationInput &value)
TestConnectionInput & AddConnectionProperties(const ConnectionPropertyKey &key, Aws::String &&value)
const Aws::Map< ConnectionPropertyKey, Aws::String > & GetConnectionProperties() const
TestConnectionInput & AddConnectionProperties(const ConnectionPropertyKey &key, const char *value)
void SetAuthenticationConfiguration(AuthenticationConfigurationInput &&value)
TestConnectionInput & AddConnectionProperties(ConnectionPropertyKey &&key, const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue