AWS SDK for C++  1.8.95
AWS SDK for C++
CreateHumanTaskUiRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateHumanTaskUi"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
43  inline const Aws::String& GetHumanTaskUiName() const{ return m_humanTaskUiName; }
44 
48  inline bool HumanTaskUiNameHasBeenSet() const { return m_humanTaskUiNameHasBeenSet; }
49 
53  inline void SetHumanTaskUiName(const Aws::String& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = value; }
54 
58  inline void SetHumanTaskUiName(Aws::String&& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = std::move(value); }
59 
63  inline void SetHumanTaskUiName(const char* value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName.assign(value); }
64 
68  inline CreateHumanTaskUiRequest& WithHumanTaskUiName(const Aws::String& value) { SetHumanTaskUiName(value); return *this;}
69 
73  inline CreateHumanTaskUiRequest& WithHumanTaskUiName(Aws::String&& value) { SetHumanTaskUiName(std::move(value)); return *this;}
74 
78  inline CreateHumanTaskUiRequest& WithHumanTaskUiName(const char* value) { SetHumanTaskUiName(value); return *this;}
79 
80 
81 
82  inline const UiTemplate& GetUiTemplate() const{ return m_uiTemplate; }
83 
84 
85  inline bool UiTemplateHasBeenSet() const { return m_uiTemplateHasBeenSet; }
86 
87 
88  inline void SetUiTemplate(const UiTemplate& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = value; }
89 
90 
91  inline void SetUiTemplate(UiTemplate&& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = std::move(value); }
92 
93 
94  inline CreateHumanTaskUiRequest& WithUiTemplate(const UiTemplate& value) { SetUiTemplate(value); return *this;}
95 
96 
97  inline CreateHumanTaskUiRequest& WithUiTemplate(UiTemplate&& value) { SetUiTemplate(std::move(value)); return *this;}
98 
99 
105  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
106 
112  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 
119  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
120 
126  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
127 
133  inline CreateHumanTaskUiRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
134 
140  inline CreateHumanTaskUiRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
141 
147  inline CreateHumanTaskUiRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
148 
154  inline CreateHumanTaskUiRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
155 
156  private:
157 
158  Aws::String m_humanTaskUiName;
159  bool m_humanTaskUiNameHasBeenSet;
160 
161  UiTemplate m_uiTemplate;
162  bool m_uiTemplateHasBeenSet;
163 
164  Aws::Vector<Tag> m_tags;
165  bool m_tagsHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace SageMaker
170 } // namespace Aws
#define AWS_SAGEMAKER_API
CreateHumanTaskUiRequest & WithHumanTaskUiName(const char *value)
virtual const char * GetServiceRequestName() const override
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
CreateHumanTaskUiRequest & WithTags(const Aws::Vector< Tag > &value)
CreateHumanTaskUiRequest & WithUiTemplate(UiTemplate &&value)
CreateHumanTaskUiRequest & WithHumanTaskUiName(Aws::String &&value)
CreateHumanTaskUiRequest & WithTags(Aws::Vector< Tag > &&value)
CreateHumanTaskUiRequest & WithHumanTaskUiName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateHumanTaskUiRequest & AddTags(Tag &&value)
CreateHumanTaskUiRequest & WithUiTemplate(const UiTemplate &value)
CreateHumanTaskUiRequest & AddTags(const Tag &value)