AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DestinationFlowConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorType.h>
9#include <aws/appflow/model/DestinationConnectorProperties.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow {
22namespace Model {
23
31 public:
32 AWS_APPFLOW_API DestinationFlowConfig() = default;
35 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline ConnectorType GetConnectorType() const { return m_connectorType; }
42 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
43 inline void SetConnectorType(ConnectorType value) {
44 m_connectorTypeHasBeenSet = true;
45 m_connectorType = value;
46 }
48 SetConnectorType(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetApiVersion() const { return m_apiVersion; }
58 inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; }
59 template <typename ApiVersionT = Aws::String>
60 void SetApiVersion(ApiVersionT&& value) {
61 m_apiVersionHasBeenSet = true;
62 m_apiVersion = std::forward<ApiVersionT>(value);
63 }
64 template <typename ApiVersionT = Aws::String>
65 DestinationFlowConfig& WithApiVersion(ApiVersionT&& value) {
66 SetApiVersion(std::forward<ApiVersionT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
77 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
78 template <typename ConnectorProfileNameT = Aws::String>
79 void SetConnectorProfileName(ConnectorProfileNameT&& value) {
80 m_connectorProfileNameHasBeenSet = true;
81 m_connectorProfileName = std::forward<ConnectorProfileNameT>(value);
82 }
83 template <typename ConnectorProfileNameT = Aws::String>
84 DestinationFlowConfig& WithConnectorProfileName(ConnectorProfileNameT&& value) {
85 SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value));
86 return *this;
87 }
89
91
95 inline const DestinationConnectorProperties& GetDestinationConnectorProperties() const { return m_destinationConnectorProperties; }
96 inline bool DestinationConnectorPropertiesHasBeenSet() const { return m_destinationConnectorPropertiesHasBeenSet; }
97 template <typename DestinationConnectorPropertiesT = DestinationConnectorProperties>
98 void SetDestinationConnectorProperties(DestinationConnectorPropertiesT&& value) {
99 m_destinationConnectorPropertiesHasBeenSet = true;
100 m_destinationConnectorProperties = std::forward<DestinationConnectorPropertiesT>(value);
101 }
102 template <typename DestinationConnectorPropertiesT = DestinationConnectorProperties>
103 DestinationFlowConfig& WithDestinationConnectorProperties(DestinationConnectorPropertiesT&& value) {
104 SetDestinationConnectorProperties(std::forward<DestinationConnectorPropertiesT>(value));
105 return *this;
106 }
108 private:
109 ConnectorType m_connectorType{ConnectorType::NOT_SET};
110
111 Aws::String m_apiVersion;
112
113 Aws::String m_connectorProfileName;
114
115 DestinationConnectorProperties m_destinationConnectorProperties;
116 bool m_connectorTypeHasBeenSet = false;
117 bool m_apiVersionHasBeenSet = false;
118 bool m_connectorProfileNameHasBeenSet = false;
119 bool m_destinationConnectorPropertiesHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Appflow
124} // namespace Aws
AWS_APPFLOW_API DestinationFlowConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API DestinationFlowConfig(Aws::Utils::Json::JsonView jsonValue)
DestinationFlowConfig & WithApiVersion(ApiVersionT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetConnectorProfileName() const
AWS_APPFLOW_API DestinationFlowConfig()=default
DestinationFlowConfig & WithConnectorType(ConnectorType value)
DestinationFlowConfig & WithConnectorProfileName(ConnectorProfileNameT &&value)
void SetDestinationConnectorProperties(DestinationConnectorPropertiesT &&value)
const DestinationConnectorProperties & GetDestinationConnectorProperties() const
DestinationFlowConfig & WithDestinationConnectorProperties(DestinationConnectorPropertiesT &&value)
void SetConnectorProfileName(ConnectorProfileNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue