AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CustomConnectorSourceProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/DataTransferApi.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 CustomConnectorSourceProperties() = default;
35 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetEntityName() const { return m_entityName; }
42 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
43 template <typename EntityNameT = Aws::String>
44 void SetEntityName(EntityNameT&& value) {
45 m_entityNameHasBeenSet = true;
46 m_entityName = std::forward<EntityNameT>(value);
47 }
48 template <typename EntityNameT = Aws::String>
50 SetEntityName(std::forward<EntityNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Map<Aws::String, Aws::String>& GetCustomProperties() const { return m_customProperties; }
61 inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; }
62 template <typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
63 void SetCustomProperties(CustomPropertiesT&& value) {
64 m_customPropertiesHasBeenSet = true;
65 m_customProperties = std::forward<CustomPropertiesT>(value);
66 }
67 template <typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
69 SetCustomProperties(std::forward<CustomPropertiesT>(value));
70 return *this;
71 }
72 template <typename CustomPropertiesKeyT = Aws::String, typename CustomPropertiesValueT = Aws::String>
73 CustomConnectorSourceProperties& AddCustomProperties(CustomPropertiesKeyT&& key, CustomPropertiesValueT&& value) {
74 m_customPropertiesHasBeenSet = true;
75 m_customProperties.emplace(std::forward<CustomPropertiesKeyT>(key), std::forward<CustomPropertiesValueT>(value));
76 return *this;
77 }
79
81
85 inline const DataTransferApi& GetDataTransferApi() const { return m_dataTransferApi; }
86 inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; }
87 template <typename DataTransferApiT = DataTransferApi>
88 void SetDataTransferApi(DataTransferApiT&& value) {
89 m_dataTransferApiHasBeenSet = true;
90 m_dataTransferApi = std::forward<DataTransferApiT>(value);
91 }
92 template <typename DataTransferApiT = DataTransferApi>
94 SetDataTransferApi(std::forward<DataTransferApiT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_entityName;
100
101 Aws::Map<Aws::String, Aws::String> m_customProperties;
102
103 DataTransferApi m_dataTransferApi;
104 bool m_entityNameHasBeenSet = false;
105 bool m_customPropertiesHasBeenSet = false;
106 bool m_dataTransferApiHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Appflow
111} // namespace Aws
CustomConnectorSourceProperties & WithCustomProperties(CustomPropertiesT &&value)
AWS_APPFLOW_API CustomConnectorSourceProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
CustomConnectorSourceProperties & WithDataTransferApi(DataTransferApiT &&value)
AWS_APPFLOW_API CustomConnectorSourceProperties()=default
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
CustomConnectorSourceProperties & AddCustomProperties(CustomPropertiesKeyT &&key, CustomPropertiesValueT &&value)
CustomConnectorSourceProperties & WithEntityName(EntityNameT &&value)
AWS_APPFLOW_API CustomConnectorSourceProperties & operator=(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