AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateHumanTaskUiRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/UiTemplate.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API CreateHumanTaskUiRequest() = default;
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetHumanTaskUiName() const { return m_humanTaskUiName; }
45 inline bool HumanTaskUiNameHasBeenSet() const { return m_humanTaskUiNameHasBeenSet; }
46 template<typename HumanTaskUiNameT = Aws::String>
47 void SetHumanTaskUiName(HumanTaskUiNameT&& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = std::forward<HumanTaskUiNameT>(value); }
48 template<typename HumanTaskUiNameT = Aws::String>
49 CreateHumanTaskUiRequest& WithHumanTaskUiName(HumanTaskUiNameT&& value) { SetHumanTaskUiName(std::forward<HumanTaskUiNameT>(value)); return *this;}
51
53
54 inline const UiTemplate& GetUiTemplate() const { return m_uiTemplate; }
55 inline bool UiTemplateHasBeenSet() const { return m_uiTemplateHasBeenSet; }
56 template<typename UiTemplateT = UiTemplate>
57 void SetUiTemplate(UiTemplateT&& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = std::forward<UiTemplateT>(value); }
58 template<typename UiTemplateT = UiTemplate>
59 CreateHumanTaskUiRequest& WithUiTemplate(UiTemplateT&& value) { SetUiTemplate(std::forward<UiTemplateT>(value)); return *this;}
61
63
68 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
69 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
70 template<typename TagsT = Aws::Vector<Tag>>
71 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
72 template<typename TagsT = Aws::Vector<Tag>>
73 CreateHumanTaskUiRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
74 template<typename TagsT = Tag>
75 CreateHumanTaskUiRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
77 private:
78
79 Aws::String m_humanTaskUiName;
80 bool m_humanTaskUiNameHasBeenSet = false;
81
82 UiTemplate m_uiTemplate;
83 bool m_uiTemplateHasBeenSet = false;
84
85 Aws::Vector<Tag> m_tags;
86 bool m_tagsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SageMaker
91} // 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