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>
26namespace CustomerProfiles
40 AWS_CUSTOMERPROFILES_API
Task() =
default;
52 template<
typename ConnectorOperatorT = ConnectorOperator>
53 void SetConnectorOperator(ConnectorOperatorT&& value) { m_connectorOperatorHasBeenSet =
true; m_connectorOperator = std::forward<ConnectorOperatorT>(value); }
54 template<
typename ConnectorOperatorT = ConnectorOperator>
65 template<
typename DestinationFieldT = Aws::String>
66 void SetDestinationField(DestinationFieldT&& value) { m_destinationFieldHasBeenSet =
true; m_destinationField = std::forward<DestinationFieldT>(value); }
67 template<
typename DestinationFieldT = Aws::String>
77 template<
typename SourceFieldsT = Aws::Vector<Aws::String>>
78 void SetSourceFields(SourceFieldsT&& value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields = std::forward<SourceFieldsT>(value); }
79 template<
typename SourceFieldsT = Aws::Vector<Aws::String>>
81 template<
typename SourceFieldsT = Aws::String>
82 Task&
AddSourceFields(SourceFieldsT&& value) { m_sourceFieldsHasBeenSet =
true; m_sourceFields.emplace_back(std::forward<SourceFieldsT>(value));
return *
this; }
92 template<
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
93 void SetTaskProperties(TaskPropertiesT&& value) { m_taskPropertiesHasBeenSet =
true; m_taskProperties = std::forward<TaskPropertiesT>(value); }
94 template<
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
97 m_taskPropertiesHasBeenSet =
true; m_taskProperties.emplace(key, value);
return *
this;
114 bool m_connectorOperatorHasBeenSet =
false;
117 bool m_destinationFieldHasBeenSet =
false;
120 bool m_sourceFieldsHasBeenSet =
false;
123 bool m_taskPropertiesHasBeenSet =
false;
126 bool m_taskTypeHasBeenSet =
false;
bool TaskTypeHasBeenSet() const
AWS_CUSTOMERPROFILES_API Task()=default
Task & WithTaskType(TaskType value)
Task & WithConnectorOperator(ConnectorOperatorT &&value)
Task & AddTaskProperties(OperatorPropertiesKeys key, Aws::String value)
const Aws::String & GetDestinationField() const
void SetDestinationField(DestinationFieldT &&value)
void SetSourceFields(SourceFieldsT &&value)
bool ConnectorOperatorHasBeenSet() const
void SetTaskType(TaskType value)
Task & WithSourceFields(SourceFieldsT &&value)
AWS_CUSTOMERPROFILES_API Task & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSourceFields() const
const Aws::Map< OperatorPropertiesKeys, Aws::String > & GetTaskProperties() const
bool TaskPropertiesHasBeenSet() const
TaskType GetTaskType() const
bool DestinationFieldHasBeenSet() const
AWS_CUSTOMERPROFILES_API Task(Aws::Utils::Json::JsonView jsonValue)
Task & AddSourceFields(SourceFieldsT &&value)
void SetTaskProperties(TaskPropertiesT &&value)
const ConnectorOperator & GetConnectorOperator() const
Task & WithDestinationField(DestinationFieldT &&value)
bool SourceFieldsHasBeenSet() const
void SetConnectorOperator(ConnectorOperatorT &&value)
Task & WithTaskProperties(TaskPropertiesT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
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