AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/appflow/model/IncrementalPullConfig.h>
10#include <aws/appflow/model/SourceConnectorProperties.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow {
23namespace Model {
24
32 public:
33 AWS_APPFLOW_API SourceFlowConfig() = default;
34 AWS_APPFLOW_API SourceFlowConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline ConnectorType GetConnectorType() const { return m_connectorType; }
43 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
44 inline void SetConnectorType(ConnectorType value) {
45 m_connectorTypeHasBeenSet = true;
46 m_connectorType = value;
47 }
49 SetConnectorType(value);
50 return *this;
51 }
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) {
62 m_apiVersionHasBeenSet = true;
63 m_apiVersion = std::forward<ApiVersionT>(value);
64 }
65 template <typename ApiVersionT = Aws::String>
66 SourceFlowConfig& WithApiVersion(ApiVersionT&& value) {
67 SetApiVersion(std::forward<ApiVersionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
78 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
79 template <typename ConnectorProfileNameT = Aws::String>
80 void SetConnectorProfileName(ConnectorProfileNameT&& value) {
81 m_connectorProfileNameHasBeenSet = true;
82 m_connectorProfileName = std::forward<ConnectorProfileNameT>(value);
83 }
84 template <typename ConnectorProfileNameT = Aws::String>
85 SourceFlowConfig& WithConnectorProfileName(ConnectorProfileNameT&& value) {
86 SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value));
87 return *this;
88 }
90
92
96 inline const SourceConnectorProperties& GetSourceConnectorProperties() const { return m_sourceConnectorProperties; }
97 inline bool SourceConnectorPropertiesHasBeenSet() const { return m_sourceConnectorPropertiesHasBeenSet; }
98 template <typename SourceConnectorPropertiesT = SourceConnectorProperties>
99 void SetSourceConnectorProperties(SourceConnectorPropertiesT&& value) {
100 m_sourceConnectorPropertiesHasBeenSet = true;
101 m_sourceConnectorProperties = std::forward<SourceConnectorPropertiesT>(value);
102 }
103 template <typename SourceConnectorPropertiesT = SourceConnectorProperties>
104 SourceFlowConfig& WithSourceConnectorProperties(SourceConnectorPropertiesT&& value) {
105 SetSourceConnectorProperties(std::forward<SourceConnectorPropertiesT>(value));
106 return *this;
107 }
109
111
116 inline const IncrementalPullConfig& GetIncrementalPullConfig() const { return m_incrementalPullConfig; }
117 inline bool IncrementalPullConfigHasBeenSet() const { return m_incrementalPullConfigHasBeenSet; }
118 template <typename IncrementalPullConfigT = IncrementalPullConfig>
119 void SetIncrementalPullConfig(IncrementalPullConfigT&& value) {
120 m_incrementalPullConfigHasBeenSet = true;
121 m_incrementalPullConfig = std::forward<IncrementalPullConfigT>(value);
122 }
123 template <typename IncrementalPullConfigT = IncrementalPullConfig>
124 SourceFlowConfig& WithIncrementalPullConfig(IncrementalPullConfigT&& value) {
125 SetIncrementalPullConfig(std::forward<IncrementalPullConfigT>(value));
126 return *this;
127 }
129 private:
130 ConnectorType m_connectorType{ConnectorType::NOT_SET};
131
132 Aws::String m_apiVersion;
133
134 Aws::String m_connectorProfileName;
135
136 SourceConnectorProperties m_sourceConnectorProperties;
137
138 IncrementalPullConfig m_incrementalPullConfig;
139 bool m_connectorTypeHasBeenSet = false;
140 bool m_apiVersionHasBeenSet = false;
141 bool m_connectorProfileNameHasBeenSet = false;
142 bool m_sourceConnectorPropertiesHasBeenSet = false;
143 bool m_incrementalPullConfigHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace Appflow
148} // 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