AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CreateHumanTaskUiRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/Tag.h>
12#include <aws/sagemaker/model/UiTemplate.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API CreateHumanTaskUiRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateHumanTaskUi"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetHumanTaskUiName() const { return m_humanTaskUiName; }
41 inline bool HumanTaskUiNameHasBeenSet() const { return m_humanTaskUiNameHasBeenSet; }
42 template <typename HumanTaskUiNameT = Aws::String>
43 void SetHumanTaskUiName(HumanTaskUiNameT&& value) {
44 m_humanTaskUiNameHasBeenSet = true;
45 m_humanTaskUiName = std::forward<HumanTaskUiNameT>(value);
46 }
47 template <typename HumanTaskUiNameT = Aws::String>
48 CreateHumanTaskUiRequest& WithHumanTaskUiName(HumanTaskUiNameT&& value) {
49 SetHumanTaskUiName(std::forward<HumanTaskUiNameT>(value));
50 return *this;
51 }
53
55
56 inline const UiTemplate& GetUiTemplate() const { return m_uiTemplate; }
57 inline bool UiTemplateHasBeenSet() const { return m_uiTemplateHasBeenSet; }
58 template <typename UiTemplateT = UiTemplate>
59 void SetUiTemplate(UiTemplateT&& value) {
60 m_uiTemplateHasBeenSet = true;
61 m_uiTemplate = std::forward<UiTemplateT>(value);
62 }
63 template <typename UiTemplateT = UiTemplate>
65 SetUiTemplate(std::forward<UiTemplateT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 template <typename TagsT = Aws::Vector<Tag>>
79 void SetTags(TagsT&& value) {
80 m_tagsHasBeenSet = true;
81 m_tags = std::forward<TagsT>(value);
82 }
83 template <typename TagsT = Aws::Vector<Tag>>
85 SetTags(std::forward<TagsT>(value));
86 return *this;
87 }
88 template <typename TagsT = Tag>
90 m_tagsHasBeenSet = true;
91 m_tags.emplace_back(std::forward<TagsT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_humanTaskUiName;
97
98 UiTemplate m_uiTemplate;
99
100 Aws::Vector<Tag> m_tags;
101 bool m_humanTaskUiNameHasBeenSet = false;
102 bool m_uiTemplateHasBeenSet = false;
103 bool m_tagsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
CreateHumanTaskUiRequest & WithHumanTaskUiName(HumanTaskUiNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API CreateHumanTaskUiRequest()=default
CreateHumanTaskUiRequest & WithUiTemplate(UiTemplateT &&value)
CreateHumanTaskUiRequest & WithTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
CreateHumanTaskUiRequest & AddTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector