AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ZendeskDestinationProperties.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 <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Appflow
25{
26namespace Model
27{
28
36 {
37 public:
41 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetObject() const{ return m_object; }
49 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
50 inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; }
51 inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); }
52 inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); }
53 inline ZendeskDestinationProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;}
54 inline ZendeskDestinationProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;}
55 inline ZendeskDestinationProperties& WithObject(const char* value) { SetObject(value); return *this;}
57
59
60 inline const Aws::Vector<Aws::String>& GetIdFieldNames() const{ return m_idFieldNames; }
61 inline bool IdFieldNamesHasBeenSet() const { return m_idFieldNamesHasBeenSet; }
62 inline void SetIdFieldNames(const Aws::Vector<Aws::String>& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = value; }
63 inline void SetIdFieldNames(Aws::Vector<Aws::String>&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = std::move(value); }
66 inline ZendeskDestinationProperties& AddIdFieldNames(const Aws::String& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; }
67 inline ZendeskDestinationProperties& AddIdFieldNames(Aws::String&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(std::move(value)); return *this; }
68 inline ZendeskDestinationProperties& AddIdFieldNames(const char* value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; }
70
72
73 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; }
74 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
75 inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; }
76 inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); }
80
82
83 inline const WriteOperationType& GetWriteOperationType() const{ return m_writeOperationType; }
84 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
85 inline void SetWriteOperationType(const WriteOperationType& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = value; }
86 inline void SetWriteOperationType(WriteOperationType&& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = std::move(value); }
90 private:
91
92 Aws::String m_object;
93 bool m_objectHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_idFieldNames;
96 bool m_idFieldNamesHasBeenSet = false;
97
98 ErrorHandlingConfig m_errorHandlingConfig;
99 bool m_errorHandlingConfigHasBeenSet = false;
100
101 WriteOperationType m_writeOperationType;
102 bool m_writeOperationTypeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Appflow
107} // namespace Aws
ZendeskDestinationProperties & WithErrorHandlingConfig(const ErrorHandlingConfig &value)
ZendeskDestinationProperties & WithObject(const Aws::String &value)
ZendeskDestinationProperties & WithWriteOperationType(const WriteOperationType &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ZendeskDestinationProperties & AddIdFieldNames(Aws::String &&value)
AWS_APPFLOW_API ZendeskDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
void SetIdFieldNames(Aws::Vector< Aws::String > &&value)
ZendeskDestinationProperties & AddIdFieldNames(const char *value)
const Aws::Vector< Aws::String > & GetIdFieldNames() const
ZendeskDestinationProperties & AddIdFieldNames(const Aws::String &value)
void SetErrorHandlingConfig(const ErrorHandlingConfig &value)
AWS_APPFLOW_API ZendeskDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ZendeskDestinationProperties & WithIdFieldNames(const Aws::Vector< Aws::String > &value)
void SetWriteOperationType(const WriteOperationType &value)
ZendeskDestinationProperties & WithIdFieldNames(Aws::Vector< Aws::String > &&value)
ZendeskDestinationProperties & WithWriteOperationType(WriteOperationType &&value)
void SetIdFieldNames(const Aws::Vector< Aws::String > &value)
ZendeskDestinationProperties & WithObject(const char *value)
ZendeskDestinationProperties & WithObject(Aws::String &&value)
ZendeskDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfig &&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