AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartPipelineExecutionRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/ParallelismConfiguration.h>
12#include <aws/sagemaker/model/SelectiveExecutionConfig.h>
13#include <aws/sagemaker/model/Parameter.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 StartPipelineExecutionRequest();
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 "StartPipelineExecution"; }
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 StartPipelineExecutionRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
52 inline StartPipelineExecutionRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
53 inline StartPipelineExecutionRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
55
57
60 inline const Aws::String& GetPipelineExecutionDisplayName() const{ return m_pipelineExecutionDisplayName; }
61 inline bool PipelineExecutionDisplayNameHasBeenSet() const { return m_pipelineExecutionDisplayNameHasBeenSet; }
62 inline void SetPipelineExecutionDisplayName(const Aws::String& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = value; }
63 inline void SetPipelineExecutionDisplayName(Aws::String&& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = std::move(value); }
64 inline void SetPipelineExecutionDisplayName(const char* value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName.assign(value); }
69
71
74 inline const Aws::Vector<Parameter>& GetPipelineParameters() const{ return m_pipelineParameters; }
75 inline bool PipelineParametersHasBeenSet() const { return m_pipelineParametersHasBeenSet; }
76 inline void SetPipelineParameters(const Aws::Vector<Parameter>& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = value; }
77 inline void SetPipelineParameters(Aws::Vector<Parameter>&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = std::move(value); }
80 inline StartPipelineExecutionRequest& AddPipelineParameters(const Parameter& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(value); return *this; }
81 inline StartPipelineExecutionRequest& AddPipelineParameters(Parameter&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::String& GetPipelineExecutionDescription() const{ return m_pipelineExecutionDescription; }
89 inline bool PipelineExecutionDescriptionHasBeenSet() const { return m_pipelineExecutionDescriptionHasBeenSet; }
90 inline void SetPipelineExecutionDescription(const Aws::String& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = value; }
91 inline void SetPipelineExecutionDescription(Aws::String&& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = std::move(value); }
92 inline void SetPipelineExecutionDescription(const char* value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription.assign(value); }
97
99
104 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
105 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
106 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
107 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
108 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
111 inline StartPipelineExecutionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
113
115
119 inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; }
120 inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; }
121 inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; }
122 inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); }
126
128
131 inline const SelectiveExecutionConfig& GetSelectiveExecutionConfig() const{ return m_selectiveExecutionConfig; }
132 inline bool SelectiveExecutionConfigHasBeenSet() const { return m_selectiveExecutionConfigHasBeenSet; }
133 inline void SetSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = value; }
134 inline void SetSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = std::move(value); }
138 private:
139
140 Aws::String m_pipelineName;
141 bool m_pipelineNameHasBeenSet = false;
142
143 Aws::String m_pipelineExecutionDisplayName;
144 bool m_pipelineExecutionDisplayNameHasBeenSet = false;
145
146 Aws::Vector<Parameter> m_pipelineParameters;
147 bool m_pipelineParametersHasBeenSet = false;
148
149 Aws::String m_pipelineExecutionDescription;
150 bool m_pipelineExecutionDescriptionHasBeenSet = false;
151
152 Aws::String m_clientRequestToken;
153 bool m_clientRequestTokenHasBeenSet = false;
154
155 ParallelismConfiguration m_parallelismConfiguration;
156 bool m_parallelismConfigurationHasBeenSet = false;
157
158 SelectiveExecutionConfig m_selectiveExecutionConfig;
159 bool m_selectiveExecutionConfigHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace SageMaker
164} // namespace Aws
StartPipelineExecutionRequest & AddPipelineParameters(const Parameter &value)
StartPipelineExecutionRequest & WithPipelineExecutionDescription(const Aws::String &value)
StartPipelineExecutionRequest & WithPipelineExecutionDisplayName(const char *value)
void SetPipelineParameters(const Aws::Vector< Parameter > &value)
StartPipelineExecutionRequest & WithPipelineExecutionDisplayName(Aws::String &&value)
StartPipelineExecutionRequest & WithPipelineName(const char *value)
StartPipelineExecutionRequest & WithPipelineParameters(const Aws::Vector< Parameter > &value)
StartPipelineExecutionRequest & WithPipelineParameters(Aws::Vector< Parameter > &&value)
StartPipelineExecutionRequest & WithPipelineExecutionDisplayName(const Aws::String &value)
const Aws::Vector< Parameter > & GetPipelineParameters() const
StartPipelineExecutionRequest & WithParallelismConfiguration(const ParallelismConfiguration &value)
const ParallelismConfiguration & GetParallelismConfiguration() const
void SetParallelismConfiguration(const ParallelismConfiguration &value)
const SelectiveExecutionConfig & GetSelectiveExecutionConfig() const
StartPipelineExecutionRequest & WithClientRequestToken(const char *value)
StartPipelineExecutionRequest & WithClientRequestToken(const Aws::String &value)
StartPipelineExecutionRequest & WithSelectiveExecutionConfig(const SelectiveExecutionConfig &value)
StartPipelineExecutionRequest & WithSelectiveExecutionConfig(SelectiveExecutionConfig &&value)
StartPipelineExecutionRequest & AddPipelineParameters(Parameter &&value)
StartPipelineExecutionRequest & WithPipelineExecutionDescription(Aws::String &&value)
StartPipelineExecutionRequest & WithPipelineName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
StartPipelineExecutionRequest & WithClientRequestToken(Aws::String &&value)
void SetSelectiveExecutionConfig(const SelectiveExecutionConfig &value)
StartPipelineExecutionRequest & WithPipelineName(const Aws::String &value)
StartPipelineExecutionRequest & WithParallelismConfiguration(ParallelismConfiguration &&value)
StartPipelineExecutionRequest & WithPipelineExecutionDescription(const char *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