7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AnnotationConsolidationConfig.h>
11#include <aws/sagemaker/model/PublicWorkforceTaskPrice.h>
12#include <aws/sagemaker/model/UiConfig.h>
46 template <
typename WorkteamArnT = Aws::String>
48 m_workteamArnHasBeenSet =
true;
49 m_workteamArn = std::forward<WorkteamArnT>(value);
51 template <
typename WorkteamArnT = Aws::String>
65 template <
typename UiConfigT = UiConfig>
67 m_uiConfigHasBeenSet =
true;
68 m_uiConfig = std::forward<UiConfigT>(value);
70 template <
typename UiConfigT = UiConfig>
705 template <
typename PreHumanTaskLambdaArnT = Aws::String>
707 m_preHumanTaskLambdaArnHasBeenSet =
true;
708 m_preHumanTaskLambdaArn = std::forward<PreHumanTaskLambdaArnT>(value);
710 template <
typename PreHumanTaskLambdaArnT = Aws::String>
724 template <
typename TaskKeywordsT = Aws::Vector<Aws::String>>
726 m_taskKeywordsHasBeenSet =
true;
727 m_taskKeywords = std::forward<TaskKeywordsT>(value);
729 template <
typename TaskKeywordsT = Aws::Vector<Aws::String>>
734 template <
typename TaskKeywordsT = Aws::String>
736 m_taskKeywordsHasBeenSet =
true;
737 m_taskKeywords.emplace_back(std::forward<TaskKeywordsT>(value));
748 template <
typename TaskTitleT = Aws::String>
750 m_taskTitleHasBeenSet =
true;
751 m_taskTitle = std::forward<TaskTitleT>(value);
753 template <
typename TaskTitleT = Aws::String>
766 template <
typename TaskDescriptionT = Aws::String>
768 m_taskDescriptionHasBeenSet =
true;
769 m_taskDescription = std::forward<TaskDescriptionT>(value);
771 template <
typename TaskDescriptionT = Aws::String>
785 m_numberOfHumanWorkersPerDataObjectHasBeenSet =
true;
786 m_numberOfHumanWorkersPerDataObject = value;
815 m_taskTimeLimitInSecondsHasBeenSet =
true;
816 m_taskTimeLimitInSeconds = value;
837 m_taskAvailabilityLifetimeInSecondsHasBeenSet =
true;
838 m_taskAvailabilityLifetimeInSeconds = value;
856 m_maxConcurrentTaskCountHasBeenSet =
true;
857 m_maxConcurrentTaskCount = value;
871 template <
typename AnnotationConsol
idationConfigT = AnnotationConsol
idationConfig>
873 m_annotationConsolidationConfigHasBeenSet =
true;
874 m_annotationConsolidationConfig = std::forward<AnnotationConsolidationConfigT>(value);
876 template <
typename AnnotationConsol
idationConfigT = AnnotationConsol
idationConfig>
890 template <
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
892 m_publicWorkforceTaskPriceHasBeenSet =
true;
893 m_publicWorkforceTaskPrice = std::forward<PublicWorkforceTaskPriceT>(value);
895 template <
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
914 int m_numberOfHumanWorkersPerDataObject{0};
916 int m_taskTimeLimitInSeconds{0};
918 int m_taskAvailabilityLifetimeInSeconds{0};
920 int m_maxConcurrentTaskCount{0};
922 AnnotationConsolidationConfig m_annotationConsolidationConfig;
924 PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
925 bool m_workteamArnHasBeenSet =
false;
926 bool m_uiConfigHasBeenSet =
false;
927 bool m_preHumanTaskLambdaArnHasBeenSet =
false;
928 bool m_taskKeywordsHasBeenSet =
false;
929 bool m_taskTitleHasBeenSet =
false;
930 bool m_taskDescriptionHasBeenSet =
false;
931 bool m_numberOfHumanWorkersPerDataObjectHasBeenSet =
false;
932 bool m_taskTimeLimitInSecondsHasBeenSet =
false;
933 bool m_taskAvailabilityLifetimeInSecondsHasBeenSet =
false;
934 bool m_maxConcurrentTaskCountHasBeenSet =
false;
935 bool m_annotationConsolidationConfigHasBeenSet =
false;
936 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