AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ConnectorType& GetConnectorType() const{ return m_connectorType; }
49 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
50 inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
51 inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
52 inline SourceFlowConfig& WithConnectorType(const ConnectorType& value) { SetConnectorType(value); return *this;}
53 inline SourceFlowConfig& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetApiVersion() const{ return m_apiVersion; }
61 inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; }
62 inline void SetApiVersion(const Aws::String& value) { m_apiVersionHasBeenSet = true; m_apiVersion = value; }
63 inline void SetApiVersion(Aws::String&& value) { m_apiVersionHasBeenSet = true; m_apiVersion = std::move(value); }
64 inline void SetApiVersion(const char* value) { m_apiVersionHasBeenSet = true; m_apiVersion.assign(value); }
65 inline SourceFlowConfig& WithApiVersion(const Aws::String& value) { SetApiVersion(value); return *this;}
66 inline SourceFlowConfig& WithApiVersion(Aws::String&& value) { SetApiVersion(std::move(value)); return *this;}
67 inline SourceFlowConfig& WithApiVersion(const char* value) { SetApiVersion(value); return *this;}
69
71
75 inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; }
76 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
77 inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; }
78 inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); }
79 inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); }
81 inline SourceFlowConfig& WithConnectorProfileName(Aws::String&& value) { SetConnectorProfileName(std::move(value)); return *this;}
82 inline SourceFlowConfig& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;}
84
86
90 inline const SourceConnectorProperties& GetSourceConnectorProperties() const{ return m_sourceConnectorProperties; }
91 inline bool SourceConnectorPropertiesHasBeenSet() const { return m_sourceConnectorPropertiesHasBeenSet; }
92 inline void SetSourceConnectorProperties(const SourceConnectorProperties& value) { m_sourceConnectorPropertiesHasBeenSet = true; m_sourceConnectorProperties = value; }
93 inline void SetSourceConnectorProperties(SourceConnectorProperties&& value) { m_sourceConnectorPropertiesHasBeenSet = true; m_sourceConnectorProperties = std::move(value); }
97
99
104 inline const IncrementalPullConfig& GetIncrementalPullConfig() const{ return m_incrementalPullConfig; }
105 inline bool IncrementalPullConfigHasBeenSet() const { return m_incrementalPullConfigHasBeenSet; }
106 inline void SetIncrementalPullConfig(const IncrementalPullConfig& value) { m_incrementalPullConfigHasBeenSet = true; m_incrementalPullConfig = value; }
107 inline void SetIncrementalPullConfig(IncrementalPullConfig&& value) { m_incrementalPullConfigHasBeenSet = true; m_incrementalPullConfig = std::move(value); }
111 private:
112
113 ConnectorType m_connectorType;
114 bool m_connectorTypeHasBeenSet = false;
115
116 Aws::String m_apiVersion;
117 bool m_apiVersionHasBeenSet = false;
118
119 Aws::String m_connectorProfileName;
120 bool m_connectorProfileNameHasBeenSet = false;
121
122 SourceConnectorProperties m_sourceConnectorProperties;
123 bool m_sourceConnectorPropertiesHasBeenSet = false;
124
125 IncrementalPullConfig m_incrementalPullConfig;
126 bool m_incrementalPullConfigHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Appflow
131} // namespace Aws
void SetConnectorProfileName(const Aws::String &value)
const SourceConnectorProperties & GetSourceConnectorProperties() const
void SetConnectorProfileName(const char *value)
SourceFlowConfig & WithConnectorProfileName(Aws::String &&value)
SourceFlowConfig & WithConnectorType(ConnectorType &&value)
const IncrementalPullConfig & GetIncrementalPullConfig() const
SourceFlowConfig & WithConnectorProfileName(const Aws::String &value)
AWS_APPFLOW_API SourceFlowConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceFlowConfig & WithIncrementalPullConfig(const IncrementalPullConfig &value)
const Aws::String & GetApiVersion() const
void SetIncrementalPullConfig(const IncrementalPullConfig &value)
void SetSourceConnectorProperties(SourceConnectorProperties &&value)
void SetIncrementalPullConfig(IncrementalPullConfig &&value)
void SetConnectorType(const ConnectorType &value)
const ConnectorType & GetConnectorType() const
SourceFlowConfig & WithApiVersion(Aws::String &&value)
SourceFlowConfig & WithConnectorProfileName(const char *value)
SourceFlowConfig & WithSourceConnectorProperties(const SourceConnectorProperties &value)
SourceFlowConfig & WithConnectorType(const ConnectorType &value)
SourceFlowConfig & WithApiVersion(const Aws::String &value)
void SetConnectorProfileName(Aws::String &&value)
SourceFlowConfig & WithIncrementalPullConfig(IncrementalPullConfig &&value)
void SetConnectorType(ConnectorType &&value)
SourceFlowConfig & WithApiVersion(const char *value)
const Aws::String & GetConnectorProfileName() const
void SetApiVersion(const Aws::String &value)
AWS_APPFLOW_API SourceFlowConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApiVersion(Aws::String &&value)
void SetSourceConnectorProperties(const SourceConnectorProperties &value)
SourceFlowConfig & WithSourceConnectorProperties(SourceConnectorProperties &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue