AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePipelineRequest.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/PipelineDefinitionS3Location.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/ParallelismConfiguration.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace SageMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SAGEMAKER_API CreatePipelineRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreatePipeline"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
47 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
48 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
49 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
50 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
51 inline CreatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
52 inline CreatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
53 inline CreatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
55
57
60 inline const Aws::String& GetPipelineDisplayName() const{ return m_pipelineDisplayName; }
61 inline bool PipelineDisplayNameHasBeenSet() const { return m_pipelineDisplayNameHasBeenSet; }
62 inline void SetPipelineDisplayName(const Aws::String& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = value; }
63 inline void SetPipelineDisplayName(Aws::String&& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = std::move(value); }
64 inline void SetPipelineDisplayName(const char* value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName.assign(value); }
66 inline CreatePipelineRequest& WithPipelineDisplayName(Aws::String&& value) { SetPipelineDisplayName(std::move(value)); return *this;}
67 inline CreatePipelineRequest& WithPipelineDisplayName(const char* value) { SetPipelineDisplayName(value); return *this;}
69
71
76 inline const Aws::String& GetPipelineDefinition() const{ return m_pipelineDefinition; }
77 inline bool PipelineDefinitionHasBeenSet() const { return m_pipelineDefinitionHasBeenSet; }
78 inline void SetPipelineDefinition(const Aws::String& value) { m_pipelineDefinitionHasBeenSet = true; m_pipelineDefinition = value; }
79 inline void SetPipelineDefinition(Aws::String&& value) { m_pipelineDefinitionHasBeenSet = true; m_pipelineDefinition = std::move(value); }
80 inline void SetPipelineDefinition(const char* value) { m_pipelineDefinitionHasBeenSet = true; m_pipelineDefinition.assign(value); }
82 inline CreatePipelineRequest& WithPipelineDefinition(Aws::String&& value) { SetPipelineDefinition(std::move(value)); return *this;}
83 inline CreatePipelineRequest& WithPipelineDefinition(const char* value) { SetPipelineDefinition(value); return *this;}
85
87
91 inline const PipelineDefinitionS3Location& GetPipelineDefinitionS3Location() const{ return m_pipelineDefinitionS3Location; }
92 inline bool PipelineDefinitionS3LocationHasBeenSet() const { return m_pipelineDefinitionS3LocationHasBeenSet; }
93 inline void SetPipelineDefinitionS3Location(const PipelineDefinitionS3Location& value) { m_pipelineDefinitionS3LocationHasBeenSet = true; m_pipelineDefinitionS3Location = value; }
94 inline void SetPipelineDefinitionS3Location(PipelineDefinitionS3Location&& value) { m_pipelineDefinitionS3LocationHasBeenSet = true; m_pipelineDefinitionS3Location = std::move(value); }
98
100
103 inline const Aws::String& GetPipelineDescription() const{ return m_pipelineDescription; }
104 inline bool PipelineDescriptionHasBeenSet() const { return m_pipelineDescriptionHasBeenSet; }
105 inline void SetPipelineDescription(const Aws::String& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = value; }
106 inline void SetPipelineDescription(Aws::String&& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = std::move(value); }
107 inline void SetPipelineDescription(const char* value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription.assign(value); }
109 inline CreatePipelineRequest& WithPipelineDescription(Aws::String&& value) { SetPipelineDescription(std::move(value)); return *this;}
110 inline CreatePipelineRequest& WithPipelineDescription(const char* value) { SetPipelineDescription(value); return *this;}
112
114
119 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
120 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
121 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
122 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
123 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
125 inline CreatePipelineRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
126 inline CreatePipelineRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
128
130
134 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
135 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
136 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
137 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
138 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
139 inline CreatePipelineRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
140 inline CreatePipelineRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
141 inline CreatePipelineRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
143
145
148 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
149 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
150 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
151 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
152 inline CreatePipelineRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
153 inline CreatePipelineRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
154 inline CreatePipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
155 inline CreatePipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
157
159
163 inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; }
164 inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; }
165 inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; }
166 inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); }
170 private:
171
172 Aws::String m_pipelineName;
173 bool m_pipelineNameHasBeenSet = false;
174
175 Aws::String m_pipelineDisplayName;
176 bool m_pipelineDisplayNameHasBeenSet = false;
177
178 Aws::String m_pipelineDefinition;
179 bool m_pipelineDefinitionHasBeenSet = false;
180
181 PipelineDefinitionS3Location m_pipelineDefinitionS3Location;
182 bool m_pipelineDefinitionS3LocationHasBeenSet = false;
183
184 Aws::String m_pipelineDescription;
185 bool m_pipelineDescriptionHasBeenSet = false;
186
187 Aws::String m_clientRequestToken;
188 bool m_clientRequestTokenHasBeenSet = false;
189
190 Aws::String m_roleArn;
191 bool m_roleArnHasBeenSet = false;
192
193 Aws::Vector<Tag> m_tags;
194 bool m_tagsHasBeenSet = false;
195
196 ParallelismConfiguration m_parallelismConfiguration;
197 bool m_parallelismConfigurationHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace SageMaker
202} // namespace Aws
CreatePipelineRequest & WithPipelineDefinitionS3Location(const PipelineDefinitionS3Location &value)
CreatePipelineRequest & WithTags(Aws::Vector< Tag > &&value)
CreatePipelineRequest & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & WithPipelineName(const char *value)
const PipelineDefinitionS3Location & GetPipelineDefinitionS3Location() const
CreatePipelineRequest & WithRoleArn(const Aws::String &value)
void SetPipelineDefinitionS3Location(PipelineDefinitionS3Location &&value)
CreatePipelineRequest & WithRoleArn(Aws::String &&value)
CreatePipelineRequest & WithTags(const Aws::Vector< Tag > &value)
void SetPipelineDescription(const Aws::String &value)
CreatePipelineRequest & WithPipelineDisplayName(Aws::String &&value)
void SetPipelineDefinitionS3Location(const PipelineDefinitionS3Location &value)
CreatePipelineRequest & WithClientRequestToken(Aws::String &&value)
void SetParallelismConfiguration(const ParallelismConfiguration &value)
const ParallelismConfiguration & GetParallelismConfiguration() const
CreatePipelineRequest & WithPipelineDefinitionS3Location(PipelineDefinitionS3Location &&value)
CreatePipelineRequest & WithPipelineName(const Aws::String &value)
CreatePipelineRequest & WithPipelineName(Aws::String &&value)
CreatePipelineRequest & AddTags(const Tag &value)
CreatePipelineRequest & WithPipelineDisplayName(const char *value)
CreatePipelineRequest & WithPipelineDefinition(const Aws::String &value)
CreatePipelineRequest & WithPipelineDescription(const Aws::String &value)
CreatePipelineRequest & WithParallelismConfiguration(ParallelismConfiguration &&value)
CreatePipelineRequest & WithParallelismConfiguration(const ParallelismConfiguration &value)
CreatePipelineRequest & WithPipelineDescription(const char *value)
CreatePipelineRequest & WithPipelineDisplayName(const Aws::String &value)
CreatePipelineRequest & WithPipelineDefinition(Aws::String &&value)
void SetClientRequestToken(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPipelineDisplayName(const Aws::String &value)
void SetParallelismConfiguration(ParallelismConfiguration &&value)
CreatePipelineRequest & WithRoleArn(const char *value)
void SetPipelineDefinition(const Aws::String &value)
CreatePipelineRequest & WithClientRequestToken(const char *value)
CreatePipelineRequest & WithPipelineDescription(Aws::String &&value)
CreatePipelineRequest & WithPipelineDefinition(const char *value)
CreatePipelineRequest & WithClientRequestToken(const Aws::String &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