7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/ConnectorOperator.h>
12#include <aws/customer-profiles/model/OperatorPropertiesKeys.h>
13#include <aws/customer-profiles/model/TaskType.h>
24namespace CustomerProfiles {
35 AWS_CUSTOMERPROFILES_API
Task() =
default;
46 template <
typename ConnectorOperatorT = ConnectorOperator>
48 m_connectorOperatorHasBeenSet =
true;
49 m_connectorOperator = std::forward<ConnectorOperatorT>(value);
51 template <
typename ConnectorOperatorT = ConnectorOperator>
65 template <
typename DestinationFieldT = Aws::String>
67 m_destinationFieldHasBeenSet =
true;
68 m_destinationField = std::forward<DestinationFieldT>(value);
70 template <
typename DestinationFieldT = Aws::String>
83 template <
typename SourceFieldsT = Aws::Vector<Aws::String>>
85 m_sourceFieldsHasBeenSet =
true;
86 m_sourceFields = std::forward<SourceFieldsT>(value);
88 template <
typename SourceFieldsT = Aws::Vector<Aws::String>>
93 template <
typename SourceFieldsT = Aws::String>
95 m_sourceFieldsHasBeenSet =
true;
96 m_sourceFields.emplace_back(std::forward<SourceFieldsT>(value));
108 template <
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
110 m_taskPropertiesHasBeenSet =
true;
111 m_taskProperties = std::forward<TaskPropertiesT>(value);
113 template <
typename TaskPropertiesT = Aws::Map<OperatorPropertiesKeys, Aws::String>>
119 m_taskPropertiesHasBeenSet =
true;
120 m_taskProperties.emplace(key, value);
133 m_taskTypeHasBeenSet =
true;
151 bool m_connectorOperatorHasBeenSet =
false;
152 bool m_destinationFieldHasBeenSet =
false;
153 bool m_sourceFieldsHasBeenSet =
false;
154 bool m_taskPropertiesHasBeenSet =
false;
155 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