AWS SDK for C++  1.8.95
AWS SDK for C++
RenderUiTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "RenderUiTemplate"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
38 
43  inline const UiTemplate& GetUiTemplate() const{ return m_uiTemplate; }
44 
49  inline bool UiTemplateHasBeenSet() const { return m_uiTemplateHasBeenSet; }
50 
55  inline void SetUiTemplate(const UiTemplate& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = value; }
56 
61  inline void SetUiTemplate(UiTemplate&& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = std::move(value); }
62 
67  inline RenderUiTemplateRequest& WithUiTemplate(const UiTemplate& value) { SetUiTemplate(value); return *this;}
68 
73  inline RenderUiTemplateRequest& WithUiTemplate(UiTemplate&& value) { SetUiTemplate(std::move(value)); return *this;}
74 
75 
80  inline const RenderableTask& GetTask() const{ return m_task; }
81 
86  inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
87 
92  inline void SetTask(const RenderableTask& value) { m_taskHasBeenSet = true; m_task = value; }
93 
98  inline void SetTask(RenderableTask&& value) { m_taskHasBeenSet = true; m_task = std::move(value); }
99 
104  inline RenderUiTemplateRequest& WithTask(const RenderableTask& value) { SetTask(value); return *this;}
105 
110  inline RenderUiTemplateRequest& WithTask(RenderableTask&& value) { SetTask(std::move(value)); return *this;}
111 
112 
117  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
118 
123  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
124 
129  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
130 
135  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
136 
141  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
142 
147  inline RenderUiTemplateRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
148 
153  inline RenderUiTemplateRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
154 
159  inline RenderUiTemplateRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
160 
161 
168  inline const Aws::String& GetHumanTaskUiArn() const{ return m_humanTaskUiArn; }
169 
176  inline bool HumanTaskUiArnHasBeenSet() const { return m_humanTaskUiArnHasBeenSet; }
177 
184  inline void SetHumanTaskUiArn(const Aws::String& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = value; }
185 
192  inline void SetHumanTaskUiArn(Aws::String&& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = std::move(value); }
193 
200  inline void SetHumanTaskUiArn(const char* value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn.assign(value); }
201 
208  inline RenderUiTemplateRequest& WithHumanTaskUiArn(const Aws::String& value) { SetHumanTaskUiArn(value); return *this;}
209 
216  inline RenderUiTemplateRequest& WithHumanTaskUiArn(Aws::String&& value) { SetHumanTaskUiArn(std::move(value)); return *this;}
217 
224  inline RenderUiTemplateRequest& WithHumanTaskUiArn(const char* value) { SetHumanTaskUiArn(value); return *this;}
225 
226  private:
227 
228  UiTemplate m_uiTemplate;
229  bool m_uiTemplateHasBeenSet;
230 
231  RenderableTask m_task;
232  bool m_taskHasBeenSet;
233 
234  Aws::String m_roleArn;
235  bool m_roleArnHasBeenSet;
236 
237  Aws::String m_humanTaskUiArn;
238  bool m_humanTaskUiArnHasBeenSet;
239  };
240 
241 } // namespace Model
242 } // namespace SageMaker
243 } // namespace Aws
#define AWS_SAGEMAKER_API
RenderUiTemplateRequest & WithRoleArn(Aws::String &&value)
RenderUiTemplateRequest & WithUiTemplate(UiTemplate &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
RenderUiTemplateRequest & WithRoleArn(const char *value)
RenderUiTemplateRequest & WithTask(const RenderableTask &value)
RenderUiTemplateRequest & WithHumanTaskUiArn(Aws::String &&value)
RenderUiTemplateRequest & WithUiTemplate(const UiTemplate &value)
RenderUiTemplateRequest & WithHumanTaskUiArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
virtual const char * GetServiceRequestName() const override
RenderUiTemplateRequest & WithHumanTaskUiArn(const char *value)
RenderUiTemplateRequest & WithRoleArn(const Aws::String &value)
RenderUiTemplateRequest & WithTask(RenderableTask &&value)