AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFlowDefinitionName(const Aws::String& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = value; }
50 inline void SetFlowDefinitionName(Aws::String&& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = std::move(value); }
51 inline void SetFlowDefinitionName(const char* value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName.assign(value); }
53 inline CreateFlowDefinitionRequest& WithFlowDefinitionName(Aws::String&& value) { SetFlowDefinitionName(std::move(value)); return *this;}
54 inline CreateFlowDefinitionRequest& WithFlowDefinitionName(const char* value) { SetFlowDefinitionName(value); return *this;}
56
58
62 inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const{ return m_humanLoopRequestSource; }
63 inline bool HumanLoopRequestSourceHasBeenSet() const { return m_humanLoopRequestSourceHasBeenSet; }
64 inline void SetHumanLoopRequestSource(const HumanLoopRequestSource& value) { m_humanLoopRequestSourceHasBeenSet = true; m_humanLoopRequestSource = value; }
65 inline void SetHumanLoopRequestSource(HumanLoopRequestSource&& value) { m_humanLoopRequestSourceHasBeenSet = true; m_humanLoopRequestSource = std::move(value); }
69
71
75 inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const{ return m_humanLoopActivationConfig; }
76 inline bool HumanLoopActivationConfigHasBeenSet() const { return m_humanLoopActivationConfigHasBeenSet; }
77 inline void SetHumanLoopActivationConfig(const HumanLoopActivationConfig& value) { m_humanLoopActivationConfigHasBeenSet = true; m_humanLoopActivationConfig = value; }
78 inline void SetHumanLoopActivationConfig(HumanLoopActivationConfig&& value) { m_humanLoopActivationConfigHasBeenSet = true; m_humanLoopActivationConfig = std::move(value); }
82
84
88 inline const HumanLoopConfig& GetHumanLoopConfig() const{ return m_humanLoopConfig; }
89 inline bool HumanLoopConfigHasBeenSet() const { return m_humanLoopConfigHasBeenSet; }
90 inline void SetHumanLoopConfig(const HumanLoopConfig& value) { m_humanLoopConfigHasBeenSet = true; m_humanLoopConfig = value; }
91 inline void SetHumanLoopConfig(HumanLoopConfig&& value) { m_humanLoopConfigHasBeenSet = true; m_humanLoopConfig = std::move(value); }
93 inline CreateFlowDefinitionRequest& WithHumanLoopConfig(HumanLoopConfig&& value) { SetHumanLoopConfig(std::move(value)); return *this;}
95
97
101 inline const FlowDefinitionOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
102 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
103 inline void SetOutputConfig(const FlowDefinitionOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
104 inline void SetOutputConfig(FlowDefinitionOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
108
110
115 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
116 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
117 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
118 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
119 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
120 inline CreateFlowDefinitionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
121 inline CreateFlowDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
122 inline CreateFlowDefinitionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
124
126
131 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
134 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
135 inline CreateFlowDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
136 inline CreateFlowDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
137 inline CreateFlowDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
138 inline CreateFlowDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
140 private:
141
142 Aws::String m_flowDefinitionName;
143 bool m_flowDefinitionNameHasBeenSet = false;
144
145 HumanLoopRequestSource m_humanLoopRequestSource;
146 bool m_humanLoopRequestSourceHasBeenSet = false;
147
148 HumanLoopActivationConfig m_humanLoopActivationConfig;
149 bool m_humanLoopActivationConfigHasBeenSet = false;
150
151 HumanLoopConfig m_humanLoopConfig;
152 bool m_humanLoopConfigHasBeenSet = false;
153
154 FlowDefinitionOutputConfig m_outputConfig;
155 bool m_outputConfigHasBeenSet = false;
156
157 Aws::String m_roleArn;
158 bool m_roleArnHasBeenSet = false;
159
160 Aws::Vector<Tag> m_tags;
161 bool m_tagsHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SageMaker
166} // namespace Aws
void SetOutputConfig(FlowDefinitionOutputConfig &&value)
CreateFlowDefinitionRequest & AddTags(const Tag &value)
CreateFlowDefinitionRequest & WithFlowDefinitionName(Aws::String &&value)
CreateFlowDefinitionRequest & WithFlowDefinitionName(const char *value)
CreateFlowDefinitionRequest & WithOutputConfig(FlowDefinitionOutputConfig &&value)
CreateFlowDefinitionRequest & WithHumanLoopActivationConfig(HumanLoopActivationConfig &&value)
CreateFlowDefinitionRequest & WithHumanLoopConfig(const HumanLoopConfig &value)
CreateFlowDefinitionRequest & WithHumanLoopRequestSource(HumanLoopRequestSource &&value)
void SetHumanLoopRequestSource(HumanLoopRequestSource &&value)
void SetOutputConfig(const FlowDefinitionOutputConfig &value)
CreateFlowDefinitionRequest & WithFlowDefinitionName(const Aws::String &value)
CreateFlowDefinitionRequest & WithRoleArn(const char *value)
CreateFlowDefinitionRequest & WithRoleArn(Aws::String &&value)
CreateFlowDefinitionRequest & WithHumanLoopConfig(HumanLoopConfig &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateFlowDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateFlowDefinitionRequest & WithHumanLoopRequestSource(const HumanLoopRequestSource &value)
const HumanLoopActivationConfig & GetHumanLoopActivationConfig() const
CreateFlowDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateFlowDefinitionRequest & WithRoleArn(const Aws::String &value)
CreateFlowDefinitionRequest & WithHumanLoopActivationConfig(const HumanLoopActivationConfig &value)
const FlowDefinitionOutputConfig & GetOutputConfig() const
const HumanLoopRequestSource & GetHumanLoopRequestSource() const
void SetHumanLoopActivationConfig(HumanLoopActivationConfig &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetHumanLoopActivationConfig(const HumanLoopActivationConfig &value)
void SetHumanLoopRequestSource(const HumanLoopRequestSource &value)
virtual const char * GetServiceRequestName() const override
CreateFlowDefinitionRequest & WithOutputConfig(const FlowDefinitionOutputConfig &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