AWS SDK for C++  1.9.153
AWS SDK for C++
CreatePipelineRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "CreatePipeline"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
44 
48  inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
49 
53  inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
54 
58  inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
59 
63  inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
64 
68  inline CreatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
69 
73  inline CreatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
74 
78  inline CreatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
79 
80 
84  inline const Aws::String& GetPipelineDisplayName() const{ return m_pipelineDisplayName; }
85 
89  inline bool PipelineDisplayNameHasBeenSet() const { return m_pipelineDisplayNameHasBeenSet; }
90 
94  inline void SetPipelineDisplayName(const Aws::String& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = value; }
95 
99  inline void SetPipelineDisplayName(Aws::String&& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = std::move(value); }
100 
104  inline void SetPipelineDisplayName(const char* value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName.assign(value); }
105 
109  inline CreatePipelineRequest& WithPipelineDisplayName(const Aws::String& value) { SetPipelineDisplayName(value); return *this;}
110 
114  inline CreatePipelineRequest& WithPipelineDisplayName(Aws::String&& value) { SetPipelineDisplayName(std::move(value)); return *this;}
115 
119  inline CreatePipelineRequest& WithPipelineDisplayName(const char* value) { SetPipelineDisplayName(value); return *this;}
120 
121 
125  inline const Aws::String& GetPipelineDefinition() const{ return m_pipelineDefinition; }
126 
130  inline bool PipelineDefinitionHasBeenSet() const { return m_pipelineDefinitionHasBeenSet; }
131 
135  inline void SetPipelineDefinition(const Aws::String& value) { m_pipelineDefinitionHasBeenSet = true; m_pipelineDefinition = value; }
136 
140  inline void SetPipelineDefinition(Aws::String&& value) { m_pipelineDefinitionHasBeenSet = true; m_pipelineDefinition = std::move(value); }
141 
145  inline void SetPipelineDefinition(const char* value) { m_pipelineDefinitionHasBeenSet = true; m_pipelineDefinition.assign(value); }
146 
150  inline CreatePipelineRequest& WithPipelineDefinition(const Aws::String& value) { SetPipelineDefinition(value); return *this;}
151 
155  inline CreatePipelineRequest& WithPipelineDefinition(Aws::String&& value) { SetPipelineDefinition(std::move(value)); return *this;}
156 
160  inline CreatePipelineRequest& WithPipelineDefinition(const char* value) { SetPipelineDefinition(value); return *this;}
161 
162 
166  inline const Aws::String& GetPipelineDescription() const{ return m_pipelineDescription; }
167 
171  inline bool PipelineDescriptionHasBeenSet() const { return m_pipelineDescriptionHasBeenSet; }
172 
176  inline void SetPipelineDescription(const Aws::String& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = value; }
177 
181  inline void SetPipelineDescription(Aws::String&& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = std::move(value); }
182 
186  inline void SetPipelineDescription(const char* value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription.assign(value); }
187 
191  inline CreatePipelineRequest& WithPipelineDescription(const Aws::String& value) { SetPipelineDescription(value); return *this;}
192 
196  inline CreatePipelineRequest& WithPipelineDescription(Aws::String&& value) { SetPipelineDescription(std::move(value)); return *this;}
197 
201  inline CreatePipelineRequest& WithPipelineDescription(const char* value) { SetPipelineDescription(value); return *this;}
202 
203 
209  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
210 
216  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
217 
223  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
224 
230  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
231 
237  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
238 
244  inline CreatePipelineRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
245 
251  inline CreatePipelineRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
252 
258  inline CreatePipelineRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
259 
260 
265  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
266 
271  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
272 
277  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
278 
283  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
284 
289  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
290 
295  inline CreatePipelineRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
296 
301  inline CreatePipelineRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
302 
307  inline CreatePipelineRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
308 
309 
313  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
314 
318  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
319 
323  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
324 
328  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
329 
333  inline CreatePipelineRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
334 
338  inline CreatePipelineRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
339 
343  inline CreatePipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
344 
348  inline CreatePipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
349 
350  private:
351 
352  Aws::String m_pipelineName;
353  bool m_pipelineNameHasBeenSet;
354 
355  Aws::String m_pipelineDisplayName;
356  bool m_pipelineDisplayNameHasBeenSet;
357 
358  Aws::String m_pipelineDefinition;
359  bool m_pipelineDefinitionHasBeenSet;
360 
361  Aws::String m_pipelineDescription;
362  bool m_pipelineDescriptionHasBeenSet;
363 
364  Aws::String m_clientRequestToken;
365  bool m_clientRequestTokenHasBeenSet;
366 
367  Aws::String m_roleArn;
368  bool m_roleArnHasBeenSet;
369 
370  Aws::Vector<Tag> m_tags;
371  bool m_tagsHasBeenSet;
372  };
373 
374 } // namespace Model
375 } // namespace SageMaker
376 } // namespace Aws
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDescription
void SetPipelineDescription(const char *value)
Definition: CreatePipelineRequest.h:186
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreatePipelineRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreatePipelineRequest.h:209
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDefinition
void SetPipelineDefinition(Aws::String &&value)
Definition: CreatePipelineRequest.h:140
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreatePipelineRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreatePipelineRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreatePipelineRequest.h:318
Aws::SageMaker::Model::CreatePipelineRequest::AddTags
CreatePipelineRequest & AddTags(Tag &&value)
Definition: CreatePipelineRequest.h:348
Aws::SageMaker::Model::CreatePipelineRequest
Definition: CreatePipelineRequest.h:25
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreatePipelineRequest::PipelineDescriptionHasBeenSet
bool PipelineDescriptionHasBeenSet() const
Definition: CreatePipelineRequest.h:171
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDescription
CreatePipelineRequest & WithPipelineDescription(Aws::String &&value)
Definition: CreatePipelineRequest.h:196
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineName
CreatePipelineRequest & WithPipelineName(const Aws::String &value)
Definition: CreatePipelineRequest.h:68
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDescription
void SetPipelineDescription(const Aws::String &value)
Definition: CreatePipelineRequest.h:176
Aws::SageMaker::Model::CreatePipelineRequest::WithRoleArn
CreatePipelineRequest & WithRoleArn(const char *value)
Definition: CreatePipelineRequest.h:307
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDefinition
CreatePipelineRequest & WithPipelineDefinition(const char *value)
Definition: CreatePipelineRequest.h:160
Aws::SageMaker::Model::CreatePipelineRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreatePipelineRequest.h:216
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreatePipelineRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreatePipelineRequest.h:237
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineName
void SetPipelineName(Aws::String &&value)
Definition: CreatePipelineRequest.h:58
Aws::SageMaker::Model::CreatePipelineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreatePipelineRequest.h:33
Aws::SageMaker::Model::CreatePipelineRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreatePipelineRequest.h:230
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDefinition
void SetPipelineDefinition(const Aws::String &value)
Definition: CreatePipelineRequest.h:135
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineName
CreatePipelineRequest & WithPipelineName(Aws::String &&value)
Definition: CreatePipelineRequest.h:73
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDescription
CreatePipelineRequest & WithPipelineDescription(const Aws::String &value)
Definition: CreatePipelineRequest.h:191
AWSVector.h
Aws::SageMaker::Model::CreatePipelineRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreatePipelineRequest.h:289
Aws::SageMaker::Model::CreatePipelineRequest::CreatePipelineRequest
CreatePipelineRequest()
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDefinition
CreatePipelineRequest & WithPipelineDefinition(Aws::String &&value)
Definition: CreatePipelineRequest.h:155
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDisplayName
void SetPipelineDisplayName(const char *value)
Definition: CreatePipelineRequest.h:104
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreatePipelineRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreatePipelineRequest.h:265
Aws::SageMaker::Model::CreatePipelineRequest::GetPipelineName
const Aws::String & GetPipelineName() const
Definition: CreatePipelineRequest.h:43
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineName
void SetPipelineName(const char *value)
Definition: CreatePipelineRequest.h:63
Aws::SageMaker::Model::CreatePipelineRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreatePipelineRequest.h:277
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDescription
void SetPipelineDescription(Aws::String &&value)
Definition: CreatePipelineRequest.h:181
Aws::SageMaker::Model::CreatePipelineRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreatePipelineRequest.h:271
Aws::SageMaker::Model::CreatePipelineRequest::PipelineDisplayNameHasBeenSet
bool PipelineDisplayNameHasBeenSet() const
Definition: CreatePipelineRequest.h:89
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDefinition
CreatePipelineRequest & WithPipelineDefinition(const Aws::String &value)
Definition: CreatePipelineRequest.h:150
Aws::SageMaker::Model::CreatePipelineRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreatePipelineRequest.h:313
AWSString.h
Aws::SageMaker::Model::CreatePipelineRequest::WithClientRequestToken
CreatePipelineRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreatePipelineRequest.h:251
Aws::SageMaker::Model::CreatePipelineRequest::AddTags
CreatePipelineRequest & AddTags(const Tag &value)
Definition: CreatePipelineRequest.h:343
Aws::SageMaker::Model::CreatePipelineRequest::WithRoleArn
CreatePipelineRequest & WithRoleArn(Aws::String &&value)
Definition: CreatePipelineRequest.h:301
Tag.h
Aws::SageMaker::Model::CreatePipelineRequest::WithRoleArn
CreatePipelineRequest & WithRoleArn(const Aws::String &value)
Definition: CreatePipelineRequest.h:295
Aws::SageMaker::Model::CreatePipelineRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreatePipelineRequest.h:323
Aws::SageMaker::Model::CreatePipelineRequest::GetPipelineDefinition
const Aws::String & GetPipelineDefinition() const
Definition: CreatePipelineRequest.h:125
Aws::SageMaker::Model::CreatePipelineRequest::GetPipelineDisplayName
const Aws::String & GetPipelineDisplayName() const
Definition: CreatePipelineRequest.h:84
Aws::SageMaker::Model::CreatePipelineRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreatePipelineRequest.h:328
Aws::SageMaker::Model::CreatePipelineRequest::GetPipelineDescription
const Aws::String & GetPipelineDescription() const
Definition: CreatePipelineRequest.h:166
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDisplayName
CreatePipelineRequest & WithPipelineDisplayName(const char *value)
Definition: CreatePipelineRequest.h:119
Aws::SageMaker::Model::CreatePipelineRequest::WithClientRequestToken
CreatePipelineRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreatePipelineRequest.h:244
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDisplayName
void SetPipelineDisplayName(const Aws::String &value)
Definition: CreatePipelineRequest.h:94
Aws::SageMaker::Model::CreatePipelineRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreatePipelineRequest.h:223
Aws::SageMaker::Model::CreatePipelineRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreatePipelineRequest::WithClientRequestToken
CreatePipelineRequest & WithClientRequestToken(const char *value)
Definition: CreatePipelineRequest.h:258
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineName
CreatePipelineRequest & WithPipelineName(const char *value)
Definition: CreatePipelineRequest.h:78
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDisplayName
void SetPipelineDisplayName(Aws::String &&value)
Definition: CreatePipelineRequest.h:99
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineName
void SetPipelineName(const Aws::String &value)
Definition: CreatePipelineRequest.h:53
SageMakerRequest.h
Aws::SageMaker::Model::CreatePipelineRequest::SetPipelineDefinition
void SetPipelineDefinition(const char *value)
Definition: CreatePipelineRequest.h:145
Aws::SageMaker::Model::CreatePipelineRequest::WithTags
CreatePipelineRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreatePipelineRequest.h:333
Aws::SageMaker::Model::CreatePipelineRequest::WithTags
CreatePipelineRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreatePipelineRequest.h:338
Aws::SageMaker::Model::CreatePipelineRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreatePipelineRequest.h:283
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreatePipelineRequest::PipelineNameHasBeenSet
bool PipelineNameHasBeenSet() const
Definition: CreatePipelineRequest.h:48
UUID.h
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDisplayName
CreatePipelineRequest & WithPipelineDisplayName(Aws::String &&value)
Definition: CreatePipelineRequest.h:114
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDisplayName
CreatePipelineRequest & WithPipelineDisplayName(const Aws::String &value)
Definition: CreatePipelineRequest.h:109
Aws::SageMaker::Model::CreatePipelineRequest::WithPipelineDescription
CreatePipelineRequest & WithPipelineDescription(const char *value)
Definition: CreatePipelineRequest.h:201
Aws::SageMaker::Model::CreatePipelineRequest::PipelineDefinitionHasBeenSet
bool PipelineDefinitionHasBeenSet() const
Definition: CreatePipelineRequest.h:130