AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
43
44
46
50 inline ConnectionType GetConnectionType() const { return m_connectionType; }
51 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
52 inline void SetConnectionType(ConnectionType value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
55
57
69 inline const Aws::Map<ConnectionPropertyKey, Aws::String>& GetConnectionProperties() const { return m_connectionProperties; }
70 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
71 template<typename ConnectionPropertiesT = Aws::Map<ConnectionPropertyKey, Aws::String>>
72 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
73 template<typename ConnectionPropertiesT = Aws::Map<ConnectionPropertyKey, Aws::String>>
74 TestConnectionInput& WithConnectionProperties(ConnectionPropertiesT&& value) { SetConnectionProperties(std::forward<ConnectionPropertiesT>(value)); return *this;}
76 m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this;
77 }
79
81
85 inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
86 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
87 template<typename AuthenticationConfigurationT = AuthenticationConfigurationInput>
88 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
89 template<typename AuthenticationConfigurationT = AuthenticationConfigurationInput>
90 TestConnectionInput& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
92 private:
93
95 bool m_connectionTypeHasBeenSet = false;
96
98 bool m_connectionPropertiesHasBeenSet = false;
99
100 AuthenticationConfigurationInput m_authenticationConfiguration;
101 bool m_authenticationConfigurationHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
AWS_GLUE_API TestConnectionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const AuthenticationConfigurationInput & GetAuthenticationConfiguration() const
TestConnectionInput & AddConnectionProperties(ConnectionPropertyKey key, Aws::String value)
void SetConnectionProperties(ConnectionPropertiesT &&value)
void SetConnectionType(ConnectionType value)
TestConnectionInput & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
TestConnectionInput & WithConnectionProperties(ConnectionPropertiesT &&value)
AWS_GLUE_API TestConnectionInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< ConnectionPropertyKey, Aws::String > & GetConnectionProperties() const
TestConnectionInput & WithConnectionType(ConnectionType value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_GLUE_API TestConnectionInput()=default
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