AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomConnectorSourceProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/appflow/model/DataTransferApi.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 CustomConnectorSourceProperties() = default;
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEntityName() const { return m_entityName; }
48 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
49 template<typename EntityNameT = Aws::String>
50 void SetEntityName(EntityNameT&& value) { m_entityNameHasBeenSet = true; m_entityName = std::forward<EntityNameT>(value); }
51 template<typename EntityNameT = Aws::String>
52 CustomConnectorSourceProperties& WithEntityName(EntityNameT&& value) { SetEntityName(std::forward<EntityNameT>(value)); return *this;}
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) { m_customPropertiesHasBeenSet = true; m_customProperties = std::forward<CustomPropertiesT>(value); }
64 template<typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
65 CustomConnectorSourceProperties& WithCustomProperties(CustomPropertiesT&& value) { SetCustomProperties(std::forward<CustomPropertiesT>(value)); return *this;}
66 template<typename CustomPropertiesKeyT = Aws::String, typename CustomPropertiesValueT = Aws::String>
67 CustomConnectorSourceProperties& AddCustomProperties(CustomPropertiesKeyT&& key, CustomPropertiesValueT&& value) {
68 m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::forward<CustomPropertiesKeyT>(key), std::forward<CustomPropertiesValueT>(value)); return *this;
69 }
71
73
77 inline const DataTransferApi& GetDataTransferApi() const { return m_dataTransferApi; }
78 inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; }
79 template<typename DataTransferApiT = DataTransferApi>
80 void SetDataTransferApi(DataTransferApiT&& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = std::forward<DataTransferApiT>(value); }
81 template<typename DataTransferApiT = DataTransferApi>
82 CustomConnectorSourceProperties& WithDataTransferApi(DataTransferApiT&& value) { SetDataTransferApi(std::forward<DataTransferApiT>(value)); return *this;}
84 private:
85
86 Aws::String m_entityName;
87 bool m_entityNameHasBeenSet = false;
88
89 Aws::Map<Aws::String, Aws::String> m_customProperties;
90 bool m_customPropertiesHasBeenSet = false;
91
92 DataTransferApi m_dataTransferApi;
93 bool m_dataTransferApiHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Appflow
98} // 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