AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomConnectorSourceProperties.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/AWSMap.h>
10#include <aws/appflow/model/DataTransferApi.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEntityName() const{ return m_entityName; }
48 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
49 inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; }
50 inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); }
51 inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); }
52 inline CustomConnectorSourceProperties& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;}
53 inline CustomConnectorSourceProperties& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;}
54 inline CustomConnectorSourceProperties& WithEntityName(const char* value) { SetEntityName(value); return *this;}
56
58
62 inline const Aws::Map<Aws::String, Aws::String>& GetCustomProperties() const{ return m_customProperties; }
63 inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; }
64 inline void SetCustomProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; }
65 inline void SetCustomProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); }
68 inline CustomConnectorSourceProperties& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; }
69 inline CustomConnectorSourceProperties& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; }
70 inline CustomConnectorSourceProperties& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; }
71 inline CustomConnectorSourceProperties& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; }
72 inline CustomConnectorSourceProperties& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; }
73 inline CustomConnectorSourceProperties& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; }
74 inline CustomConnectorSourceProperties& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; }
76
78
82 inline const DataTransferApi& GetDataTransferApi() const{ return m_dataTransferApi; }
83 inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; }
84 inline void SetDataTransferApi(const DataTransferApi& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = value; }
85 inline void SetDataTransferApi(DataTransferApi&& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = std::move(value); }
89 private:
90
91 Aws::String m_entityName;
92 bool m_entityNameHasBeenSet = false;
93
94 Aws::Map<Aws::String, Aws::String> m_customProperties;
95 bool m_customPropertiesHasBeenSet = false;
96
97 DataTransferApi m_dataTransferApi;
98 bool m_dataTransferApiHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Appflow
103} // namespace Aws
CustomConnectorSourceProperties & AddCustomProperties(Aws::String &&key, const char *value)
CustomConnectorSourceProperties & WithCustomProperties(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPFLOW_API CustomConnectorSourceProperties(Aws::Utils::Json::JsonView jsonValue)
CustomConnectorSourceProperties & WithEntityName(const char *value)
CustomConnectorSourceProperties & WithDataTransferApi(DataTransferApi &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomProperties(Aws::Map< Aws::String, Aws::String > &&value)
CustomConnectorSourceProperties & AddCustomProperties(const Aws::String &key, const Aws::String &value)
CustomConnectorSourceProperties & AddCustomProperties(const char *key, Aws::String &&value)
CustomConnectorSourceProperties & WithEntityName(Aws::String &&value)
CustomConnectorSourceProperties & AddCustomProperties(const char *key, const char *value)
CustomConnectorSourceProperties & WithEntityName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
CustomConnectorSourceProperties & AddCustomProperties(Aws::String &&key, Aws::String &&value)
CustomConnectorSourceProperties & WithDataTransferApi(const DataTransferApi &value)
CustomConnectorSourceProperties & AddCustomProperties(const Aws::String &key, Aws::String &&value)
void SetCustomProperties(const Aws::Map< Aws::String, Aws::String > &value)
CustomConnectorSourceProperties & AddCustomProperties(Aws::String &&key, const Aws::String &value)
CustomConnectorSourceProperties & WithCustomProperties(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPFLOW_API CustomConnectorSourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue