AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SourceFlowConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appflow/model/SourceConnectorProperties.h>
11#include <aws/appflow/model/IncrementalPullConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Appflow
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPFLOW_API SourceFlowConfig() = default;
39 AWS_APPFLOW_API SourceFlowConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline ConnectorType GetConnectorType() const { return m_connectorType; }
49 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
50 inline void SetConnectorType(ConnectorType value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
51 inline SourceFlowConfig& WithConnectorType(ConnectorType value) { SetConnectorType(value); return *this;}
53
55
58 inline const Aws::String& GetApiVersion() const { return m_apiVersion; }
59 inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; }
60 template<typename ApiVersionT = Aws::String>
61 void SetApiVersion(ApiVersionT&& value) { m_apiVersionHasBeenSet = true; m_apiVersion = std::forward<ApiVersionT>(value); }
62 template<typename ApiVersionT = Aws::String>
63 SourceFlowConfig& WithApiVersion(ApiVersionT&& value) { SetApiVersion(std::forward<ApiVersionT>(value)); return *this;}
65
67
71 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
72 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
73 template<typename ConnectorProfileNameT = Aws::String>
74 void SetConnectorProfileName(ConnectorProfileNameT&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::forward<ConnectorProfileNameT>(value); }
75 template<typename ConnectorProfileNameT = Aws::String>
76 SourceFlowConfig& WithConnectorProfileName(ConnectorProfileNameT&& value) { SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value)); return *this;}
78
80
84 inline const SourceConnectorProperties& GetSourceConnectorProperties() const { return m_sourceConnectorProperties; }
85 inline bool SourceConnectorPropertiesHasBeenSet() const { return m_sourceConnectorPropertiesHasBeenSet; }
86 template<typename SourceConnectorPropertiesT = SourceConnectorProperties>
87 void SetSourceConnectorProperties(SourceConnectorPropertiesT&& value) { m_sourceConnectorPropertiesHasBeenSet = true; m_sourceConnectorProperties = std::forward<SourceConnectorPropertiesT>(value); }
88 template<typename SourceConnectorPropertiesT = SourceConnectorProperties>
89 SourceFlowConfig& WithSourceConnectorProperties(SourceConnectorPropertiesT&& value) { SetSourceConnectorProperties(std::forward<SourceConnectorPropertiesT>(value)); return *this;}
91
93
98 inline const IncrementalPullConfig& GetIncrementalPullConfig() const { return m_incrementalPullConfig; }
99 inline bool IncrementalPullConfigHasBeenSet() const { return m_incrementalPullConfigHasBeenSet; }
100 template<typename IncrementalPullConfigT = IncrementalPullConfig>
101 void SetIncrementalPullConfig(IncrementalPullConfigT&& value) { m_incrementalPullConfigHasBeenSet = true; m_incrementalPullConfig = std::forward<IncrementalPullConfigT>(value); }
102 template<typename IncrementalPullConfigT = IncrementalPullConfig>
103 SourceFlowConfig& WithIncrementalPullConfig(IncrementalPullConfigT&& value) { SetIncrementalPullConfig(std::forward<IncrementalPullConfigT>(value)); return *this;}
105 private:
106
107 ConnectorType m_connectorType{ConnectorType::NOT_SET};
108 bool m_connectorTypeHasBeenSet = false;
109
110 Aws::String m_apiVersion;
111 bool m_apiVersionHasBeenSet = false;
112
113 Aws::String m_connectorProfileName;
114 bool m_connectorProfileNameHasBeenSet = false;
115
116 SourceConnectorProperties m_sourceConnectorProperties;
117 bool m_sourceConnectorPropertiesHasBeenSet = false;
118
119 IncrementalPullConfig m_incrementalPullConfig;
120 bool m_incrementalPullConfigHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Appflow
125} // namespace Aws
void SetIncrementalPullConfig(IncrementalPullConfigT &&value)
const SourceConnectorProperties & GetSourceConnectorProperties() const
const IncrementalPullConfig & GetIncrementalPullConfig() const
AWS_APPFLOW_API SourceFlowConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApiVersion() const
void SetConnectorProfileName(ConnectorProfileNameT &&value)
AWS_APPFLOW_API SourceFlowConfig()=default
SourceFlowConfig & WithIncrementalPullConfig(IncrementalPullConfigT &&value)
void SetApiVersion(ApiVersionT &&value)
SourceFlowConfig & WithApiVersion(ApiVersionT &&value)
SourceFlowConfig & WithConnectorType(ConnectorType value)
void SetConnectorType(ConnectorType value)
void SetSourceConnectorProperties(SourceConnectorPropertiesT &&value)
const Aws::String & GetConnectorProfileName() const
AWS_APPFLOW_API SourceFlowConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
SourceFlowConfig & WithSourceConnectorProperties(SourceConnectorPropertiesT &&value)
SourceFlowConfig & WithConnectorProfileName(ConnectorProfileNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue