AWS SDK for C++  1.9.160
AWS SDK for C++
CreateFlowDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace SageMaker
21 {
22 namespace Model
23 {
24 
28  {
29  public:
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::String SerializePayload() const override;
39 
41 
42 
46  inline const Aws::String& GetFlowDefinitionName() const{ return m_flowDefinitionName; }
47 
51  inline bool FlowDefinitionNameHasBeenSet() const { return m_flowDefinitionNameHasBeenSet; }
52 
56  inline void SetFlowDefinitionName(const Aws::String& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = value; }
57 
61  inline void SetFlowDefinitionName(Aws::String&& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = std::move(value); }
62 
66  inline void SetFlowDefinitionName(const char* value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName.assign(value); }
67 
71  inline CreateFlowDefinitionRequest& WithFlowDefinitionName(const Aws::String& value) { SetFlowDefinitionName(value); return *this;}
72 
76  inline CreateFlowDefinitionRequest& WithFlowDefinitionName(Aws::String&& value) { SetFlowDefinitionName(std::move(value)); return *this;}
77 
81  inline CreateFlowDefinitionRequest& WithFlowDefinitionName(const char* value) { SetFlowDefinitionName(value); return *this;}
82 
83 
88  inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const{ return m_humanLoopRequestSource; }
89 
94  inline bool HumanLoopRequestSourceHasBeenSet() const { return m_humanLoopRequestSourceHasBeenSet; }
95 
100  inline void SetHumanLoopRequestSource(const HumanLoopRequestSource& value) { m_humanLoopRequestSourceHasBeenSet = true; m_humanLoopRequestSource = value; }
101 
106  inline void SetHumanLoopRequestSource(HumanLoopRequestSource&& value) { m_humanLoopRequestSourceHasBeenSet = true; m_humanLoopRequestSource = std::move(value); }
107 
112  inline CreateFlowDefinitionRequest& WithHumanLoopRequestSource(const HumanLoopRequestSource& value) { SetHumanLoopRequestSource(value); return *this;}
113 
118  inline CreateFlowDefinitionRequest& WithHumanLoopRequestSource(HumanLoopRequestSource&& value) { SetHumanLoopRequestSource(std::move(value)); return *this;}
119 
120 
125  inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const{ return m_humanLoopActivationConfig; }
126 
131  inline bool HumanLoopActivationConfigHasBeenSet() const { return m_humanLoopActivationConfigHasBeenSet; }
132 
137  inline void SetHumanLoopActivationConfig(const HumanLoopActivationConfig& value) { m_humanLoopActivationConfigHasBeenSet = true; m_humanLoopActivationConfig = value; }
138 
143  inline void SetHumanLoopActivationConfig(HumanLoopActivationConfig&& value) { m_humanLoopActivationConfigHasBeenSet = true; m_humanLoopActivationConfig = std::move(value); }
144 
149  inline CreateFlowDefinitionRequest& WithHumanLoopActivationConfig(const HumanLoopActivationConfig& value) { SetHumanLoopActivationConfig(value); return *this;}
150 
155  inline CreateFlowDefinitionRequest& WithHumanLoopActivationConfig(HumanLoopActivationConfig&& value) { SetHumanLoopActivationConfig(std::move(value)); return *this;}
156 
157 
162  inline const HumanLoopConfig& GetHumanLoopConfig() const{ return m_humanLoopConfig; }
163 
168  inline bool HumanLoopConfigHasBeenSet() const { return m_humanLoopConfigHasBeenSet; }
169 
174  inline void SetHumanLoopConfig(const HumanLoopConfig& value) { m_humanLoopConfigHasBeenSet = true; m_humanLoopConfig = value; }
175 
180  inline void SetHumanLoopConfig(HumanLoopConfig&& value) { m_humanLoopConfigHasBeenSet = true; m_humanLoopConfig = std::move(value); }
181 
186  inline CreateFlowDefinitionRequest& WithHumanLoopConfig(const HumanLoopConfig& value) { SetHumanLoopConfig(value); return *this;}
187 
192  inline CreateFlowDefinitionRequest& WithHumanLoopConfig(HumanLoopConfig&& value) { SetHumanLoopConfig(std::move(value)); return *this;}
193 
194 
199  inline const FlowDefinitionOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
200 
205  inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
206 
211  inline void SetOutputConfig(const FlowDefinitionOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
212 
217  inline void SetOutputConfig(FlowDefinitionOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
218 
223  inline CreateFlowDefinitionRequest& WithOutputConfig(const FlowDefinitionOutputConfig& value) { SetOutputConfig(value); return *this;}
224 
229  inline CreateFlowDefinitionRequest& WithOutputConfig(FlowDefinitionOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
230 
231 
237  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
238 
244  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
245 
251  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
252 
258  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
259 
265  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
266 
272  inline CreateFlowDefinitionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
273 
279  inline CreateFlowDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
280 
286  inline CreateFlowDefinitionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
287 
288 
294  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
295 
301  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
302 
308  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
309 
315  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
316 
322  inline CreateFlowDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
323 
329  inline CreateFlowDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
330 
336  inline CreateFlowDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
337 
343  inline CreateFlowDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
344 
345  private:
346 
347  Aws::String m_flowDefinitionName;
348  bool m_flowDefinitionNameHasBeenSet;
349 
350  HumanLoopRequestSource m_humanLoopRequestSource;
351  bool m_humanLoopRequestSourceHasBeenSet;
352 
353  HumanLoopActivationConfig m_humanLoopActivationConfig;
354  bool m_humanLoopActivationConfigHasBeenSet;
355 
356  HumanLoopConfig m_humanLoopConfig;
357  bool m_humanLoopConfigHasBeenSet;
358 
359  FlowDefinitionOutputConfig m_outputConfig;
360  bool m_outputConfigHasBeenSet;
361 
362  Aws::String m_roleArn;
363  bool m_roleArnHasBeenSet;
364 
365  Aws::Vector<Tag> m_tags;
366  bool m_tagsHasBeenSet;
367  };
368 
369 } // namespace Model
370 } // namespace SageMaker
371 } // namespace Aws
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetHumanLoopConfig
const HumanLoopConfig & GetHumanLoopConfig() const
Definition: CreateFlowDefinitionRequest.h:162
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithFlowDefinitionName
CreateFlowDefinitionRequest & WithFlowDefinitionName(const Aws::String &value)
Definition: CreateFlowDefinitionRequest.h:71
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithHumanLoopRequestSource
CreateFlowDefinitionRequest & WithHumanLoopRequestSource(HumanLoopRequestSource &&value)
Definition: CreateFlowDefinitionRequest.h:118
Aws::SageMaker::Model::CreateFlowDefinitionRequest::FlowDefinitionNameHasBeenSet
bool FlowDefinitionNameHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:51
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateFlowDefinitionRequest::OutputConfigHasBeenSet
bool OutputConfigHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:205
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateFlowDefinitionRequest.h:308
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetOutputConfig
void SetOutputConfig(FlowDefinitionOutputConfig &&value)
Definition: CreateFlowDefinitionRequest.h:217
FlowDefinitionOutputConfig.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateFlowDefinitionRequest.h:315
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithHumanLoopActivationConfig
CreateFlowDefinitionRequest & WithHumanLoopActivationConfig(const HumanLoopActivationConfig &value)
Definition: CreateFlowDefinitionRequest.h:149
Aws::SageMaker::Model::CreateFlowDefinitionRequest::HumanLoopRequestSourceHasBeenSet
bool HumanLoopRequestSourceHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:94
Aws::SageMaker::Model::CreateFlowDefinitionRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:244
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetFlowDefinitionName
void SetFlowDefinitionName(const Aws::String &value)
Definition: CreateFlowDefinitionRequest.h:56
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetHumanLoopActivationConfig
void SetHumanLoopActivationConfig(const HumanLoopActivationConfig &value)
Definition: CreateFlowDefinitionRequest.h:137
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithRoleArn
CreateFlowDefinitionRequest & WithRoleArn(const char *value)
Definition: CreateFlowDefinitionRequest.h:286
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetHumanLoopConfig
void SetHumanLoopConfig(const HumanLoopConfig &value)
Definition: CreateFlowDefinitionRequest.h:174
HumanLoopRequestSource.h
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetHumanLoopConfig
void SetHumanLoopConfig(HumanLoopConfig &&value)
Definition: CreateFlowDefinitionRequest.h:180
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateFlowDefinitionRequest.h:36
AWSVector.h
Aws::SageMaker::Model::HumanLoopActivationConfig
Definition: HumanLoopActivationConfig.h:34
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateFlowDefinitionRequest.h:294
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateFlowDefinitionRequest.h:265
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateFlowDefinitionRequest.h:237
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithFlowDefinitionName
CreateFlowDefinitionRequest & WithFlowDefinitionName(Aws::String &&value)
Definition: CreateFlowDefinitionRequest.h:76
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithFlowDefinitionName
CreateFlowDefinitionRequest & WithFlowDefinitionName(const char *value)
Definition: CreateFlowDefinitionRequest.h:81
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetHumanLoopRequestSource
const HumanLoopRequestSource & GetHumanLoopRequestSource() const
Definition: CreateFlowDefinitionRequest.h:88
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetHumanLoopRequestSource
void SetHumanLoopRequestSource(const HumanLoopRequestSource &value)
Definition: CreateFlowDefinitionRequest.h:100
Aws::SageMaker::Model::CreateFlowDefinitionRequest::AddTags
CreateFlowDefinitionRequest & AddTags(Tag &&value)
Definition: CreateFlowDefinitionRequest.h:343
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithRoleArn
CreateFlowDefinitionRequest & WithRoleArn(Aws::String &&value)
Definition: CreateFlowDefinitionRequest.h:279
Aws::SageMaker::Model::FlowDefinitionOutputConfig
Definition: FlowDefinitionOutputConfig.h:33
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithTags
CreateFlowDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateFlowDefinitionRequest.h:322
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateFlowDefinitionRequest.h:258
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithOutputConfig
CreateFlowDefinitionRequest & WithOutputConfig(FlowDefinitionOutputConfig &&value)
Definition: CreateFlowDefinitionRequest.h:229
HumanLoopConfig.h
HumanLoopActivationConfig.h
Aws::SageMaker::Model::CreateFlowDefinitionRequest::CreateFlowDefinitionRequest
CreateFlowDefinitionRequest()
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetFlowDefinitionName
void SetFlowDefinitionName(const char *value)
Definition: CreateFlowDefinitionRequest.h:66
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetOutputConfig
void SetOutputConfig(const FlowDefinitionOutputConfig &value)
Definition: CreateFlowDefinitionRequest.h:211
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithHumanLoopActivationConfig
CreateFlowDefinitionRequest & WithHumanLoopActivationConfig(HumanLoopActivationConfig &&value)
Definition: CreateFlowDefinitionRequest.h:155
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetOutputConfig
const FlowDefinitionOutputConfig & GetOutputConfig() const
Definition: CreateFlowDefinitionRequest.h:199
Aws::SageMaker::Model::HumanLoopRequestSource
Definition: HumanLoopRequestSource.h:33
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetFlowDefinitionName
void SetFlowDefinitionName(Aws::String &&value)
Definition: CreateFlowDefinitionRequest.h:61
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithHumanLoopConfig
CreateFlowDefinitionRequest & WithHumanLoopConfig(HumanLoopConfig &&value)
Definition: CreateFlowDefinitionRequest.h:192
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithHumanLoopConfig
CreateFlowDefinitionRequest & WithHumanLoopConfig(const HumanLoopConfig &value)
Definition: CreateFlowDefinitionRequest.h:186
Aws::SageMaker::Model::CreateFlowDefinitionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:301
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithRoleArn
CreateFlowDefinitionRequest & WithRoleArn(const Aws::String &value)
Definition: CreateFlowDefinitionRequest.h:272
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateFlowDefinitionRequest::HumanLoopConfigHasBeenSet
bool HumanLoopConfigHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:168
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetFlowDefinitionName
const Aws::String & GetFlowDefinitionName() const
Definition: CreateFlowDefinitionRequest.h:46
SageMakerRequest.h
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithHumanLoopRequestSource
CreateFlowDefinitionRequest & WithHumanLoopRequestSource(const HumanLoopRequestSource &value)
Definition: CreateFlowDefinitionRequest.h:112
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithOutputConfig
CreateFlowDefinitionRequest & WithOutputConfig(const FlowDefinitionOutputConfig &value)
Definition: CreateFlowDefinitionRequest.h:223
Aws::SageMaker::Model::CreateFlowDefinitionRequest::AddTags
CreateFlowDefinitionRequest & AddTags(const Tag &value)
Definition: CreateFlowDefinitionRequest.h:336
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateFlowDefinitionRequest.h:251
Aws::SageMaker::Model::CreateFlowDefinitionRequest::WithTags
CreateFlowDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateFlowDefinitionRequest.h:329
Aws::SageMaker::Model::HumanLoopConfig
Definition: HumanLoopConfig.h:35
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetHumanLoopRequestSource
void SetHumanLoopRequestSource(HumanLoopRequestSource &&value)
Definition: CreateFlowDefinitionRequest.h:106
Aws::SageMaker::Model::CreateFlowDefinitionRequest
Definition: CreateFlowDefinitionRequest.h:28
Aws::SageMaker::Model::CreateFlowDefinitionRequest::SetHumanLoopActivationConfig
void SetHumanLoopActivationConfig(HumanLoopActivationConfig &&value)
Definition: CreateFlowDefinitionRequest.h:143
Aws::SageMaker::Model::CreateFlowDefinitionRequest::HumanLoopActivationConfigHasBeenSet
bool HumanLoopActivationConfigHasBeenSet() const
Definition: CreateFlowDefinitionRequest.h:131
Aws::SageMaker::Model::CreateFlowDefinitionRequest::GetHumanLoopActivationConfig
const HumanLoopActivationConfig & GetHumanLoopActivationConfig() const
Definition: CreateFlowDefinitionRequest.h:125