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>
699 template<
typename PreHumanTaskLambdaArnT = Aws::String>
700 void SetPreHumanTaskLambdaArn(PreHumanTaskLambdaArnT&& value) { m_preHumanTaskLambdaArnHasBeenSet =
true; m_preHumanTaskLambdaArn = std::forward<PreHumanTaskLambdaArnT>(value); }
701 template<
typename PreHumanTaskLambdaArnT = Aws::String>
712 template<
typename TaskKeywordsT = Aws::Vector<Aws::String>>
713 void SetTaskKeywords(TaskKeywordsT&& value) { m_taskKeywordsHasBeenSet =
true; m_taskKeywords = std::forward<TaskKeywordsT>(value); }
714 template<
typename TaskKeywordsT = Aws::Vector<Aws::String>>
716 template<
typename TaskKeywordsT = Aws::String>
717 HumanTaskConfig&
AddTaskKeywords(TaskKeywordsT&& value) { m_taskKeywordsHasBeenSet =
true; m_taskKeywords.emplace_back(std::forward<TaskKeywordsT>(value));
return *
this; }
726 template<
typename TaskTitleT = Aws::String>
727 void SetTaskTitle(TaskTitleT&& value) { m_taskTitleHasBeenSet =
true; m_taskTitle = std::forward<TaskTitleT>(value); }
728 template<
typename TaskTitleT = Aws::String>
738 template<
typename TaskDescriptionT = Aws::String>
739 void SetTaskDescription(TaskDescriptionT&& value) { m_taskDescriptionHasBeenSet =
true; m_taskDescription = std::forward<TaskDescriptionT>(value); }
740 template<
typename TaskDescriptionT = Aws::String>
813 template<
typename AnnotationConsol
idationConfigT = AnnotationConsol
idationConfig>
814 void SetAnnotationConsolidationConfig(AnnotationConsolidationConfigT&& value) { m_annotationConsolidationConfigHasBeenSet =
true; m_annotationConsolidationConfig = std::forward<AnnotationConsolidationConfigT>(value); }
815 template<
typename AnnotationConsol
idationConfigT = AnnotationConsol
idationConfig>
826 template<
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
827 void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT&& value) { m_publicWorkforceTaskPriceHasBeenSet =
true; m_publicWorkforceTaskPrice = std::forward<PublicWorkforceTaskPriceT>(value); }
828 template<
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
834 bool m_workteamArnHasBeenSet =
false;
837 bool m_uiConfigHasBeenSet =
false;
840 bool m_preHumanTaskLambdaArnHasBeenSet =
false;
843 bool m_taskKeywordsHasBeenSet =
false;
846 bool m_taskTitleHasBeenSet =
false;
849 bool m_taskDescriptionHasBeenSet =
false;
851 int m_numberOfHumanWorkersPerDataObject{0};
852 bool m_numberOfHumanWorkersPerDataObjectHasBeenSet =
false;
854 int m_taskTimeLimitInSeconds{0};
855 bool m_taskTimeLimitInSecondsHasBeenSet =
false;
857 int m_taskAvailabilityLifetimeInSeconds{0};
858 bool m_taskAvailabilityLifetimeInSecondsHasBeenSet =
false;
860 int m_maxConcurrentTaskCount{0};
861 bool m_maxConcurrentTaskCountHasBeenSet =
false;
863 AnnotationConsolidationConfig m_annotationConsolidationConfig;
864 bool m_annotationConsolidationConfigHasBeenSet =
false;
866 PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
867 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