AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GlueConnectionPatch.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/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AuthenticationConfigurationPatch.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API GlueConnectionPatch() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
48 GlueConnectionPatch& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionProperties() const { return m_connectionProperties; }
59 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
60 template <typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
61 void SetConnectionProperties(ConnectionPropertiesT&& value) {
62 m_connectionPropertiesHasBeenSet = true;
63 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
64 }
65 template <typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
66 GlueConnectionPatch& WithConnectionProperties(ConnectionPropertiesT&& value) {
67 SetConnectionProperties(std::forward<ConnectionPropertiesT>(value));
68 return *this;
69 }
70 template <typename ConnectionPropertiesKeyT = Aws::String, typename ConnectionPropertiesValueT = Aws::String>
71 GlueConnectionPatch& AddConnectionProperties(ConnectionPropertiesKeyT&& key, ConnectionPropertiesValueT&& value) {
72 m_connectionPropertiesHasBeenSet = true;
73 m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value));
74 return *this;
75 }
77
79
83 inline const AuthenticationConfigurationPatch& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
84 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
85 template <typename AuthenticationConfigurationT = AuthenticationConfigurationPatch>
86 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
87 m_authenticationConfigurationHasBeenSet = true;
88 m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value);
89 }
90 template <typename AuthenticationConfigurationT = AuthenticationConfigurationPatch>
91 GlueConnectionPatch& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) {
92 SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_description;
98
99 Aws::Map<Aws::String, Aws::String> m_connectionProperties;
100
101 AuthenticationConfigurationPatch m_authenticationConfiguration;
102 bool m_descriptionHasBeenSet = false;
103 bool m_connectionPropertiesHasBeenSet = false;
104 bool m_authenticationConfigurationHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace DataZone
109} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetConnectionProperties() const
AWS_DATAZONE_API GlueConnectionPatch()=default
GlueConnectionPatch & AddConnectionProperties(ConnectionPropertiesKeyT &&key, ConnectionPropertiesValueT &&value)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API GlueConnectionPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionProperties(ConnectionPropertiesT &&value)
const AuthenticationConfigurationPatch & GetAuthenticationConfiguration() const
GlueConnectionPatch & WithConnectionProperties(ConnectionPropertiesT &&value)
GlueConnectionPatch & WithDescription(DescriptionT &&value)
GlueConnectionPatch & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_DATAZONE_API GlueConnectionPatch(Aws::Utils::Json::JsonView jsonValue)
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