AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHumanTaskUiName(const Aws::String& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = value; }
47 inline void SetHumanTaskUiName(Aws::String&& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = std::move(value); }
48 inline void SetHumanTaskUiName(const char* value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName.assign(value); }
49 inline CreateHumanTaskUiRequest& WithHumanTaskUiName(const Aws::String& value) { SetHumanTaskUiName(value); return *this;}
50 inline CreateHumanTaskUiRequest& WithHumanTaskUiName(Aws::String&& value) { SetHumanTaskUiName(std::move(value)); return *this;}
51 inline CreateHumanTaskUiRequest& WithHumanTaskUiName(const char* value) { SetHumanTaskUiName(value); return *this;}
53
55
56 inline const UiTemplate& GetUiTemplate() const{ return m_uiTemplate; }
57 inline bool UiTemplateHasBeenSet() const { return m_uiTemplateHasBeenSet; }
58 inline void SetUiTemplate(const UiTemplate& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = value; }
59 inline void SetUiTemplate(UiTemplate&& value) { m_uiTemplateHasBeenSet = true; m_uiTemplate = std::move(value); }
60 inline CreateHumanTaskUiRequest& WithUiTemplate(const UiTemplate& value) { SetUiTemplate(value); return *this;}
61 inline CreateHumanTaskUiRequest& WithUiTemplate(UiTemplate&& value) { SetUiTemplate(std::move(value)); return *this;}
63
65
70 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
71 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
72 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
73 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
74 inline CreateHumanTaskUiRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
75 inline CreateHumanTaskUiRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
76 inline CreateHumanTaskUiRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
77 inline CreateHumanTaskUiRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_humanTaskUiName;
82 bool m_humanTaskUiNameHasBeenSet = false;
83
84 UiTemplate m_uiTemplate;
85 bool m_uiTemplateHasBeenSet = false;
86
87 Aws::Vector<Tag> m_tags;
88 bool m_tagsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SageMaker
93} // namespace Aws
CreateHumanTaskUiRequest & WithHumanTaskUiName(const char *value)
CreateHumanTaskUiRequest & WithHumanTaskUiName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateHumanTaskUiRequest & WithTags(Aws::Vector< Tag > &&value)
CreateHumanTaskUiRequest & WithUiTemplate(const UiTemplate &value)
CreateHumanTaskUiRequest & WithUiTemplate(UiTemplate &&value)
CreateHumanTaskUiRequest & WithTags(const Aws::Vector< Tag > &value)
CreateHumanTaskUiRequest & AddTags(const Tag &value)
CreateHumanTaskUiRequest & WithHumanTaskUiName(Aws::String &&value)
CreateHumanTaskUiRequest & AddTags(Tag &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
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