AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SalesforceDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ErrorHandlingConfig.h>
9#include <aws/appflow/model/SalesforceDataTransferApi.h>
10#include <aws/appflow/model/WriteOperationType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow {
24namespace Model {
25
33 public:
34 AWS_APPFLOW_API SalesforceDestinationProperties() = default;
37 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetObject() const { return m_object; }
44 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
45 template <typename ObjectT = Aws::String>
46 void SetObject(ObjectT&& value) {
47 m_objectHasBeenSet = true;
48 m_object = std::forward<ObjectT>(value);
49 }
50 template <typename ObjectT = Aws::String>
52 SetObject(std::forward<ObjectT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<Aws::String>& GetIdFieldNames() const { return m_idFieldNames; }
63 inline bool IdFieldNamesHasBeenSet() const { return m_idFieldNamesHasBeenSet; }
64 template <typename IdFieldNamesT = Aws::Vector<Aws::String>>
65 void SetIdFieldNames(IdFieldNamesT&& value) {
66 m_idFieldNamesHasBeenSet = true;
67 m_idFieldNames = std::forward<IdFieldNamesT>(value);
68 }
69 template <typename IdFieldNamesT = Aws::Vector<Aws::String>>
71 SetIdFieldNames(std::forward<IdFieldNamesT>(value));
72 return *this;
73 }
74 template <typename IdFieldNamesT = Aws::String>
76 m_idFieldNamesHasBeenSet = true;
77 m_idFieldNames.emplace_back(std::forward<IdFieldNamesT>(value));
78 return *this;
79 }
81
83
91 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
92 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
93 template <typename ErrorHandlingConfigT = ErrorHandlingConfig>
94 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) {
95 m_errorHandlingConfigHasBeenSet = true;
96 m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value);
97 }
98 template <typename ErrorHandlingConfigT = ErrorHandlingConfig>
100 SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value));
101 return *this;
102 }
104
106
111 inline WriteOperationType GetWriteOperationType() const { return m_writeOperationType; }
112 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
114 m_writeOperationTypeHasBeenSet = true;
115 m_writeOperationType = value;
116 }
119 return *this;
120 }
122
124
152 inline SalesforceDataTransferApi GetDataTransferApi() const { return m_dataTransferApi; }
153 inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; }
155 m_dataTransferApiHasBeenSet = true;
156 m_dataTransferApi = value;
157 }
159 SetDataTransferApi(value);
160 return *this;
161 }
163 private:
164 Aws::String m_object;
165
166 Aws::Vector<Aws::String> m_idFieldNames;
167
168 ErrorHandlingConfig m_errorHandlingConfig;
169
171
173 bool m_objectHasBeenSet = false;
174 bool m_idFieldNamesHasBeenSet = false;
175 bool m_errorHandlingConfigHasBeenSet = false;
176 bool m_writeOperationTypeHasBeenSet = false;
177 bool m_dataTransferApiHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace Appflow
182} // namespace Aws
SalesforceDestinationProperties & WithDataTransferApi(SalesforceDataTransferApi value)
AWS_APPFLOW_API SalesforceDestinationProperties()=default
SalesforceDestinationProperties & AddIdFieldNames(IdFieldNamesT &&value)
SalesforceDestinationProperties & WithIdFieldNames(IdFieldNamesT &&value)
SalesforceDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfigT &&value)
AWS_APPFLOW_API SalesforceDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceDestinationProperties & WithWriteOperationType(WriteOperationType value)
SalesforceDestinationProperties & WithObject(ObjectT &&value)
AWS_APPFLOW_API SalesforceDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue