7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appflow/model/ConnectorOperator.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/appflow/model/TaskType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/appflow/model/OperatorPropertiesKeys.h>
40 AWS_APPFLOW_API
Task() =
default;
52 template<
typename SourceFieldsT = Aws::Vector<Aws::String>>
53 void SetSourceFields(SourceFieldsT&& value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields = std::forward<SourceFieldsT>(value); }
54 template<
typename SourceFieldsT = Aws::Vector<Aws::String>>
56 template<
typename SourceFieldsT = Aws::String>
57 Task&
AddSourceFields(SourceFieldsT&& value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields.emplace_back(std::forward<SourceFieldsT>(value));
return *
this; }
66 template<
typename ConnectorOperatorT = ConnectorOperator>
67 void SetConnectorOperator(ConnectorOperatorT&& value) { m_connectorOperatorHasBeenSet =
true; m_connectorOperator = std::forward<ConnectorOperatorT>(value); }
68 template<
typename ConnectorOperatorT = ConnectorOperator>
79 template<
typename DestinationFieldT = Aws::String>
80 void SetDestinationField(DestinationFieldT&& value) { m_destinationFieldHasBeenSet =
true; m_destinationField = std::forward<DestinationFieldT>(value); }
81 template<
typename DestinationFieldT = Aws::String>
103 template<
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
104 void SetTaskProperties(TaskPropertiesT&& value) { m_taskPropertiesHasBeenSet =
true; m_taskProperties = std::forward<TaskPropertiesT>(value); }
105 template<
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
108 m_taskPropertiesHasBeenSet =
true; m_taskProperties.emplace(key, value);
return *
this;
114 bool m_sourceFieldsHasBeenSet =
false;
117 bool m_connectorOperatorHasBeenSet =
false;
120 bool m_destinationFieldHasBeenSet =
false;
123 bool m_taskTypeHasBeenSet =
false;
126 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