AWS SDK for C++  1.9.160
AWS SDK for C++
HumanLoopConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
50  inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; }
51 
59  inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
60 
68  inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; }
69 
77  inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); }
78 
86  inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); }
87 
95  inline HumanLoopConfig& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;}
96 
104  inline HumanLoopConfig& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;}
105 
113  inline HumanLoopConfig& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;}
114 
115 
127  inline const Aws::String& GetHumanTaskUiArn() const{ return m_humanTaskUiArn; }
128 
140  inline bool HumanTaskUiArnHasBeenSet() const { return m_humanTaskUiArnHasBeenSet; }
141 
153  inline void SetHumanTaskUiArn(const Aws::String& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = value; }
154 
166  inline void SetHumanTaskUiArn(Aws::String&& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = std::move(value); }
167 
179  inline void SetHumanTaskUiArn(const char* value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn.assign(value); }
180 
192  inline HumanLoopConfig& WithHumanTaskUiArn(const Aws::String& value) { SetHumanTaskUiArn(value); return *this;}
193 
205  inline HumanLoopConfig& WithHumanTaskUiArn(Aws::String&& value) { SetHumanTaskUiArn(std::move(value)); return *this;}
206 
218  inline HumanLoopConfig& WithHumanTaskUiArn(const char* value) { SetHumanTaskUiArn(value); return *this;}
219 
220 
224  inline const Aws::String& GetTaskTitle() const{ return m_taskTitle; }
225 
229  inline bool TaskTitleHasBeenSet() const { return m_taskTitleHasBeenSet; }
230 
234  inline void SetTaskTitle(const Aws::String& value) { m_taskTitleHasBeenSet = true; m_taskTitle = value; }
235 
239  inline void SetTaskTitle(Aws::String&& value) { m_taskTitleHasBeenSet = true; m_taskTitle = std::move(value); }
240 
244  inline void SetTaskTitle(const char* value) { m_taskTitleHasBeenSet = true; m_taskTitle.assign(value); }
245 
249  inline HumanLoopConfig& WithTaskTitle(const Aws::String& value) { SetTaskTitle(value); return *this;}
250 
254  inline HumanLoopConfig& WithTaskTitle(Aws::String&& value) { SetTaskTitle(std::move(value)); return *this;}
255 
259  inline HumanLoopConfig& WithTaskTitle(const char* value) { SetTaskTitle(value); return *this;}
260 
261 
265  inline const Aws::String& GetTaskDescription() const{ return m_taskDescription; }
266 
270  inline bool TaskDescriptionHasBeenSet() const { return m_taskDescriptionHasBeenSet; }
271 
275  inline void SetTaskDescription(const Aws::String& value) { m_taskDescriptionHasBeenSet = true; m_taskDescription = value; }
276 
280  inline void SetTaskDescription(Aws::String&& value) { m_taskDescriptionHasBeenSet = true; m_taskDescription = std::move(value); }
281 
285  inline void SetTaskDescription(const char* value) { m_taskDescriptionHasBeenSet = true; m_taskDescription.assign(value); }
286 
290  inline HumanLoopConfig& WithTaskDescription(const Aws::String& value) { SetTaskDescription(value); return *this;}
291 
295  inline HumanLoopConfig& WithTaskDescription(Aws::String&& value) { SetTaskDescription(std::move(value)); return *this;}
296 
300  inline HumanLoopConfig& WithTaskDescription(const char* value) { SetTaskDescription(value); return *this;}
301 
302 
309  inline int GetTaskCount() const{ return m_taskCount; }
310 
317  inline bool TaskCountHasBeenSet() const { return m_taskCountHasBeenSet; }
318 
325  inline void SetTaskCount(int value) { m_taskCountHasBeenSet = true; m_taskCount = value; }
326 
333  inline HumanLoopConfig& WithTaskCount(int value) { SetTaskCount(value); return *this;}
334 
335 
340  inline int GetTaskAvailabilityLifetimeInSeconds() const{ return m_taskAvailabilityLifetimeInSeconds; }
341 
346  inline bool TaskAvailabilityLifetimeInSecondsHasBeenSet() const { return m_taskAvailabilityLifetimeInSecondsHasBeenSet; }
347 
352  inline void SetTaskAvailabilityLifetimeInSeconds(int value) { m_taskAvailabilityLifetimeInSecondsHasBeenSet = true; m_taskAvailabilityLifetimeInSeconds = value; }
353 
358  inline HumanLoopConfig& WithTaskAvailabilityLifetimeInSeconds(int value) { SetTaskAvailabilityLifetimeInSeconds(value); return *this;}
359 
360 
365  inline int GetTaskTimeLimitInSeconds() const{ return m_taskTimeLimitInSeconds; }
366 
371  inline bool TaskTimeLimitInSecondsHasBeenSet() const { return m_taskTimeLimitInSecondsHasBeenSet; }
372 
377  inline void SetTaskTimeLimitInSeconds(int value) { m_taskTimeLimitInSecondsHasBeenSet = true; m_taskTimeLimitInSeconds = value; }
378 
383  inline HumanLoopConfig& WithTaskTimeLimitInSeconds(int value) { SetTaskTimeLimitInSeconds(value); return *this;}
384 
385 
389  inline const Aws::Vector<Aws::String>& GetTaskKeywords() const{ return m_taskKeywords; }
390 
394  inline bool TaskKeywordsHasBeenSet() const { return m_taskKeywordsHasBeenSet; }
395 
399  inline void SetTaskKeywords(const Aws::Vector<Aws::String>& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords = value; }
400 
404  inline void SetTaskKeywords(Aws::Vector<Aws::String>&& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords = std::move(value); }
405 
409  inline HumanLoopConfig& WithTaskKeywords(const Aws::Vector<Aws::String>& value) { SetTaskKeywords(value); return *this;}
410 
414  inline HumanLoopConfig& WithTaskKeywords(Aws::Vector<Aws::String>&& value) { SetTaskKeywords(std::move(value)); return *this;}
415 
419  inline HumanLoopConfig& AddTaskKeywords(const Aws::String& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords.push_back(value); return *this; }
420 
424  inline HumanLoopConfig& AddTaskKeywords(Aws::String&& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords.push_back(std::move(value)); return *this; }
425 
429  inline HumanLoopConfig& AddTaskKeywords(const char* value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords.push_back(value); return *this; }
430 
431 
432 
433  inline const PublicWorkforceTaskPrice& GetPublicWorkforceTaskPrice() const{ return m_publicWorkforceTaskPrice; }
434 
435 
436  inline bool PublicWorkforceTaskPriceHasBeenSet() const { return m_publicWorkforceTaskPriceHasBeenSet; }
437 
438 
439  inline void SetPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice& value) { m_publicWorkforceTaskPriceHasBeenSet = true; m_publicWorkforceTaskPrice = value; }
440 
441 
442  inline void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPrice&& value) { m_publicWorkforceTaskPriceHasBeenSet = true; m_publicWorkforceTaskPrice = std::move(value); }
443 
444 
445  inline HumanLoopConfig& WithPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice& value) { SetPublicWorkforceTaskPrice(value); return *this;}
446 
447 
448  inline HumanLoopConfig& WithPublicWorkforceTaskPrice(PublicWorkforceTaskPrice&& value) { SetPublicWorkforceTaskPrice(std::move(value)); return *this;}
449 
450  private:
451 
452  Aws::String m_workteamArn;
453  bool m_workteamArnHasBeenSet;
454 
455  Aws::String m_humanTaskUiArn;
456  bool m_humanTaskUiArnHasBeenSet;
457 
458  Aws::String m_taskTitle;
459  bool m_taskTitleHasBeenSet;
460 
461  Aws::String m_taskDescription;
462  bool m_taskDescriptionHasBeenSet;
463 
464  int m_taskCount;
465  bool m_taskCountHasBeenSet;
466 
467  int m_taskAvailabilityLifetimeInSeconds;
468  bool m_taskAvailabilityLifetimeInSecondsHasBeenSet;
469 
470  int m_taskTimeLimitInSeconds;
471  bool m_taskTimeLimitInSecondsHasBeenSet;
472 
473  Aws::Vector<Aws::String> m_taskKeywords;
474  bool m_taskKeywordsHasBeenSet;
475 
476  PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
477  bool m_publicWorkforceTaskPriceHasBeenSet;
478  };
479 
480 } // namespace Model
481 } // namespace SageMaker
482 } // namespace Aws
PublicWorkforceTaskPrice.h
Aws::SageMaker::Model::HumanLoopConfig::SetWorkteamArn
void SetWorkteamArn(Aws::String &&value)
Definition: HumanLoopConfig.h:77
Aws::SageMaker::Model::HumanLoopConfig::WithTaskKeywords
HumanLoopConfig & WithTaskKeywords(Aws::Vector< Aws::String > &&value)
Definition: HumanLoopConfig.h:414
Aws::SageMaker::Model::HumanLoopConfig::SetWorkteamArn
void SetWorkteamArn(const char *value)
Definition: HumanLoopConfig.h:86
Aws::SageMaker::Model::HumanLoopConfig::operator=
HumanLoopConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::HumanLoopConfig::WithTaskTimeLimitInSeconds
HumanLoopConfig & WithTaskTimeLimitInSeconds(int value)
Definition: HumanLoopConfig.h:383
Aws::SageMaker::Model::HumanLoopConfig::WithHumanTaskUiArn
HumanLoopConfig & WithHumanTaskUiArn(const char *value)
Definition: HumanLoopConfig.h:218
SageMaker_EXPORTS.h
Aws::SageMaker::Model::HumanLoopConfig::SetHumanTaskUiArn
void SetHumanTaskUiArn(const char *value)
Definition: HumanLoopConfig.h:179
Aws::SageMaker::Model::HumanLoopConfig::WorkteamArnHasBeenSet
bool WorkteamArnHasBeenSet() const
Definition: HumanLoopConfig.h:59
Aws::SageMaker::Model::HumanLoopConfig::TaskKeywordsHasBeenSet
bool TaskKeywordsHasBeenSet() const
Definition: HumanLoopConfig.h:394
Aws::SageMaker::Model::HumanLoopConfig::TaskTitleHasBeenSet
bool TaskTitleHasBeenSet() const
Definition: HumanLoopConfig.h:229
Aws::SageMaker::Model::HumanLoopConfig::HumanLoopConfig
HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::HumanLoopConfig::SetTaskTitle
void SetTaskTitle(Aws::String &&value)
Definition: HumanLoopConfig.h:239
Aws::SageMaker::Model::HumanLoopConfig::GetTaskTitle
const Aws::String & GetTaskTitle() const
Definition: HumanLoopConfig.h:224
Aws::SageMaker::Model::HumanLoopConfig::HumanLoopConfig
HumanLoopConfig()
Aws::SageMaker::Model::HumanLoopConfig::WithWorkteamArn
HumanLoopConfig & WithWorkteamArn(const char *value)
Definition: HumanLoopConfig.h:113
Aws::SageMaker::Model::HumanLoopConfig::GetTaskCount
int GetTaskCount() const
Definition: HumanLoopConfig.h:309
Aws::SageMaker::Model::HumanLoopConfig::SetWorkteamArn
void SetWorkteamArn(const Aws::String &value)
Definition: HumanLoopConfig.h:68
Aws::SageMaker::Model::HumanLoopConfig::WithHumanTaskUiArn
HumanLoopConfig & WithHumanTaskUiArn(const Aws::String &value)
Definition: HumanLoopConfig.h:192
Aws::SageMaker::Model::HumanLoopConfig::TaskTimeLimitInSecondsHasBeenSet
bool TaskTimeLimitInSecondsHasBeenSet() const
Definition: HumanLoopConfig.h:371
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::HumanLoopConfig::SetPublicWorkforceTaskPrice
void SetPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice &value)
Definition: HumanLoopConfig.h:439
Aws::SageMaker::Model::HumanLoopConfig::GetTaskAvailabilityLifetimeInSeconds
int GetTaskAvailabilityLifetimeInSeconds() const
Definition: HumanLoopConfig.h:340
AWSVector.h
Aws::SageMaker::Model::HumanLoopConfig::SetTaskTimeLimitInSeconds
void SetTaskTimeLimitInSeconds(int value)
Definition: HumanLoopConfig.h:377
Aws::SageMaker::Model::HumanLoopConfig::SetTaskTitle
void SetTaskTitle(const char *value)
Definition: HumanLoopConfig.h:244
Aws::SageMaker::Model::HumanLoopConfig::SetTaskDescription
void SetTaskDescription(const char *value)
Definition: HumanLoopConfig.h:285
Aws::SageMaker::Model::HumanLoopConfig::SetHumanTaskUiArn
void SetHumanTaskUiArn(const Aws::String &value)
Definition: HumanLoopConfig.h:153
Aws::SageMaker::Model::HumanLoopConfig::GetTaskTimeLimitInSeconds
int GetTaskTimeLimitInSeconds() const
Definition: HumanLoopConfig.h:365
Aws::SageMaker::Model::HumanLoopConfig::SetTaskAvailabilityLifetimeInSeconds
void SetTaskAvailabilityLifetimeInSeconds(int value)
Definition: HumanLoopConfig.h:352
Aws::SageMaker::Model::HumanLoopConfig::WithPublicWorkforceTaskPrice
HumanLoopConfig & WithPublicWorkforceTaskPrice(PublicWorkforceTaskPrice &&value)
Definition: HumanLoopConfig.h:448
Aws::SageMaker::Model::HumanLoopConfig::GetWorkteamArn
const Aws::String & GetWorkteamArn() const
Definition: HumanLoopConfig.h:50
Aws::SageMaker::Model::HumanLoopConfig::SetTaskDescription
void SetTaskDescription(const Aws::String &value)
Definition: HumanLoopConfig.h:275
Aws::SageMaker::Model::HumanLoopConfig::TaskCountHasBeenSet
bool TaskCountHasBeenSet() const
Definition: HumanLoopConfig.h:317
Aws::SageMaker::Model::HumanLoopConfig::WithTaskKeywords
HumanLoopConfig & WithTaskKeywords(const Aws::Vector< Aws::String > &value)
Definition: HumanLoopConfig.h:409
Aws::SageMaker::Model::HumanLoopConfig::WithTaskCount
HumanLoopConfig & WithTaskCount(int value)
Definition: HumanLoopConfig.h:333
Aws::SageMaker::Model::HumanLoopConfig::WithTaskTitle
HumanLoopConfig & WithTaskTitle(const Aws::String &value)
Definition: HumanLoopConfig.h:249
Aws::SageMaker::Model::HumanLoopConfig::WithHumanTaskUiArn
HumanLoopConfig & WithHumanTaskUiArn(Aws::String &&value)
Definition: HumanLoopConfig.h:205
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::HumanLoopConfig::SetPublicWorkforceTaskPrice
void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPrice &&value)
Definition: HumanLoopConfig.h:442
Aws::SageMaker::Model::HumanLoopConfig::WithTaskDescription
HumanLoopConfig & WithTaskDescription(const char *value)
Definition: HumanLoopConfig.h:300
Aws::SageMaker::Model::HumanLoopConfig::SetTaskKeywords
void SetTaskKeywords(const Aws::Vector< Aws::String > &value)
Definition: HumanLoopConfig.h:399
Aws::SageMaker::Model::HumanLoopConfig::TaskDescriptionHasBeenSet
bool TaskDescriptionHasBeenSet() const
Definition: HumanLoopConfig.h:270
Aws::SageMaker::Model::HumanLoopConfig::AddTaskKeywords
HumanLoopConfig & AddTaskKeywords(const Aws::String &value)
Definition: HumanLoopConfig.h:419
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::HumanLoopConfig::GetHumanTaskUiArn
const Aws::String & GetHumanTaskUiArn() const
Definition: HumanLoopConfig.h:127
AWSString.h
Aws::SageMaker::Model::HumanLoopConfig::SetTaskCount
void SetTaskCount(int value)
Definition: HumanLoopConfig.h:325
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::HumanLoopConfig::WithTaskAvailabilityLifetimeInSeconds
HumanLoopConfig & WithTaskAvailabilityLifetimeInSeconds(int value)
Definition: HumanLoopConfig.h:358
Aws::SageMaker::Model::HumanLoopConfig::GetPublicWorkforceTaskPrice
const PublicWorkforceTaskPrice & GetPublicWorkforceTaskPrice() const
Definition: HumanLoopConfig.h:433
Aws::SageMaker::Model::HumanLoopConfig::SetTaskDescription
void SetTaskDescription(Aws::String &&value)
Definition: HumanLoopConfig.h:280
Aws::SageMaker::Model::HumanLoopConfig::WithTaskTitle
HumanLoopConfig & WithTaskTitle(Aws::String &&value)
Definition: HumanLoopConfig.h:254
Aws::SageMaker::Model::HumanLoopConfig::SetTaskKeywords
void SetTaskKeywords(Aws::Vector< Aws::String > &&value)
Definition: HumanLoopConfig.h:404
Aws::SageMaker::Model::HumanLoopConfig::WithPublicWorkforceTaskPrice
HumanLoopConfig & WithPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice &value)
Definition: HumanLoopConfig.h:445
Aws::SageMaker::Model::HumanLoopConfig::TaskAvailabilityLifetimeInSecondsHasBeenSet
bool TaskAvailabilityLifetimeInSecondsHasBeenSet() const
Definition: HumanLoopConfig.h:346
Aws::SageMaker::Model::HumanLoopConfig::HumanTaskUiArnHasBeenSet
bool HumanTaskUiArnHasBeenSet() const
Definition: HumanLoopConfig.h:140
Aws::SageMaker::Model::HumanLoopConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::HumanLoopConfig::PublicWorkforceTaskPriceHasBeenSet
bool PublicWorkforceTaskPriceHasBeenSet() const
Definition: HumanLoopConfig.h:436
Aws::SageMaker::Model::HumanLoopConfig::WithTaskTitle
HumanLoopConfig & WithTaskTitle(const char *value)
Definition: HumanLoopConfig.h:259
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::PublicWorkforceTaskPrice
Definition: PublicWorkforceTaskPrice.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::HumanLoopConfig::GetTaskKeywords
const Aws::Vector< Aws::String > & GetTaskKeywords() const
Definition: HumanLoopConfig.h:389
Aws::SageMaker::Model::HumanLoopConfig::SetHumanTaskUiArn
void SetHumanTaskUiArn(Aws::String &&value)
Definition: HumanLoopConfig.h:166
Aws::SageMaker::Model::HumanLoopConfig::WithTaskDescription
HumanLoopConfig & WithTaskDescription(const Aws::String &value)
Definition: HumanLoopConfig.h:290
Aws::SageMaker::Model::HumanLoopConfig::SetTaskTitle
void SetTaskTitle(const Aws::String &value)
Definition: HumanLoopConfig.h:234
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::HumanLoopConfig::WithWorkteamArn
HumanLoopConfig & WithWorkteamArn(Aws::String &&value)
Definition: HumanLoopConfig.h:104
Aws::SageMaker::Model::HumanLoopConfig::WithWorkteamArn
HumanLoopConfig & WithWorkteamArn(const Aws::String &value)
Definition: HumanLoopConfig.h:95
Aws::SageMaker::Model::HumanLoopConfig
Definition: HumanLoopConfig.h:35
Aws::SageMaker::Model::HumanLoopConfig::GetTaskDescription
const Aws::String & GetTaskDescription() const
Definition: HumanLoopConfig.h:265
Aws::SageMaker::Model::HumanLoopConfig::AddTaskKeywords
HumanLoopConfig & AddTaskKeywords(const char *value)
Definition: HumanLoopConfig.h:429
Aws::SageMaker::Model::HumanLoopConfig::WithTaskDescription
HumanLoopConfig & WithTaskDescription(Aws::String &&value)
Definition: HumanLoopConfig.h:295
Aws::SageMaker::Model::HumanLoopConfig::AddTaskKeywords
HumanLoopConfig & AddTaskKeywords(Aws::String &&value)
Definition: HumanLoopConfig.h:424