AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RenderUiTemplateRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/UiTemplate.h>
10#include <aws/sagemaker/model/RenderableTask.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API RenderUiTemplateRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const UiTemplate& GetUiTemplate() const{ return m_uiTemplate; }
45 inline bool UiTemplateHasBeenSet() const { return m_uiTemplateHasBeenSet; }
46 inline void SetUiTemplate(const UiTemplate& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = value; }
47 inline void SetUiTemplate(UiTemplate&& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = std::move(value); }
48 inline RenderUiTemplateRequest& WithUiTemplate(const UiTemplate& value) { SetUiTemplate(value); return *this;}
49 inline RenderUiTemplateRequest& WithUiTemplate(UiTemplate&& value) { SetUiTemplate(std::move(value)); return *this;}
51
53
57 inline const RenderableTask& GetTask() const{ return m_task; }
58 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
59 inline void SetTask(const RenderableTask& value) { m_taskHasBeenSet = true; m_task = value; }
60 inline void SetTask(RenderableTask&& value) { m_taskHasBeenSet = true; m_task = std::move(value); }
61 inline RenderUiTemplateRequest& WithTask(const RenderableTask& value) { SetTask(value); return *this;}
62 inline RenderUiTemplateRequest& WithTask(RenderableTask&& value) { SetTask(std::move(value)); return *this;}
64
66
70 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
71 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
72 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
73 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
74 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
75 inline RenderUiTemplateRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
76 inline RenderUiTemplateRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
77 inline RenderUiTemplateRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
79
81
88 inline const Aws::String& GetHumanTaskUiArn() const{ return m_humanTaskUiArn; }
89 inline bool HumanTaskUiArnHasBeenSet() const { return m_humanTaskUiArnHasBeenSet; }
90 inline void SetHumanTaskUiArn(const Aws::String& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = value; }
91 inline void SetHumanTaskUiArn(Aws::String&& value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn = std::move(value); }
92 inline void SetHumanTaskUiArn(const char* value) { m_humanTaskUiArnHasBeenSet = true; m_humanTaskUiArn.assign(value); }
93 inline RenderUiTemplateRequest& WithHumanTaskUiArn(const Aws::String& value) { SetHumanTaskUiArn(value); return *this;}
94 inline RenderUiTemplateRequest& WithHumanTaskUiArn(Aws::String&& value) { SetHumanTaskUiArn(std::move(value)); return *this;}
95 inline RenderUiTemplateRequest& WithHumanTaskUiArn(const char* value) { SetHumanTaskUiArn(value); return *this;}
97 private:
98
99 UiTemplate m_uiTemplate;
100 bool m_uiTemplateHasBeenSet = false;
101
102 RenderableTask m_task;
103 bool m_taskHasBeenSet = false;
104
105 Aws::String m_roleArn;
106 bool m_roleArnHasBeenSet = false;
107
108 Aws::String m_humanTaskUiArn;
109 bool m_humanTaskUiArnHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
RenderUiTemplateRequest & WithTask(const RenderableTask &value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RenderUiTemplateRequest & WithHumanTaskUiArn(Aws::String &&value)
RenderUiTemplateRequest & WithHumanTaskUiArn(const char *value)
RenderUiTemplateRequest & WithHumanTaskUiArn(const Aws::String &value)
RenderUiTemplateRequest & WithUiTemplate(UiTemplate &&value)
RenderUiTemplateRequest & WithTask(RenderableTask &&value)
RenderUiTemplateRequest & WithRoleArn(const Aws::String &value)
RenderUiTemplateRequest & WithUiTemplate(const UiTemplate &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
RenderUiTemplateRequest & WithRoleArn(Aws::String &&value)
RenderUiTemplateRequest & WithRoleArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String