7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/UiConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/AnnotationConsolidationConfig.h>
12#include <aws/sagemaker/model/PublicWorkforceTaskPrice.h>
52 template<
typename WorkteamArnT = Aws::String>
53 void SetWorkteamArn(WorkteamArnT&& value) { m_workteamArnHasBeenSet =
true; m_workteamArn = std::forward<WorkteamArnT>(value); }
54 template<
typename WorkteamArnT = Aws::String>
65 template<
typename UiConfigT = UiConfig>
66 void SetUiConfig(UiConfigT&& value) { m_uiConfigHasBeenSet =
true; m_uiConfig = std::forward<UiConfigT>(value); }
67 template<
typename UiConfigT = UiConfig>
674 template<
typename PreHumanTaskLambdaArnT = Aws::String>
675 void SetPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT&& value) { m_preHumanTaskLambdaArnHasBeenSet =
true; m_preHumanTaskLambdaArn = std::forward<PreHumanTaskLambdaArnT>(value); }
676 template<
typename PreHumanTaskLambdaArnT = Aws::String>
687 template<
typename TaskKeywordsT = Aws::Vector<Aws::String>>
688 void SetTaskKeywords(TaskKeywordsT&& value) { m_taskKeywordsHasBeenSet =
true; m_taskKeywords = std::forward<TaskKeywordsT>(value); }
689 template<
typename TaskKeywordsT = Aws::Vector<Aws::String>>
691 template<
typename TaskKeywordsT = Aws::String>
692 HumanTaskConfig&
AddTaskKeywords(TaskKeywordsT&& value) { m_taskKeywordsHasBeenSet =
true; m_taskKeywords.emplace_back(std::forward<TaskKeywordsT>(value));
return *
this; }
701 template<
typename TaskTitleT = Aws::String>
702 void SetTaskTitle(TaskTitleT&& value) { m_taskTitleHasBeenSet =
true; m_taskTitle = std::forward<TaskTitleT>(value); }
703 template<
typename TaskTitleT = Aws::String>
713 template<
typename TaskDescriptionT = Aws::String>
714 void SetTaskDescription(TaskDescriptionT&& value) { m_taskDescriptionHasBeenSet =
true; m_taskDescription = std::forward<TaskDescriptionT>(value); }
715 template<
typename TaskDescriptionT = Aws::String>
788 template<
typename AnnotationConsol
idationConfigT = AnnotationConsol
idationConfig>
789 void SetAnnotationConsolidationConfig(AnnotationConsolidationConfigT&& value) { m_annotationConsolidationConfigHasBeenSet =
true; m_annotationConsolidationConfig = std::forward<AnnotationConsolidationConfigT>(value); }
790 template<
typename AnnotationConsol
idationConfigT = AnnotationConsol
idationConfig>
801 template<
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
802 void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT&& value) { m_publicWorkforceTaskPriceHasBeenSet =
true; m_publicWorkforceTaskPrice = std::forward<PublicWorkforceTaskPriceT>(value); }
803 template<
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
809 bool m_workteamArnHasBeenSet =
false;
812 bool m_uiConfigHasBeenSet =
false;
815 bool m_preHumanTaskLambdaArnHasBeenSet =
false;
818 bool m_taskKeywordsHasBeenSet =
false;
821 bool m_taskTitleHasBeenSet =
false;
824 bool m_taskDescriptionHasBeenSet =
false;
826 int m_numberOfHumanWorkersPerDataObject{0};
827 bool m_numberOfHumanWorkersPerDataObjectHasBeenSet =
false;
829 int m_taskTimeLimitInSeconds{0};
830 bool m_taskTimeLimitInSecondsHasBeenSet =
false;
832 int m_taskAvailabilityLifetimeInSeconds{0};
833 bool m_taskAvailabilityLifetimeInSecondsHasBeenSet =
false;
835 int m_maxConcurrentTaskCount{0};
836 bool m_maxConcurrentTaskCountHasBeenSet =
false;
838 AnnotationConsolidationConfig m_annotationConsolidationConfig;
839 bool m_annotationConsolidationConfigHasBeenSet =
false;
841 PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
842 bool m_publicWorkforceTaskPriceHasBeenSet =
false;
HumanTaskConfig & WithMaxConcurrentTaskCount(int value)
void SetTaskAvailabilityLifetimeInSeconds(int value)
bool MaxConcurrentTaskCountHasBeenSet() const
HumanTaskConfig & WithPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT &&value)
const Aws::String & GetWorkteamArn() const
void SetTaskDescription(TaskDescriptionT &&value)
const UiConfig & GetUiConfig() const
void SetMaxConcurrentTaskCount(int value)
AWS_SAGEMAKER_API HumanTaskConfig(Aws::Utils::Json::JsonView jsonValue)
bool TaskAvailabilityLifetimeInSecondsHasBeenSet() const
HumanTaskConfig & WithNumberOfHumanWorkersPerDataObject(int value)
HumanTaskConfig & WithTaskTimeLimitInSeconds(int value)
bool AnnotationConsolidationConfigHasBeenSet() const
HumanTaskConfig & AddTaskKeywords(TaskKeywordsT &&value)
bool TaskKeywordsHasBeenSet() const
void SetAnnotationConsolidationConfig(AnnotationConsolidationConfigT &&value)
const Aws::String & GetTaskDescription() const
int GetMaxConcurrentTaskCount() const
int GetNumberOfHumanWorkersPerDataObject() const
void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT &&value)
const PublicWorkforceTaskPrice & GetPublicWorkforceTaskPrice() const
void SetPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT &&value)
bool PublicWorkforceTaskPriceHasBeenSet() const
bool TaskTimeLimitInSecondsHasBeenSet() const
void SetTaskTimeLimitInSeconds(int value)
bool TaskTitleHasBeenSet() const
int GetTaskAvailabilityLifetimeInSeconds() const
const Aws::Vector< Aws::String > & GetTaskKeywords() const
HumanTaskConfig & WithWorkteamArn(WorkteamArnT &&value)
const Aws::String & GetTaskTitle() const
HumanTaskConfig & WithAnnotationConsolidationConfig(AnnotationConsolidationConfigT &&value)
int GetTaskTimeLimitInSeconds() const
void SetUiConfig(UiConfigT &&value)
void SetNumberOfHumanWorkersPerDataObject(int value)
HumanTaskConfig & WithTaskAvailabilityLifetimeInSeconds(int value)
void SetTaskTitle(TaskTitleT &&value)
const AnnotationConsolidationConfig & GetAnnotationConsolidationConfig() const
const Aws::String & GetPreHumanTaskLambdaArn() const
bool NumberOfHumanWorkersPerDataObjectHasBeenSet() const
bool PreHumanTaskLambdaArnHasBeenSet() const
AWS_SAGEMAKER_API HumanTaskConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HumanTaskConfig & WithTaskTitle(TaskTitleT &&value)
bool TaskDescriptionHasBeenSet() const
HumanTaskConfig & WithTaskKeywords(TaskKeywordsT &&value)
void SetTaskKeywords(TaskKeywordsT &&value)
HumanTaskConfig & WithTaskDescription(TaskDescriptionT &&value)
HumanTaskConfig & WithUiConfig(UiConfigT &&value)
bool UiConfigHasBeenSet() const
HumanTaskConfig & WithPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT &&value)
void SetWorkteamArn(WorkteamArnT &&value)
bool WorkteamArnHasBeenSet() const
AWS_SAGEMAKER_API HumanTaskConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue