AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HumanLoopConfig.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API HumanLoopConfig();
38 AWS_SAGEMAKER_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; }
52 inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
53 inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; }
54 inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); }
55 inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); }
56 inline HumanLoopConfig& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;}
57 inline HumanLoopConfig& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;}
58 inline HumanLoopConfig& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;}
60
62
73 inline const Aws::String& GetHumanTaskUiArn() const{ return m_humanTaskUiArn; }
74 inline bool HumanTaskUiArnHasBeenSet() const { return m_humanTaskUiArnHasBeenSet; }
75 inline void SetHumanTaskUiArn(const Aws::String& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = value; }
76 inline void SetHumanTaskUiArn(Aws::String&& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = std::move(value); }
77 inline void SetHumanTaskUiArn(const char* value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn.assign(value); }
78 inline HumanLoopConfig& WithHumanTaskUiArn(const Aws::String& value) { SetHumanTaskUiArn(value); return *this;}
79 inline HumanLoopConfig& WithHumanTaskUiArn(Aws::String&& value) { SetHumanTaskUiArn(std::move(value)); return *this;}
80 inline HumanLoopConfig& WithHumanTaskUiArn(const char* value) { SetHumanTaskUiArn(value); return *this;}
82
84
87 inline const Aws::String& GetTaskTitle() const{ return m_taskTitle; }
88 inline bool TaskTitleHasBeenSet() const { return m_taskTitleHasBeenSet; }
89 inline void SetTaskTitle(const Aws::String& value) { m_taskTitleHasBeenSet = true; m_taskTitle = value; }
90 inline void SetTaskTitle(Aws::String&& value) { m_taskTitleHasBeenSet = true; m_taskTitle = std::move(value); }
91 inline void SetTaskTitle(const char* value) { m_taskTitleHasBeenSet = true; m_taskTitle.assign(value); }
92 inline HumanLoopConfig& WithTaskTitle(const Aws::String& value) { SetTaskTitle(value); return *this;}
93 inline HumanLoopConfig& WithTaskTitle(Aws::String&& value) { SetTaskTitle(std::move(value)); return *this;}
94 inline HumanLoopConfig& WithTaskTitle(const char* value) { SetTaskTitle(value); return *this;}
96
98
101 inline const Aws::String& GetTaskDescription() const{ return m_taskDescription; }
102 inline bool TaskDescriptionHasBeenSet() const { return m_taskDescriptionHasBeenSet; }
103 inline void SetTaskDescription(const Aws::String& value) { m_taskDescriptionHasBeenSet = true; m_taskDescription = value; }
104 inline void SetTaskDescription(Aws::String&& value) { m_taskDescriptionHasBeenSet = true; m_taskDescription = std::move(value); }
105 inline void SetTaskDescription(const char* value) { m_taskDescriptionHasBeenSet = true; m_taskDescription.assign(value); }
106 inline HumanLoopConfig& WithTaskDescription(const Aws::String& value) { SetTaskDescription(value); return *this;}
107 inline HumanLoopConfig& WithTaskDescription(Aws::String&& value) { SetTaskDescription(std::move(value)); return *this;}
108 inline HumanLoopConfig& WithTaskDescription(const char* value) { SetTaskDescription(value); return *this;}
110
112
118 inline int GetTaskCount() const{ return m_taskCount; }
119 inline bool TaskCountHasBeenSet() const { return m_taskCountHasBeenSet; }
120 inline void SetTaskCount(int value) { m_taskCountHasBeenSet = true; m_taskCount = value; }
121 inline HumanLoopConfig& WithTaskCount(int value) { SetTaskCount(value); return *this;}
123
125
129 inline int GetTaskAvailabilityLifetimeInSeconds() const{ return m_taskAvailabilityLifetimeInSeconds; }
130 inline bool TaskAvailabilityLifetimeInSecondsHasBeenSet() const { return m_taskAvailabilityLifetimeInSecondsHasBeenSet; }
131 inline void SetTaskAvailabilityLifetimeInSeconds(int value) { m_taskAvailabilityLifetimeInSecondsHasBeenSet = true; m_taskAvailabilityLifetimeInSeconds = value; }
134
136
140 inline int GetTaskTimeLimitInSeconds() const{ return m_taskTimeLimitInSeconds; }
141 inline bool TaskTimeLimitInSecondsHasBeenSet() const { return m_taskTimeLimitInSecondsHasBeenSet; }
142 inline void SetTaskTimeLimitInSeconds(int value) { m_taskTimeLimitInSecondsHasBeenSet = true; m_taskTimeLimitInSeconds = value; }
143 inline HumanLoopConfig& WithTaskTimeLimitInSeconds(int value) { SetTaskTimeLimitInSeconds(value); return *this;}
145
147
150 inline const Aws::Vector<Aws::String>& GetTaskKeywords() const{ return m_taskKeywords; }
151 inline bool TaskKeywordsHasBeenSet() const { return m_taskKeywordsHasBeenSet; }
152 inline void SetTaskKeywords(const Aws::Vector<Aws::String>& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords = value; }
153 inline void SetTaskKeywords(Aws::Vector<Aws::String>&& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords = std::move(value); }
154 inline HumanLoopConfig& WithTaskKeywords(const Aws::Vector<Aws::String>& value) { SetTaskKeywords(value); return *this;}
155 inline HumanLoopConfig& WithTaskKeywords(Aws::Vector<Aws::String>&& value) { SetTaskKeywords(std::move(value)); return *this;}
156 inline HumanLoopConfig& AddTaskKeywords(const Aws::String& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords.push_back(value); return *this; }
157 inline HumanLoopConfig& AddTaskKeywords(Aws::String&& value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords.push_back(std::move(value)); return *this; }
158 inline HumanLoopConfig& AddTaskKeywords(const char* value) { m_taskKeywordsHasBeenSet = true; m_taskKeywords.push_back(value); return *this; }
160
162
163 inline const PublicWorkforceTaskPrice& GetPublicWorkforceTaskPrice() const{ return m_publicWorkforceTaskPrice; }
164 inline bool PublicWorkforceTaskPriceHasBeenSet() const { return m_publicWorkforceTaskPriceHasBeenSet; }
165 inline void SetPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice& value) { m_publicWorkforceTaskPriceHasBeenSet = true; m_publicWorkforceTaskPrice = value; }
166 inline void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPrice&& value) { m_publicWorkforceTaskPriceHasBeenSet = true; m_publicWorkforceTaskPrice = std::move(value); }
170 private:
171
172 Aws::String m_workteamArn;
173 bool m_workteamArnHasBeenSet = false;
174
175 Aws::String m_humanTaskUiArn;
176 bool m_humanTaskUiArnHasBeenSet = false;
177
178 Aws::String m_taskTitle;
179 bool m_taskTitleHasBeenSet = false;
180
181 Aws::String m_taskDescription;
182 bool m_taskDescriptionHasBeenSet = false;
183
184 int m_taskCount;
185 bool m_taskCountHasBeenSet = false;
186
187 int m_taskAvailabilityLifetimeInSeconds;
188 bool m_taskAvailabilityLifetimeInSecondsHasBeenSet = false;
189
190 int m_taskTimeLimitInSeconds;
191 bool m_taskTimeLimitInSecondsHasBeenSet = false;
192
193 Aws::Vector<Aws::String> m_taskKeywords;
194 bool m_taskKeywordsHasBeenSet = false;
195
196 PublicWorkforceTaskPrice m_publicWorkforceTaskPrice;
197 bool m_publicWorkforceTaskPriceHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace SageMaker
202} // namespace Aws
void SetPublicWorkforceTaskPrice(PublicWorkforceTaskPrice &&value)
void SetTaskDescription(const char *value)
void SetPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice &value)
HumanLoopConfig & WithPublicWorkforceTaskPrice(const PublicWorkforceTaskPrice &value)
void SetTaskDescription(const Aws::String &value)
const Aws::String & GetTaskTitle() const
HumanLoopConfig & AddTaskKeywords(const Aws::String &value)
void SetWorkteamArn(Aws::String &&value)
HumanLoopConfig & WithTaskKeywords(const Aws::Vector< Aws::String > &value)
HumanLoopConfig & WithTaskTimeLimitInSeconds(int value)
HumanLoopConfig & WithPublicWorkforceTaskPrice(PublicWorkforceTaskPrice &&value)
HumanLoopConfig & WithTaskDescription(const char *value)
void SetTaskKeywords(const Aws::Vector< Aws::String > &value)
HumanLoopConfig & WithTaskTitle(const char *value)
HumanLoopConfig & WithWorkteamArn(const char *value)
void SetTaskTitle(Aws::String &&value)
void SetHumanTaskUiArn(const char *value)
const PublicWorkforceTaskPrice & GetPublicWorkforceTaskPrice() const
HumanLoopConfig & WithWorkteamArn(Aws::String &&value)
HumanLoopConfig & WithWorkteamArn(const Aws::String &value)
void SetTaskKeywords(Aws::Vector< Aws::String > &&value)
HumanLoopConfig & WithTaskTitle(Aws::String &&value)
const Aws::String & GetWorkteamArn() const
HumanLoopConfig & AddTaskKeywords(const char *value)
HumanLoopConfig & WithTaskDescription(Aws::String &&value)
HumanLoopConfig & WithTaskAvailabilityLifetimeInSeconds(int value)
HumanLoopConfig & WithTaskKeywords(Aws::Vector< Aws::String > &&value)
HumanLoopConfig & WithHumanTaskUiArn(Aws::String &&value)
void SetTaskDescription(Aws::String &&value)
AWS_SAGEMAKER_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithTaskDescription(const Aws::String &value)
HumanLoopConfig & AddTaskKeywords(Aws::String &&value)
void SetWorkteamArn(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHumanTaskUiArn(Aws::String &&value)
HumanLoopConfig & WithTaskCount(int value)
void SetTaskTitle(const Aws::String &value)
void SetHumanTaskUiArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTaskKeywords() const
AWS_SAGEMAKER_API HumanLoopConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithHumanTaskUiArn(const char *value)
HumanLoopConfig & WithHumanTaskUiArn(const Aws::String &value)
const Aws::String & GetTaskDescription() const
HumanLoopConfig & WithTaskTitle(const Aws::String &value)
const Aws::String & GetHumanTaskUiArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue