7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorOperator.h>
9#include <aws/appflow/model/OperatorPropertiesKeys.h>
10#include <aws/appflow/model/TaskType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
35 AWS_APPFLOW_API
Task() =
default;
46 template <
typename SourceFieldsT = Aws::Vector<Aws::String>>
48 m_sourceFieldsHasBeenSet =
true;
49 m_sourceFields = std::forward<SourceFieldsT>(value);
51 template <
typename SourceFieldsT = Aws::Vector<Aws::String>>
56 template <
typename SourceFieldsT = Aws::String>
58 m_sourceFieldsHasBeenSet =
true;
59 m_sourceFields.emplace_back(std::forward<SourceFieldsT>(value));
70 template <
typename ConnectorOperatorT = ConnectorOperator>
72 m_connectorOperatorHasBeenSet =
true;
73 m_connectorOperator = std::forward<ConnectorOperatorT>(value);
75 template <
typename ConnectorOperatorT = ConnectorOperator>
89 template <
typename DestinationFieldT = Aws::String>
91 m_destinationFieldHasBeenSet =
true;
92 m_destinationField = std::forward<DestinationFieldT>(value);
94 template <
typename DestinationFieldT = Aws::String>
109 m_taskTypeHasBeenSet =
true;
125 template <
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
127 m_taskPropertiesHasBeenSet =
true;
128 m_taskProperties = std::forward<TaskPropertiesT>(value);
130 template <
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
136 m_taskPropertiesHasBeenSet =
true;
137 m_taskProperties.emplace(key, value);
151 bool m_sourceFieldsHasBeenSet =
false;
152 bool m_connectorOperatorHasBeenSet =
false;
153 bool m_destinationFieldHasBeenSet =
false;
154 bool m_taskTypeHasBeenSet =
false;
155 bool m_taskPropertiesHasBeenSet =
false;
bool TaskTypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceFields() const
const ConnectorOperator & GetConnectorOperator() const
void SetTaskProperties(TaskPropertiesT &&value)
bool ConnectorOperatorHasBeenSet() const
Task & WithDestinationField(DestinationFieldT &&value)
Task & AddTaskProperties(OperatorPropertiesKeys key, Aws::String value)
void SetSourceFields(SourceFieldsT &&value)
Task & WithConnectorOperator(ConnectorOperatorT &&value)
void SetDestinationField(DestinationFieldT &&value)
AWS_APPFLOW_API Task()=default
Task & WithTaskType(TaskType value)
void SetTaskType(TaskType value)
bool TaskPropertiesHasBeenSet() const
Task & WithTaskProperties(TaskPropertiesT &&value)
bool DestinationFieldHasBeenSet() const
bool SourceFieldsHasBeenSet() const
void SetConnectorOperator(ConnectorOperatorT &&value)
AWS_APPFLOW_API Task(Aws::Utils::Json::JsonView jsonValue)
TaskType GetTaskType() const
AWS_APPFLOW_API Task & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationField() const
Task & AddSourceFields(SourceFieldsT &&value)
const Aws::Map< OperatorPropertiesKeys, Aws::String > & GetTaskProperties() const
Task & WithSourceFields(SourceFieldsT &&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