AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; }
52 inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); }
53 inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); }
54 inline SalesforceDestinationProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;}
55 inline SalesforceDestinationProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;}
56 inline SalesforceDestinationProperties& WithObject(const char* value) { SetObject(value); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetIdFieldNames() const{ return m_idFieldNames; }
65 inline bool IdFieldNamesHasBeenSet() const { return m_idFieldNamesHasBeenSet; }
66 inline void SetIdFieldNames(const Aws::Vector<Aws::String>& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = value; }
67 inline void SetIdFieldNames(Aws::Vector<Aws::String>&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = std::move(value); }
70 inline SalesforceDestinationProperties& AddIdFieldNames(const Aws::String& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; }
71 inline SalesforceDestinationProperties& AddIdFieldNames(Aws::String&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(std::move(value)); return *this; }
72 inline SalesforceDestinationProperties& AddIdFieldNames(const char* value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; }
74
76
84 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; }
85 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
86 inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; }
87 inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); }
91
93
98 inline const WriteOperationType& GetWriteOperationType() const{ return m_writeOperationType; }
99 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
100 inline void SetWriteOperationType(const WriteOperationType& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = value; }
101 inline void SetWriteOperationType(WriteOperationType&& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = std::move(value); }
105
107
135 inline const SalesforceDataTransferApi& GetDataTransferApi() const{ return m_dataTransferApi; }
136 inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; }
137 inline void SetDataTransferApi(const SalesforceDataTransferApi& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = value; }
138 inline void SetDataTransferApi(SalesforceDataTransferApi&& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = std::move(value); }
142 private:
143
144 Aws::String m_object;
145 bool m_objectHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_idFieldNames;
148 bool m_idFieldNamesHasBeenSet = false;
149
150 ErrorHandlingConfig m_errorHandlingConfig;
151 bool m_errorHandlingConfigHasBeenSet = false;
152
153 WriteOperationType m_writeOperationType;
154 bool m_writeOperationTypeHasBeenSet = false;
155
156 SalesforceDataTransferApi m_dataTransferApi;
157 bool m_dataTransferApiHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Appflow
162} // namespace Aws
SalesforceDestinationProperties & WithObject(const char *value)
SalesforceDestinationProperties & AddIdFieldNames(const Aws::String &value)
SalesforceDestinationProperties & WithDataTransferApi(const SalesforceDataTransferApi &value)
SalesforceDestinationProperties & WithDataTransferApi(SalesforceDataTransferApi &&value)
SalesforceDestinationProperties & AddIdFieldNames(Aws::String &&value)
SalesforceDestinationProperties & WithWriteOperationType(WriteOperationType &&value)
SalesforceDestinationProperties & WithIdFieldNames(Aws::Vector< Aws::String > &&value)
SalesforceDestinationProperties & WithObject(Aws::String &&value)
AWS_APPFLOW_API SalesforceDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfig &&value)
void SetIdFieldNames(const Aws::Vector< Aws::String > &value)
SalesforceDestinationProperties & WithErrorHandlingConfig(const ErrorHandlingConfig &value)
SalesforceDestinationProperties & WithObject(const Aws::String &value)
SalesforceDestinationProperties & WithIdFieldNames(const Aws::Vector< Aws::String > &value)
AWS_APPFLOW_API SalesforceDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
void SetDataTransferApi(const SalesforceDataTransferApi &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
SalesforceDestinationProperties & WithWriteOperationType(const WriteOperationType &value)
SalesforceDestinationProperties & AddIdFieldNames(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue