AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CustomConnectorProfileProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/OAuth2Properties.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow {
22namespace Model {
23
31 public:
32 AWS_APPFLOW_API CustomConnectorProfileProperties() = default;
35 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Map<Aws::String, Aws::String>& GetProfileProperties() const { return m_profileProperties; }
43 inline bool ProfilePropertiesHasBeenSet() const { return m_profilePropertiesHasBeenSet; }
44 template <typename ProfilePropertiesT = Aws::Map<Aws::String, Aws::String>>
45 void SetProfileProperties(ProfilePropertiesT&& value) {
46 m_profilePropertiesHasBeenSet = true;
47 m_profileProperties = std::forward<ProfilePropertiesT>(value);
48 }
49 template <typename ProfilePropertiesT = Aws::Map<Aws::String, Aws::String>>
51 SetProfileProperties(std::forward<ProfilePropertiesT>(value));
52 return *this;
53 }
54 template <typename ProfilePropertiesKeyT = Aws::String, typename ProfilePropertiesValueT = Aws::String>
55 CustomConnectorProfileProperties& AddProfileProperties(ProfilePropertiesKeyT&& key, ProfilePropertiesValueT&& value) {
56 m_profilePropertiesHasBeenSet = true;
57 m_profileProperties.emplace(std::forward<ProfilePropertiesKeyT>(key), std::forward<ProfilePropertiesValueT>(value));
58 return *this;
59 }
61
63
64 inline const OAuth2Properties& GetOAuth2Properties() const { return m_oAuth2Properties; }
65 inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; }
66 template <typename OAuth2PropertiesT = OAuth2Properties>
67 void SetOAuth2Properties(OAuth2PropertiesT&& value) {
68 m_oAuth2PropertiesHasBeenSet = true;
69 m_oAuth2Properties = std::forward<OAuth2PropertiesT>(value);
70 }
71 template <typename OAuth2PropertiesT = OAuth2Properties>
73 SetOAuth2Properties(std::forward<OAuth2PropertiesT>(value));
74 return *this;
75 }
77 private:
78 Aws::Map<Aws::String, Aws::String> m_profileProperties;
79
80 OAuth2Properties m_oAuth2Properties;
81 bool m_profilePropertiesHasBeenSet = false;
82 bool m_oAuth2PropertiesHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Appflow
87} // namespace Aws
AWS_APPFLOW_API CustomConnectorProfileProperties()=default
CustomConnectorProfileProperties & WithProfileProperties(ProfilePropertiesT &&value)
AWS_APPFLOW_API CustomConnectorProfileProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomConnectorProfileProperties & WithOAuth2Properties(OAuth2PropertiesT &&value)
CustomConnectorProfileProperties & AddProfileProperties(ProfilePropertiesKeyT &&key, ProfilePropertiesValueT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetProfileProperties() const
AWS_APPFLOW_API CustomConnectorProfileProperties(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue