AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SalesforceDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appflow/model/ErrorHandlingConfig.h>
11#include <aws/appflow/model/WriteOperationType.h>
12#include <aws/appflow/model/SalesforceDataTransferApi.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Appflow
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_APPFLOW_API SalesforceDestinationProperties() = default;
42 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetObject() const { return m_object; }
50 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
51 template<typename ObjectT = Aws::String>
52 void SetObject(ObjectT&& value) { m_objectHasBeenSet = true; m_object = std::forward<ObjectT>(value); }
53 template<typename ObjectT = Aws::String>
54 SalesforceDestinationProperties& WithObject(ObjectT&& value) { SetObject(std::forward<ObjectT>(value)); return *this;}
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) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = std::forward<IdFieldNamesT>(value); }
66 template<typename IdFieldNamesT = Aws::Vector<Aws::String>>
67 SalesforceDestinationProperties& WithIdFieldNames(IdFieldNamesT&& value) { SetIdFieldNames(std::forward<IdFieldNamesT>(value)); return *this;}
68 template<typename IdFieldNamesT = Aws::String>
69 SalesforceDestinationProperties& AddIdFieldNames(IdFieldNamesT&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.emplace_back(std::forward<IdFieldNamesT>(value)); return *this; }
71
73
81 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
82 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
83 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
84 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value); }
85 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
86 SalesforceDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfigT&& value) { SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value)); return *this;}
88
90
95 inline WriteOperationType GetWriteOperationType() const { return m_writeOperationType; }
96 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
97 inline void SetWriteOperationType(WriteOperationType value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = value; }
100
102
130 inline SalesforceDataTransferApi GetDataTransferApi() const { return m_dataTransferApi; }
131 inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; }
132 inline void SetDataTransferApi(SalesforceDataTransferApi value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = value; }
135 private:
136
137 Aws::String m_object;
138 bool m_objectHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_idFieldNames;
141 bool m_idFieldNamesHasBeenSet = false;
142
143 ErrorHandlingConfig m_errorHandlingConfig;
144 bool m_errorHandlingConfigHasBeenSet = false;
145
147 bool m_writeOperationTypeHasBeenSet = false;
148
150 bool m_dataTransferApiHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Appflow
155} // 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