AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SourceFlowConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/IncrementalPullConfig.h>
10#include <aws/customer-profiles/model/SourceConnectorProperties.h>
11#include <aws/customer-profiles/model/SourceConnectorType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles {
23namespace Model {
24
32 public:
33 AWS_CUSTOMERPROFILES_API SourceFlowConfig() = default;
34 AWS_CUSTOMERPROFILES_API SourceFlowConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CUSTOMERPROFILES_API SourceFlowConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
44 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
45 template <typename ConnectorProfileNameT = Aws::String>
46 void SetConnectorProfileName(ConnectorProfileNameT&& value) {
47 m_connectorProfileNameHasBeenSet = true;
48 m_connectorProfileName = std::forward<ConnectorProfileNameT>(value);
49 }
50 template <typename ConnectorProfileNameT = Aws::String>
51 SourceFlowConfig& WithConnectorProfileName(ConnectorProfileNameT&& value) {
52 SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value));
53 return *this;
54 }
56
58
61 inline SourceConnectorType GetConnectorType() const { return m_connectorType; }
62 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
64 m_connectorTypeHasBeenSet = true;
65 m_connectorType = value;
66 }
68 SetConnectorType(value);
69 return *this;
70 }
72
74
79 inline const IncrementalPullConfig& GetIncrementalPullConfig() const { return m_incrementalPullConfig; }
80 inline bool IncrementalPullConfigHasBeenSet() const { return m_incrementalPullConfigHasBeenSet; }
81 template <typename IncrementalPullConfigT = IncrementalPullConfig>
82 void SetIncrementalPullConfig(IncrementalPullConfigT&& value) {
83 m_incrementalPullConfigHasBeenSet = true;
84 m_incrementalPullConfig = std::forward<IncrementalPullConfigT>(value);
85 }
86 template <typename IncrementalPullConfigT = IncrementalPullConfig>
87 SourceFlowConfig& WithIncrementalPullConfig(IncrementalPullConfigT&& value) {
88 SetIncrementalPullConfig(std::forward<IncrementalPullConfigT>(value));
89 return *this;
90 }
92
94
98 inline const SourceConnectorProperties& GetSourceConnectorProperties() const { return m_sourceConnectorProperties; }
99 inline bool SourceConnectorPropertiesHasBeenSet() const { return m_sourceConnectorPropertiesHasBeenSet; }
100 template <typename SourceConnectorPropertiesT = SourceConnectorProperties>
101 void SetSourceConnectorProperties(SourceConnectorPropertiesT&& value) {
102 m_sourceConnectorPropertiesHasBeenSet = true;
103 m_sourceConnectorProperties = std::forward<SourceConnectorPropertiesT>(value);
104 }
105 template <typename SourceConnectorPropertiesT = SourceConnectorProperties>
106 SourceFlowConfig& WithSourceConnectorProperties(SourceConnectorPropertiesT&& value) {
107 SetSourceConnectorProperties(std::forward<SourceConnectorPropertiesT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_connectorProfileName;
113
115
116 IncrementalPullConfig m_incrementalPullConfig;
117
118 SourceConnectorProperties m_sourceConnectorProperties;
119 bool m_connectorProfileNameHasBeenSet = false;
120 bool m_connectorTypeHasBeenSet = false;
121 bool m_incrementalPullConfigHasBeenSet = false;
122 bool m_sourceConnectorPropertiesHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace CustomerProfiles
127} // namespace Aws
const IncrementalPullConfig & GetIncrementalPullConfig() const
AWS_CUSTOMERPROFILES_API SourceFlowConfig(Aws::Utils::Json::JsonView jsonValue)
const SourceConnectorProperties & GetSourceConnectorProperties() const
const Aws::String & GetConnectorProfileName() const
void SetConnectorType(SourceConnectorType value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
SourceFlowConfig & WithConnectorProfileName(ConnectorProfileNameT &&value)
SourceFlowConfig & WithSourceConnectorProperties(SourceConnectorPropertiesT &&value)
AWS_CUSTOMERPROFILES_API SourceFlowConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceFlowConfig & WithIncrementalPullConfig(IncrementalPullConfigT &&value)
SourceFlowConfig & WithConnectorType(SourceConnectorType value)
void SetSourceConnectorProperties(SourceConnectorPropertiesT &&value)
void SetConnectorProfileName(ConnectorProfileNameT &&value)
AWS_CUSTOMERPROFILES_API SourceFlowConfig()=default
void SetIncrementalPullConfig(IncrementalPullConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue