AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CustomConnectorProfileProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/appflow/model/OAuth2Properties.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 Appflow
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPFLOW_API CustomConnectorProfileProperties() = default;
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<Aws::String, Aws::String>& GetProfileProperties() const { return m_profileProperties; }
49 inline bool ProfilePropertiesHasBeenSet() const { return m_profilePropertiesHasBeenSet; }
50 template<typename ProfilePropertiesT = Aws::Map<Aws::String, Aws::String>>
51 void SetProfileProperties(ProfilePropertiesT&& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties = std::forward<ProfilePropertiesT>(value); }
52 template<typename ProfilePropertiesT = Aws::Map<Aws::String, Aws::String>>
53 CustomConnectorProfileProperties& WithProfileProperties(ProfilePropertiesT&& value) { SetProfileProperties(std::forward<ProfilePropertiesT>(value)); return *this;}
54 template<typename ProfilePropertiesKeyT = Aws::String, typename ProfilePropertiesValueT = Aws::String>
55 CustomConnectorProfileProperties& AddProfileProperties(ProfilePropertiesKeyT&& key, ProfilePropertiesValueT&& value) {
56 m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(std::forward<ProfilePropertiesKeyT>(key), std::forward<ProfilePropertiesValueT>(value)); return *this;
57 }
59
61
62 inline const OAuth2Properties& GetOAuth2Properties() const { return m_oAuth2Properties; }
63 inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; }
64 template<typename OAuth2PropertiesT = OAuth2Properties>
65 void SetOAuth2Properties(OAuth2PropertiesT&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::forward<OAuth2PropertiesT>(value); }
66 template<typename OAuth2PropertiesT = OAuth2Properties>
67 CustomConnectorProfileProperties& WithOAuth2Properties(OAuth2PropertiesT&& value) { SetOAuth2Properties(std::forward<OAuth2PropertiesT>(value)); return *this;}
69 private:
70
71 Aws::Map<Aws::String, Aws::String> m_profileProperties;
72 bool m_profilePropertiesHasBeenSet = false;
73
74 OAuth2Properties m_oAuth2Properties;
75 bool m_oAuth2PropertiesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Appflow
80} // 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