AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Task.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/ConnectorOperator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/customer-profiles/model/TaskType.h>
13#include <aws/customer-profiles/model/OperatorPropertiesKeys.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CustomerProfiles
27{
28namespace Model
29{
30
37 class Task
38 {
39 public:
40 AWS_CUSTOMERPROFILES_API Task();
41 AWS_CUSTOMERPROFILES_API Task(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CUSTOMERPROFILES_API Task& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const ConnectorOperator& GetConnectorOperator() const{ return m_connectorOperator; }
51 inline bool ConnectorOperatorHasBeenSet() const { return m_connectorOperatorHasBeenSet; }
52 inline void SetConnectorOperator(const ConnectorOperator& value) { m_connectorOperatorHasBeenSet = true; m_connectorOperator = value; }
53 inline void SetConnectorOperator(ConnectorOperator&& value) { m_connectorOperatorHasBeenSet = true; m_connectorOperator = std::move(value); }
54 inline Task& WithConnectorOperator(const ConnectorOperator& value) { SetConnectorOperator(value); return *this;}
55 inline Task& WithConnectorOperator(ConnectorOperator&& value) { SetConnectorOperator(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetDestinationField() const{ return m_destinationField; }
64 inline bool DestinationFieldHasBeenSet() const { return m_destinationFieldHasBeenSet; }
65 inline void SetDestinationField(const Aws::String& value) { m_destinationFieldHasBeenSet = true; m_destinationField = value; }
66 inline void SetDestinationField(Aws::String&& value) { m_destinationFieldHasBeenSet = true; m_destinationField = std::move(value); }
67 inline void SetDestinationField(const char* value) { m_destinationFieldHasBeenSet = true; m_destinationField.assign(value); }
68 inline Task& WithDestinationField(const Aws::String& value) { SetDestinationField(value); return *this;}
69 inline Task& WithDestinationField(Aws::String&& value) { SetDestinationField(std::move(value)); return *this;}
70 inline Task& WithDestinationField(const char* value) { SetDestinationField(value); return *this;}
72
74
77 inline const Aws::Vector<Aws::String>& GetSourceFields() const{ return m_sourceFields; }
78 inline bool SourceFieldsHasBeenSet() const { return m_sourceFieldsHasBeenSet; }
79 inline void SetSourceFields(const Aws::Vector<Aws::String>& value) { m_sourceFieldsHasBeenSet = true; m_sourceFields = value; }
80 inline void SetSourceFields(Aws::Vector<Aws::String>&& value) { m_sourceFieldsHasBeenSet = true; m_sourceFields = std::move(value); }
81 inline Task& WithSourceFields(const Aws::Vector<Aws::String>& value) { SetSourceFields(value); return *this;}
82 inline Task& WithSourceFields(Aws::Vector<Aws::String>&& value) { SetSourceFields(std::move(value)); return *this;}
83 inline Task& AddSourceFields(const Aws::String& value) { m_sourceFieldsHasBeenSet = true; m_sourceFields.push_back(value); return *this; }
84 inline Task& AddSourceFields(Aws::String&& value) { m_sourceFieldsHasBeenSet = true; m_sourceFields.push_back(std::move(value)); return *this; }
85 inline Task& AddSourceFields(const char* value) { m_sourceFieldsHasBeenSet = true; m_sourceFields.push_back(value); return *this; }
87
89
93 inline const Aws::Map<OperatorPropertiesKeys, Aws::String>& GetTaskProperties() const{ return m_taskProperties; }
94 inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; }
95 inline void SetTaskProperties(const Aws::Map<OperatorPropertiesKeys, Aws::String>& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = value; }
96 inline void SetTaskProperties(Aws::Map<OperatorPropertiesKeys, Aws::String>&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = std::move(value); }
99 inline Task& AddTaskProperties(const OperatorPropertiesKeys& key, const Aws::String& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.emplace(key, value); return *this; }
100 inline Task& AddTaskProperties(OperatorPropertiesKeys&& key, const Aws::String& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.emplace(std::move(key), value); return *this; }
101 inline Task& AddTaskProperties(const OperatorPropertiesKeys& key, Aws::String&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.emplace(key, std::move(value)); return *this; }
102 inline Task& AddTaskProperties(OperatorPropertiesKeys&& key, Aws::String&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.emplace(std::move(key), std::move(value)); return *this; }
103 inline Task& AddTaskProperties(OperatorPropertiesKeys&& key, const char* value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.emplace(std::move(key), value); return *this; }
104 inline Task& AddTaskProperties(const OperatorPropertiesKeys& key, const char* value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.emplace(key, value); return *this; }
106
108
112 inline const TaskType& GetTaskType() const{ return m_taskType; }
113 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
114 inline void SetTaskType(const TaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
115 inline void SetTaskType(TaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); }
116 inline Task& WithTaskType(const TaskType& value) { SetTaskType(value); return *this;}
117 inline Task& WithTaskType(TaskType&& value) { SetTaskType(std::move(value)); return *this;}
119 private:
120
121 ConnectorOperator m_connectorOperator;
122 bool m_connectorOperatorHasBeenSet = false;
123
124 Aws::String m_destinationField;
125 bool m_destinationFieldHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_sourceFields;
128 bool m_sourceFieldsHasBeenSet = false;
129
131 bool m_taskPropertiesHasBeenSet = false;
132
133 TaskType m_taskType;
134 bool m_taskTypeHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace CustomerProfiles
139} // namespace Aws
Task & WithDestinationField(Aws::String &&value)
Definition Task.h:69
Task & WithDestinationField(const Aws::String &value)
Definition Task.h:68
void SetTaskType(const TaskType &value)
Definition Task.h:114
Task & AddTaskProperties(const OperatorPropertiesKeys &key, const char *value)
Definition Task.h:104
const Aws::String & GetDestinationField() const
Definition Task.h:63
Task & AddTaskProperties(OperatorPropertiesKeys &&key, const char *value)
Definition Task.h:103
Task & WithSourceFields(Aws::Vector< Aws::String > &&value)
Definition Task.h:82
Task & AddSourceFields(const char *value)
Definition Task.h:85
void SetTaskProperties(const Aws::Map< OperatorPropertiesKeys, Aws::String > &value)
Definition Task.h:95
Task & WithConnectorOperator(const ConnectorOperator &value)
Definition Task.h:54
Task & WithTaskType(const TaskType &value)
Definition Task.h:116
Task & AddTaskProperties(OperatorPropertiesKeys &&key, Aws::String &&value)
Definition Task.h:102
bool ConnectorOperatorHasBeenSet() const
Definition Task.h:51
Task & WithTaskProperties(const Aws::Map< OperatorPropertiesKeys, Aws::String > &value)
Definition Task.h:97
Task & WithTaskProperties(Aws::Map< OperatorPropertiesKeys, Aws::String > &&value)
Definition Task.h:98
Task & WithDestinationField(const char *value)
Definition Task.h:70
Task & WithConnectorOperator(ConnectorOperator &&value)
Definition Task.h:55
AWS_CUSTOMERPROFILES_API Task & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSourceFields() const
Definition Task.h:77
const Aws::Map< OperatorPropertiesKeys, Aws::String > & GetTaskProperties() const
Definition Task.h:93
void SetTaskType(TaskType &&value)
Definition Task.h:115
bool TaskPropertiesHasBeenSet() const
Definition Task.h:94
bool DestinationFieldHasBeenSet() const
Definition Task.h:64
Task & AddTaskProperties(OperatorPropertiesKeys &&key, const Aws::String &value)
Definition Task.h:100
Task & AddTaskProperties(const OperatorPropertiesKeys &key, Aws::String &&value)
Definition Task.h:101
AWS_CUSTOMERPROFILES_API Task(Aws::Utils::Json::JsonView jsonValue)
Task & AddSourceFields(Aws::String &&value)
Definition Task.h:84
void SetSourceFields(Aws::Vector< Aws::String > &&value)
Definition Task.h:80
void SetDestinationField(const Aws::String &value)
Definition Task.h:65
Task & WithTaskType(TaskType &&value)
Definition Task.h:117
void SetDestinationField(Aws::String &&value)
Definition Task.h:66
Task & WithSourceFields(const Aws::Vector< Aws::String > &value)
Definition Task.h:81
const TaskType & GetTaskType() const
Definition Task.h:112
void SetConnectorOperator(ConnectorOperator &&value)
Definition Task.h:53
void SetSourceFields(const Aws::Vector< Aws::String > &value)
Definition Task.h:79
Task & AddSourceFields(const Aws::String &value)
Definition Task.h:83
void SetTaskProperties(Aws::Map< OperatorPropertiesKeys, Aws::String > &&value)
Definition Task.h:96
const ConnectorOperator & GetConnectorOperator() const
Definition Task.h:50
bool SourceFieldsHasBeenSet() const
Definition Task.h:78
Task & AddTaskProperties(const OperatorPropertiesKeys &key, const Aws::String &value)
Definition Task.h:99
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectorOperator(const ConnectorOperator &value)
Definition Task.h:52
void SetDestinationField(const char *value)
Definition Task.h:67
AWS_CUSTOMERPROFILES_API Task()
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