AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
38 AWS_APPFLOW_API ZendeskDestinationProperties() = default;
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 template<typename ObjectT = Aws::String>
51 void SetObject(ObjectT&& value) { m_objectHasBeenSet = true; m_object = std::forward<ObjectT>(value); }
52 template<typename ObjectT = Aws::String>
53 ZendeskDestinationProperties& WithObject(ObjectT&& value) { SetObject(std::forward<ObjectT>(value)); return *this;}
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) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = std::forward<IdFieldNamesT>(value); }
62 template<typename IdFieldNamesT = Aws::Vector<Aws::String>>
63 ZendeskDestinationProperties& WithIdFieldNames(IdFieldNamesT&& value) { SetIdFieldNames(std::forward<IdFieldNamesT>(value)); return *this;}
64 template<typename IdFieldNamesT = Aws::String>
65 ZendeskDestinationProperties& AddIdFieldNames(IdFieldNamesT&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.emplace_back(std::forward<IdFieldNamesT>(value)); return *this; }
67
69
70 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
71 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
72 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
73 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value); }
74 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
75 ZendeskDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfigT&& value) { SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value)); return *this;}
77
79
80 inline WriteOperationType GetWriteOperationType() const { return m_writeOperationType; }
81 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
82 inline void SetWriteOperationType(WriteOperationType value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = value; }
85 private:
86
87 Aws::String m_object;
88 bool m_objectHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_idFieldNames;
91 bool m_idFieldNamesHasBeenSet = false;
92
93 ErrorHandlingConfig m_errorHandlingConfig;
94 bool m_errorHandlingConfigHasBeenSet = false;
95
97 bool m_writeOperationTypeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Appflow
102} // 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