AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomConnectorDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ErrorHandlingConfig.h>
10#include <aws/appflow/model/WriteOperationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.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
50 inline const Aws::String& GetEntityName() const{ return m_entityName; }
51 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
52 inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; }
53 inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); }
54 inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); }
56 inline CustomConnectorDestinationProperties& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;}
57 inline CustomConnectorDestinationProperties& WithEntityName(const char* value) { SetEntityName(value); return *this;}
59
61
65 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; }
66 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
67 inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; }
68 inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); }
72
74
78 inline const WriteOperationType& GetWriteOperationType() const{ return m_writeOperationType; }
79 inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; }
80 inline void SetWriteOperationType(const WriteOperationType& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = value; }
81 inline void SetWriteOperationType(WriteOperationType&& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = std::move(value); }
85
87
91 inline const Aws::Vector<Aws::String>& GetIdFieldNames() const{ return m_idFieldNames; }
92 inline bool IdFieldNamesHasBeenSet() const { return m_idFieldNamesHasBeenSet; }
93 inline void SetIdFieldNames(const Aws::Vector<Aws::String>& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = value; }
94 inline void SetIdFieldNames(Aws::Vector<Aws::String>&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames = std::move(value); }
97 inline CustomConnectorDestinationProperties& AddIdFieldNames(const Aws::String& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; }
98 inline CustomConnectorDestinationProperties& AddIdFieldNames(Aws::String&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(std::move(value)); return *this; }
99 inline CustomConnectorDestinationProperties& AddIdFieldNames(const char* value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; }
101
103
107 inline const Aws::Map<Aws::String, Aws::String>& GetCustomProperties() const{ return m_customProperties; }
108 inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; }
109 inline void SetCustomProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; }
110 inline void SetCustomProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); }
113 inline CustomConnectorDestinationProperties& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; }
114 inline CustomConnectorDestinationProperties& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; }
115 inline CustomConnectorDestinationProperties& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; }
116 inline CustomConnectorDestinationProperties& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; }
117 inline CustomConnectorDestinationProperties& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; }
118 inline CustomConnectorDestinationProperties& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; }
119 inline CustomConnectorDestinationProperties& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; }
121 private:
122
123 Aws::String m_entityName;
124 bool m_entityNameHasBeenSet = false;
125
126 ErrorHandlingConfig m_errorHandlingConfig;
127 bool m_errorHandlingConfigHasBeenSet = false;
128
129 WriteOperationType m_writeOperationType;
130 bool m_writeOperationTypeHasBeenSet = false;
131
132 Aws::Vector<Aws::String> m_idFieldNames;
133 bool m_idFieldNamesHasBeenSet = false;
134
135 Aws::Map<Aws::String, Aws::String> m_customProperties;
136 bool m_customPropertiesHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Appflow
141} // namespace Aws
CustomConnectorDestinationProperties & WithIdFieldNames(Aws::Vector< Aws::String > &&value)
CustomConnectorDestinationProperties & WithEntityName(Aws::String &&value)
CustomConnectorDestinationProperties & AddIdFieldNames(const char *value)
CustomConnectorDestinationProperties & WithCustomProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetCustomProperties(const Aws::Map< Aws::String, Aws::String > &value)
CustomConnectorDestinationProperties & AddCustomProperties(Aws::String &&key, const char *value)
CustomConnectorDestinationProperties & AddCustomProperties(const Aws::String &key, const Aws::String &value)
CustomConnectorDestinationProperties & AddCustomProperties(Aws::String &&key, const Aws::String &value)
CustomConnectorDestinationProperties & WithIdFieldNames(const Aws::Vector< Aws::String > &value)
CustomConnectorDestinationProperties & WithEntityName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
CustomConnectorDestinationProperties & WithWriteOperationType(const WriteOperationType &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomProperties(Aws::Map< Aws::String, Aws::String > &&value)
CustomConnectorDestinationProperties & WithEntityName(const Aws::String &value)
CustomConnectorDestinationProperties & WithErrorHandlingConfig(const ErrorHandlingConfig &value)
CustomConnectorDestinationProperties & AddIdFieldNames(Aws::String &&value)
CustomConnectorDestinationProperties & WithWriteOperationType(WriteOperationType &&value)
AWS_APPFLOW_API CustomConnectorDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomConnectorDestinationProperties & AddCustomProperties(const char *key, Aws::String &&value)
CustomConnectorDestinationProperties & AddCustomProperties(const Aws::String &key, Aws::String &&value)
CustomConnectorDestinationProperties & AddCustomProperties(const char *key, const char *value)
AWS_APPFLOW_API CustomConnectorDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
CustomConnectorDestinationProperties & WithCustomProperties(const Aws::Map< Aws::String, Aws::String > &value)
CustomConnectorDestinationProperties & AddCustomProperties(Aws::String &&key, Aws::String &&value)
CustomConnectorDestinationProperties & AddIdFieldNames(const Aws::String &value)
CustomConnectorDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfig &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue