AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
ConnectivityPropertiesPatch.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
31 public:
32 AWS_DATAZONE_API ConnectivityPropertiesPatch() = default;
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template <typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) {
45 m_descriptionHasBeenSet = true;
46 m_description = std::forward<DescriptionT>(value);
47 }
48 template <typename DescriptionT = Aws::String>
50 SetDescription(std::forward<DescriptionT>(value));
51 return *this;
52 }
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) {
63 m_connectionPropertiesHasBeenSet = true;
64 m_connectionProperties = std::forward<ConnectionPropertiesT>(value);
65 }
66 template <typename ConnectionPropertiesT = Aws::Map<Aws::String, Aws::String>>
67 ConnectivityPropertiesPatch& WithConnectionProperties(ConnectionPropertiesT&& value) {
68 SetConnectionProperties(std::forward<ConnectionPropertiesT>(value));
69 return *this;
70 }
71 template <typename ConnectionPropertiesKeyT = Aws::String, typename ConnectionPropertiesValueT = Aws::String>
72 ConnectivityPropertiesPatch& AddConnectionProperties(ConnectionPropertiesKeyT&& key, ConnectionPropertiesValueT&& value) {
73 m_connectionPropertiesHasBeenSet = true;
74 m_connectionProperties.emplace(std::forward<ConnectionPropertiesKeyT>(key), std::forward<ConnectionPropertiesValueT>(value));
75 return *this;
76 }
78
80
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 ConnectivityPropertiesPatch& 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
ConnectivityPropertiesPatch & WithConnectionProperties(ConnectionPropertiesT &&value)
const AuthenticationConfigurationPatch & GetAuthenticationConfiguration() const
ConnectivityPropertiesPatch & AddConnectionProperties(ConnectionPropertiesKeyT &&key, ConnectionPropertiesValueT &&value)
ConnectivityPropertiesPatch & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_DATAZONE_API ConnectivityPropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
AWS_DATAZONE_API ConnectivityPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API ConnectivityPropertiesPatch()=default
ConnectivityPropertiesPatch & WithDescription(DescriptionT &&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