7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/PublicWorkforceTaskPrice.h>
53 template<
typename WorkteamArnT = Aws::String>
54 void SetWorkteamArn(WorkteamArnT&& value) { m_workteamArnHasBeenSet =
true; m_workteamArn = std::forward<WorkteamArnT>(value); }
55 template<
typename WorkteamArnT = Aws::String>
73 template<
typename HumanTaskUiArnT = Aws::String>
74 void SetHumanTaskUiArn(HumanTaskUiArnT&& value) { m_humanTaskUiArnHasBeenSet =
true; m_humanTaskUiArn = std::forward<HumanTaskUiArnT>(value); }
75 template<
typename HumanTaskUiArnT = Aws::String>
85 template<
typename TaskTitleT = Aws::String>
86 void SetTaskTitle(TaskTitleT&& value) { m_taskTitleHasBeenSet =
true; m_taskTitle = std::forward<TaskTitleT>(value); }
87 template<
typename TaskTitleT = Aws::String>
97 template<
typename TaskDescriptionT = Aws::String>
98 void SetTaskDescription(TaskDescriptionT&& value) { m_taskDescriptionHasBeenSet =
true; m_taskDescription = std::forward<TaskDescriptionT>(value); }
99 template<
typename TaskDescriptionT = Aws::String>
112 inline void SetTaskCount(
int value) { m_taskCountHasBeenSet =
true; m_taskCount = value; }
144 template<
typename TaskKeywordsT = Aws::Vector<Aws::String>>
145 void SetTaskKeywords(TaskKeywordsT&& value) { m_taskKeywordsHasBeenSet =
true; m_taskKeywords = std::forward<TaskKeywordsT>(value); }
146 template<
typename TaskKeywordsT = Aws::Vector<Aws::String>>
148 template<
typename TaskKeywordsT = Aws::String>
149 HumanLoopConfig&
AddTaskKeywords(TaskKeywordsT&& value) { m_taskKeywordsHasBeenSet =
true; m_taskKeywords.emplace_back(std::forward<TaskKeywordsT>(value));
return *
this; }
156 template<
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
157 void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT&& value) { m_publicWorkforceTaskPriceHasBeenSet =
true; m_publicWorkforceTaskPrice = std::forward<PublicWorkforceTaskPriceT>(value); }
158 template<
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
164 bool m_workteamArnHasBeenSet =
false;
167 bool m_humanTaskUiArnHasBeenSet =
false;
170 bool m_taskTitleHasBeenSet =
false;
173 bool m_taskDescriptionHasBeenSet =
false;
176 bool m_taskCountHasBeenSet =
false;
178 int m_taskAvailabilityLifetimeInSeconds{0};
179 bool m_taskAvailabilityLifetimeInSecondsHasBeenSet =
false;
181 int m_taskTimeLimitInSeconds{0};
182 bool m_taskTimeLimitInSecondsHasBeenSet =
false;
185 bool m_taskKeywordsHasBeenSet =
false;
187 PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
188 bool m_publicWorkforceTaskPriceHasBeenSet =
false;
HumanLoopConfig & AddTaskKeywords(TaskKeywordsT &&value)
bool TaskTimeLimitInSecondsHasBeenSet() const
void SetHumanTaskUiArn(HumanTaskUiArnT &&value)
const Aws::String & GetTaskTitle() const
void SetTaskAvailabilityLifetimeInSeconds(int value)
HumanLoopConfig & WithTaskTimeLimitInSeconds(int value)
const PublicWorkforceTaskPrice & GetPublicWorkforceTaskPrice() const
bool TaskKeywordsHasBeenSet() const
void SetTaskCount(int value)
void SetTaskTimeLimitInSeconds(int value)
int GetTaskAvailabilityLifetimeInSeconds() const
bool TaskAvailabilityLifetimeInSecondsHasBeenSet() const
const Aws::String & GetWorkteamArn() const
int GetTaskTimeLimitInSeconds() const
bool TaskCountHasBeenSet() const
bool HumanTaskUiArnHasBeenSet() const
void SetTaskDescription(TaskDescriptionT &&value)
void SetTaskKeywords(TaskKeywordsT &&value)
HumanLoopConfig & WithTaskAvailabilityLifetimeInSeconds(int value)
HumanLoopConfig & WithWorkteamArn(WorkteamArnT &&value)
void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT &&value)
void SetTaskTitle(TaskTitleT &&value)
AWS_SAGEMAKER_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithTaskDescription(TaskDescriptionT &&value)
bool WorkteamArnHasBeenSet() const
HumanLoopConfig & WithTaskKeywords(TaskKeywordsT &&value)
void SetWorkteamArn(WorkteamArnT &&value)
bool PublicWorkforceTaskPriceHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API HumanLoopConfig()=default
HumanLoopConfig & WithTaskCount(int value)
bool TaskDescriptionHasBeenSet() const
bool TaskTitleHasBeenSet() const
const Aws::Vector< Aws::String > & GetTaskKeywords() const
AWS_SAGEMAKER_API HumanLoopConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithTaskTitle(TaskTitleT &&value)
const Aws::String & GetTaskDescription() const
HumanLoopConfig & WithHumanTaskUiArn(HumanTaskUiArnT &&value)
const Aws::String & GetHumanTaskUiArn() const
HumanLoopConfig & WithPublicWorkforceTaskPrice(PublicWorkforceTaskPriceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue