AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateFlowDefinitionRequest.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/HumanLoopRequestSource.h>
11#include <aws/sagemaker/model/HumanLoopActivationConfig.h>
12#include <aws/sagemaker/model/HumanLoopConfig.h>
13#include <aws/sagemaker/model/FlowDefinitionOutputConfig.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace SageMaker
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_SAGEMAKER_API CreateFlowDefinitionRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateFlowDefinition"; }
37
38 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetFlowDefinitionName() const { return m_flowDefinitionName; }
48 inline bool FlowDefinitionNameHasBeenSet() const { return m_flowDefinitionNameHasBeenSet; }
49 template<typename FlowDefinitionNameT = Aws::String>
50 void SetFlowDefinitionName(FlowDefinitionNameT&& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = std::forward<FlowDefinitionNameT>(value); }
51 template<typename FlowDefinitionNameT = Aws::String>
52 CreateFlowDefinitionRequest& WithFlowDefinitionName(FlowDefinitionNameT&& value) { SetFlowDefinitionName(std::forward<FlowDefinitionNameT>(value)); return *this;}
54
56
60 inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const { return m_humanLoopRequestSource; }
61 inline bool HumanLoopRequestSourceHasBeenSet() const { return m_humanLoopRequestSourceHasBeenSet; }
62 template<typename HumanLoopRequestSourceT = HumanLoopRequestSource>
63 void SetHumanLoopRequestSource(HumanLoopRequestSourceT&& value) { m_humanLoopRequestSourceHasBeenSet = true; m_humanLoopRequestSource = std::forward<HumanLoopRequestSourceT>(value); }
64 template<typename HumanLoopRequestSourceT = HumanLoopRequestSource>
65 CreateFlowDefinitionRequest& WithHumanLoopRequestSource(HumanLoopRequestSourceT&& value) { SetHumanLoopRequestSource(std::forward<HumanLoopRequestSourceT>(value)); return *this;}
67
69
73 inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const { return m_humanLoopActivationConfig; }
74 inline bool HumanLoopActivationConfigHasBeenSet() const { return m_humanLoopActivationConfigHasBeenSet; }
75 template<typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
76 void SetHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) { m_humanLoopActivationConfigHasBeenSet = true; m_humanLoopActivationConfig = std::forward<HumanLoopActivationConfigT>(value); }
77 template<typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
78 CreateFlowDefinitionRequest& WithHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) { SetHumanLoopActivationConfig(std::forward<HumanLoopActivationConfigT>(value)); return *this;}
80
82
86 inline const HumanLoopConfig& GetHumanLoopConfig() const { return m_humanLoopConfig; }
87 inline bool HumanLoopConfigHasBeenSet() const { return m_humanLoopConfigHasBeenSet; }
88 template<typename HumanLoopConfigT = HumanLoopConfig>
89 void SetHumanLoopConfig(HumanLoopConfigT&& value) { m_humanLoopConfigHasBeenSet = true; m_humanLoopConfig = std::forward<HumanLoopConfigT>(value); }
90 template<typename HumanLoopConfigT = HumanLoopConfig>
91 CreateFlowDefinitionRequest& WithHumanLoopConfig(HumanLoopConfigT&& value) { SetHumanLoopConfig(std::forward<HumanLoopConfigT>(value)); return *this;}
93
95
99 inline const FlowDefinitionOutputConfig& GetOutputConfig() const { return m_outputConfig; }
100 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
101 template<typename OutputConfigT = FlowDefinitionOutputConfig>
102 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
103 template<typename OutputConfigT = FlowDefinitionOutputConfig>
104 CreateFlowDefinitionRequest& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
106
108
113 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 template<typename RoleArnT = Aws::String>
116 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
117 template<typename RoleArnT = Aws::String>
118 CreateFlowDefinitionRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
120
122
127 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
128 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 template<typename TagsT = Aws::Vector<Tag>>
130 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
131 template<typename TagsT = Aws::Vector<Tag>>
132 CreateFlowDefinitionRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
133 template<typename TagsT = Tag>
134 CreateFlowDefinitionRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
136 private:
137
138 Aws::String m_flowDefinitionName;
139 bool m_flowDefinitionNameHasBeenSet = false;
140
141 HumanLoopRequestSource m_humanLoopRequestSource;
142 bool m_humanLoopRequestSourceHasBeenSet = false;
143
144 HumanLoopActivationConfig m_humanLoopActivationConfig;
145 bool m_humanLoopActivationConfigHasBeenSet = false;
146
147 HumanLoopConfig m_humanLoopConfig;
148 bool m_humanLoopConfigHasBeenSet = false;
149
150 FlowDefinitionOutputConfig m_outputConfig;
151 bool m_outputConfigHasBeenSet = false;
152
153 Aws::String m_roleArn;
154 bool m_roleArnHasBeenSet = false;
155
156 Aws::Vector<Tag> m_tags;
157 bool m_tagsHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace SageMaker
162} // namespace Aws
void SetHumanLoopActivationConfig(HumanLoopActivationConfigT &&value)
CreateFlowDefinitionRequest & AddTags(TagsT &&value)
CreateFlowDefinitionRequest & WithRoleArn(RoleArnT &&value)
CreateFlowDefinitionRequest & WithHumanLoopActivationConfig(HumanLoopActivationConfigT &&value)
AWS_SAGEMAKER_API CreateFlowDefinitionRequest()=default
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateFlowDefinitionRequest & WithHumanLoopRequestSource(HumanLoopRequestSourceT &&value)
const HumanLoopActivationConfig & GetHumanLoopActivationConfig() const
void SetHumanLoopRequestSource(HumanLoopRequestSourceT &&value)
CreateFlowDefinitionRequest & WithOutputConfig(OutputConfigT &&value)
const FlowDefinitionOutputConfig & GetOutputConfig() const
CreateFlowDefinitionRequest & WithHumanLoopConfig(HumanLoopConfigT &&value)
const HumanLoopRequestSource & GetHumanLoopRequestSource() const
CreateFlowDefinitionRequest & WithTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFlowDefinitionRequest & WithFlowDefinitionName(FlowDefinitionNameT &&value)
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