AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GlueConnectionPatch.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AuthenticationConfigurationPatch.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API GlueConnectionPatch() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AuthenticationConfigurationPatch& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
48 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
49 template<typename AuthenticationConfigurationT = AuthenticationConfigurationPatch>
50 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
51 template<typename AuthenticationConfigurationT = AuthenticationConfigurationPatch>
52 GlueConnectionPatch& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
54
56
59 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionProperties() const { return m_connectionProperties; }
60 inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; }
61 template<typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
62 void SetConnectionProperties(ConnectionPropertiesT&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::forward<ConnectionPropertiesT>(value); }
63 template<typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
64 GlueConnectionPatch& WithConnectionProperties(ConnectionPropertiesT&& value) { SetConnectionProperties(std::forward<ConnectionPropertiesT>(value)); return *this;}
65 template<typename ConnectionPropertiesKeyT = Aws::String, typename ConnectionPropertiesValueT = Aws::String>
66 GlueConnectionPatch& AddConnectionProperties(ConnectionPropertiesKeyT&& key, ConnectionPropertiesValueT&& value) {
67 m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value)); return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 GlueConnectionPatch& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82 private:
83
84 AuthenticationConfigurationPatch m_authenticationConfiguration;
85 bool m_authenticationConfigurationHasBeenSet = false;
86
87 Aws::Map<Aws::String, Aws::String> m_connectionProperties;
88 bool m_connectionPropertiesHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataZone
96} // 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