AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ZendeskDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ErrorHandlingConfig.h>
9#include <aws/appflow/model/WriteOperationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow {
23namespace Model {
24
32 public:
33 AWS_APPFLOW_API ZendeskDestinationProperties() = default;
36 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetObject() const { return m_object; }
43 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
44 template <typename ObjectT = Aws::String>
45 void SetObject(ObjectT&& value) {
46 m_objectHasBeenSet = true;
47 m_object = std::forward<ObjectT>(value);
48 }
49 template <typename ObjectT = Aws::String>
51 SetObject(std::forward<ObjectT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::Vector<Aws::String>& GetIdFieldNames() const { return m_idFieldNames; }
59 inline bool IdFieldNamesHasBeenSet() const { return m_idFieldNamesHasBeenSet; }
60 template <typename IdFieldNamesT = Aws::Vector<Aws::String>>
61 void SetIdFieldNames(IdFieldNamesT&& value) {
62 m_idFieldNamesHasBeenSet = true;
63 m_idFieldNames = std::forward<IdFieldNamesT>(value);
64 }
65 template <typename IdFieldNamesT = Aws::Vector<Aws::String>>
67 SetIdFieldNames(std::forward<IdFieldNamesT>(value));
68 return *this;
69 }
70 template <typename IdFieldNamesT = Aws::String>
72 m_idFieldNamesHasBeenSet = true;
73 m_idFieldNames.emplace_back(std::forward<IdFieldNamesT>(value));
74 return *this;
75 }
77
79
80 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
81 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
82 template <typename ErrorHandlingConfigT = ErrorHandlingConfig>
83 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) {
84 m_errorHandlingConfigHasBeenSet = true;
85 m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value);
86 }
87 template <typename ErrorHandlingConfigT = ErrorHandlingConfig>
89 SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value));
90 return *this;
91 }
93
95
96 inline WriteOperationType GetWriteOperationType() const { return m_writeOperationType; }
97 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
99 m_writeOperationTypeHasBeenSet = true;
100 m_writeOperationType = value;
101 }
104 return *this;
105 }
107 private:
108 Aws::String m_object;
109
110 Aws::Vector<Aws::String> m_idFieldNames;
111
112 ErrorHandlingConfig m_errorHandlingConfig;
113
115 bool m_objectHasBeenSet = false;
116 bool m_idFieldNamesHasBeenSet = false;
117 bool m_errorHandlingConfigHasBeenSet = false;
118 bool m_writeOperationTypeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Appflow
123} // namespace Aws
ZendeskDestinationProperties & WithObject(ObjectT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ZendeskDestinationProperties & AddIdFieldNames(IdFieldNamesT &&value)
ZendeskDestinationProperties & WithWriteOperationType(WriteOperationType value)
AWS_APPFLOW_API ZendeskDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
ZendeskDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfigT &&value)
AWS_APPFLOW_API ZendeskDestinationProperties()=default
const Aws::Vector< Aws::String > & GetIdFieldNames() const
AWS_APPFLOW_API ZendeskDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ZendeskDestinationProperties & WithIdFieldNames(IdFieldNamesT &&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