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/PublicWorkforceTaskPrice.h>
47 template <
typename WorkteamArnT = Aws::String>
49 m_workteamArnHasBeenSet =
true;
50 m_workteamArn = std::forward<WorkteamArnT>(value);
52 template <
typename WorkteamArnT = Aws::String>
73 template <
typename HumanTaskUiArnT = Aws::String>
75 m_humanTaskUiArnHasBeenSet =
true;
76 m_humanTaskUiArn = std::forward<HumanTaskUiArnT>(value);
78 template <
typename HumanTaskUiArnT = Aws::String>
91 template <
typename TaskTitleT = Aws::String>
93 m_taskTitleHasBeenSet =
true;
94 m_taskTitle = std::forward<TaskTitleT>(value);
96 template <
typename TaskTitleT = Aws::String>
109 template <
typename TaskDescriptionT = Aws::String>
111 m_taskDescriptionHasBeenSet =
true;
112 m_taskDescription = std::forward<TaskDescriptionT>(value);
114 template <
typename TaskDescriptionT = Aws::String>
131 m_taskCountHasBeenSet =
true;
148 m_taskAvailabilityLifetimeInSecondsHasBeenSet =
true;
149 m_taskAvailabilityLifetimeInSeconds = value;
165 m_taskTimeLimitInSecondsHasBeenSet =
true;
166 m_taskTimeLimitInSeconds = value;
180 template <
typename TaskKeywordsT = Aws::Vector<Aws::String>>
182 m_taskKeywordsHasBeenSet =
true;
183 m_taskKeywords = std::forward<TaskKeywordsT>(value);
185 template <
typename TaskKeywordsT = Aws::Vector<Aws::String>>
190 template <
typename TaskKeywordsT = Aws::String>
192 m_taskKeywordsHasBeenSet =
true;
193 m_taskKeywords.emplace_back(std::forward<TaskKeywordsT>(value));
202 template <
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
204 m_publicWorkforceTaskPriceHasBeenSet =
true;
205 m_publicWorkforceTaskPrice = std::forward<PublicWorkforceTaskPriceT>(value);
207 template <
typename PublicWorkforceTaskPriceT = PublicWorkforceTaskPrice>
224 int m_taskAvailabilityLifetimeInSeconds{0};
226 int m_taskTimeLimitInSeconds{0};
230 PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
231 bool m_workteamArnHasBeenSet =
false;
232 bool m_humanTaskUiArnHasBeenSet =
false;
233 bool m_taskTitleHasBeenSet =
false;
234 bool m_taskDescriptionHasBeenSet =
false;
235 bool m_taskCountHasBeenSet =
false;
236 bool m_taskAvailabilityLifetimeInSecondsHasBeenSet =
false;
237 bool m_taskTimeLimitInSecondsHasBeenSet =
false;
238 bool m_taskKeywordsHasBeenSet =
false;
239 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