AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateImagePipelineRequest.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
11#include <aws/imagebuilder/model/Schedule.h>
12#include <aws/imagebuilder/model/PipelineStatus.h>
13#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/imagebuilder/model/WorkflowConfiguration.h>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace imagebuilder
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_IMAGEBUILDER_API UpdateImagePipelineRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateImagePipeline"; }
38
39 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
40
41
43
47 inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; }
48 inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; }
49 inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; }
50 inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); }
51 inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); }
53 inline UpdateImagePipelineRequest& WithImagePipelineArn(Aws::String&& value) { SetImagePipelineArn(std::move(value)); return *this;}
54 inline UpdateImagePipelineRequest& WithImagePipelineArn(const char* value) { SetImagePipelineArn(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline UpdateImagePipelineRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline UpdateImagePipelineRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline UpdateImagePipelineRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
76 inline const Aws::String& GetImageRecipeArn() const{ return m_imageRecipeArn; }
77 inline bool ImageRecipeArnHasBeenSet() const { return m_imageRecipeArnHasBeenSet; }
78 inline void SetImageRecipeArn(const Aws::String& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = value; }
79 inline void SetImageRecipeArn(Aws::String&& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = std::move(value); }
80 inline void SetImageRecipeArn(const char* value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn.assign(value); }
81 inline UpdateImagePipelineRequest& WithImageRecipeArn(const Aws::String& value) { SetImageRecipeArn(value); return *this;}
82 inline UpdateImagePipelineRequest& WithImageRecipeArn(Aws::String&& value) { SetImageRecipeArn(std::move(value)); return *this;}
83 inline UpdateImagePipelineRequest& WithImageRecipeArn(const char* value) { SetImageRecipeArn(value); return *this;}
85
87
90 inline const Aws::String& GetContainerRecipeArn() const{ return m_containerRecipeArn; }
91 inline bool ContainerRecipeArnHasBeenSet() const { return m_containerRecipeArnHasBeenSet; }
92 inline void SetContainerRecipeArn(const Aws::String& value) { m_containerRecipeArnHasBeenSet = true; m_containerRecipeArn = value; }
93 inline void SetContainerRecipeArn(Aws::String&& value) { m_containerRecipeArnHasBeenSet = true; m_containerRecipeArn = std::move(value); }
94 inline void SetContainerRecipeArn(const char* value) { m_containerRecipeArnHasBeenSet = true; m_containerRecipeArn.assign(value); }
96 inline UpdateImagePipelineRequest& WithContainerRecipeArn(Aws::String&& value) { SetContainerRecipeArn(std::move(value)); return *this;}
97 inline UpdateImagePipelineRequest& WithContainerRecipeArn(const char* value) { SetContainerRecipeArn(value); return *this;}
99
101
105 inline const Aws::String& GetInfrastructureConfigurationArn() const{ return m_infrastructureConfigurationArn; }
106 inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; }
107 inline void SetInfrastructureConfigurationArn(const Aws::String& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = value; }
108 inline void SetInfrastructureConfigurationArn(Aws::String&& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = std::move(value); }
109 inline void SetInfrastructureConfigurationArn(const char* value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn.assign(value); }
114
116
121 inline const Aws::String& GetDistributionConfigurationArn() const{ return m_distributionConfigurationArn; }
122 inline bool DistributionConfigurationArnHasBeenSet() const { return m_distributionConfigurationArnHasBeenSet; }
123 inline void SetDistributionConfigurationArn(const Aws::String& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = value; }
124 inline void SetDistributionConfigurationArn(Aws::String&& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = std::move(value); }
125 inline void SetDistributionConfigurationArn(const char* value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn.assign(value); }
130
132
135 inline const ImageTestsConfiguration& GetImageTestsConfiguration() const{ return m_imageTestsConfiguration; }
136 inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
137 inline void SetImageTestsConfiguration(const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = value; }
138 inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = std::move(value); }
139 inline UpdateImagePipelineRequest& WithImageTestsConfiguration(const ImageTestsConfiguration& value) { SetImageTestsConfiguration(value); return *this;}
140 inline UpdateImagePipelineRequest& WithImageTestsConfiguration(ImageTestsConfiguration&& value) { SetImageTestsConfiguration(std::move(value)); return *this;}
142
144
150 inline bool GetEnhancedImageMetadataEnabled() const{ return m_enhancedImageMetadataEnabled; }
151 inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
152 inline void SetEnhancedImageMetadataEnabled(bool value) { m_enhancedImageMetadataEnabledHasBeenSet = true; m_enhancedImageMetadataEnabled = value; }
155
157
160 inline const Schedule& GetSchedule() const{ return m_schedule; }
161 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
162 inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
163 inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
164 inline UpdateImagePipelineRequest& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
165 inline UpdateImagePipelineRequest& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
167
169
172 inline const PipelineStatus& GetStatus() const{ return m_status; }
173 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
174 inline void SetStatus(const PipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; }
175 inline void SetStatus(PipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
176 inline UpdateImagePipelineRequest& WithStatus(const PipelineStatus& value) { SetStatus(value); return *this;}
177 inline UpdateImagePipelineRequest& WithStatus(PipelineStatus&& value) { SetStatus(std::move(value)); return *this;}
179
181
187 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
188 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
189 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
190 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
191 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
192 inline UpdateImagePipelineRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
193 inline UpdateImagePipelineRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
194 inline UpdateImagePipelineRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
196
198
201 inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; }
202 inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; }
203 inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = value; }
204 inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = std::move(value); }
208
210
213 inline const Aws::Vector<WorkflowConfiguration>& GetWorkflows() const{ return m_workflows; }
214 inline bool WorkflowsHasBeenSet() const { return m_workflowsHasBeenSet; }
215 inline void SetWorkflows(const Aws::Vector<WorkflowConfiguration>& value) { m_workflowsHasBeenSet = true; m_workflows = value; }
216 inline void SetWorkflows(Aws::Vector<WorkflowConfiguration>&& value) { m_workflowsHasBeenSet = true; m_workflows = std::move(value); }
219 inline UpdateImagePipelineRequest& AddWorkflows(const WorkflowConfiguration& value) { m_workflowsHasBeenSet = true; m_workflows.push_back(value); return *this; }
220 inline UpdateImagePipelineRequest& AddWorkflows(WorkflowConfiguration&& value) { m_workflowsHasBeenSet = true; m_workflows.push_back(std::move(value)); return *this; }
222
224
228 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
229 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
230 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
231 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
232 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
233 inline UpdateImagePipelineRequest& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
234 inline UpdateImagePipelineRequest& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
235 inline UpdateImagePipelineRequest& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
237 private:
238
239 Aws::String m_imagePipelineArn;
240 bool m_imagePipelineArnHasBeenSet = false;
241
242 Aws::String m_description;
243 bool m_descriptionHasBeenSet = false;
244
245 Aws::String m_imageRecipeArn;
246 bool m_imageRecipeArnHasBeenSet = false;
247
248 Aws::String m_containerRecipeArn;
249 bool m_containerRecipeArnHasBeenSet = false;
250
251 Aws::String m_infrastructureConfigurationArn;
252 bool m_infrastructureConfigurationArnHasBeenSet = false;
253
254 Aws::String m_distributionConfigurationArn;
255 bool m_distributionConfigurationArnHasBeenSet = false;
256
257 ImageTestsConfiguration m_imageTestsConfiguration;
258 bool m_imageTestsConfigurationHasBeenSet = false;
259
260 bool m_enhancedImageMetadataEnabled;
261 bool m_enhancedImageMetadataEnabledHasBeenSet = false;
262
263 Schedule m_schedule;
264 bool m_scheduleHasBeenSet = false;
265
266 PipelineStatus m_status;
267 bool m_statusHasBeenSet = false;
268
269 Aws::String m_clientToken;
270 bool m_clientTokenHasBeenSet = false;
271
272 ImageScanningConfiguration m_imageScanningConfiguration;
273 bool m_imageScanningConfigurationHasBeenSet = false;
274
276 bool m_workflowsHasBeenSet = false;
277
278 Aws::String m_executionRole;
279 bool m_executionRoleHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace imagebuilder
284} // namespace Aws
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
UpdateImagePipelineRequest & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(Aws::String &&value)
UpdateImagePipelineRequest & WithContainerRecipeArn(const char *value)
const ImageTestsConfiguration & GetImageTestsConfiguration() const
UpdateImagePipelineRequest & WithDistributionConfigurationArn(const Aws::String &value)
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
UpdateImagePipelineRequest & AddWorkflows(const WorkflowConfiguration &value)
UpdateImagePipelineRequest & WithSchedule(const Schedule &value)
UpdateImagePipelineRequest & WithImagePipelineArn(const Aws::String &value)
UpdateImagePipelineRequest & WithDescription(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
UpdateImagePipelineRequest & WithImageRecipeArn(const char *value)
UpdateImagePipelineRequest & WithStatus(const PipelineStatus &value)
UpdateImagePipelineRequest & WithExecutionRole(const char *value)
UpdateImagePipelineRequest & WithExecutionRole(Aws::String &&value)
UpdateImagePipelineRequest & WithWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
UpdateImagePipelineRequest & WithImageRecipeArn(Aws::String &&value)
UpdateImagePipelineRequest & WithDistributionConfigurationArn(const char *value)
UpdateImagePipelineRequest & WithEnhancedImageMetadataEnabled(bool value)
UpdateImagePipelineRequest & WithWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
UpdateImagePipelineRequest & WithImageRecipeArn(const Aws::String &value)
UpdateImagePipelineRequest & WithClientToken(const char *value)
UpdateImagePipelineRequest & WithDescription(const Aws::String &value)
UpdateImagePipelineRequest & WithClientToken(Aws::String &&value)
void SetImageTestsConfiguration(ImageTestsConfiguration &&value)
UpdateImagePipelineRequest & WithDistributionConfigurationArn(Aws::String &&value)
UpdateImagePipelineRequest & WithContainerRecipeArn(Aws::String &&value)
UpdateImagePipelineRequest & WithSchedule(Schedule &&value)
UpdateImagePipelineRequest & WithExecutionRole(const Aws::String &value)
void SetWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
UpdateImagePipelineRequest & WithDescription(const char *value)
UpdateImagePipelineRequest & WithStatus(PipelineStatus &&value)
UpdateImagePipelineRequest & WithContainerRecipeArn(const Aws::String &value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
UpdateImagePipelineRequest & AddWorkflows(WorkflowConfiguration &&value)
UpdateImagePipelineRequest & WithClientToken(const Aws::String &value)
UpdateImagePipelineRequest & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
UpdateImagePipelineRequest & WithImageTestsConfiguration(const ImageTestsConfiguration &value)
void SetImageTestsConfiguration(const ImageTestsConfiguration &value)
void SetWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
UpdateImagePipelineRequest & WithImagePipelineArn(const char *value)
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(const char *value)
UpdateImagePipelineRequest & WithImagePipelineArn(Aws::String &&value)
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(const Aws::String &value)
UpdateImagePipelineRequest & WithImageTestsConfiguration(ImageTestsConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector