AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateImagePipelineRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace imagebuilder
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateImagePipeline"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; }
44 
49  inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; }
50 
55  inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; }
56 
61  inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); }
62 
67  inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); }
68 
73  inline UpdateImagePipelineRequest& WithImagePipelineArn(const Aws::String& value) { SetImagePipelineArn(value); return *this;}
74 
79  inline UpdateImagePipelineRequest& WithImagePipelineArn(Aws::String&& value) { SetImagePipelineArn(std::move(value)); return *this;}
80 
85  inline UpdateImagePipelineRequest& WithImagePipelineArn(const char* value) { SetImagePipelineArn(value); return *this;}
86 
87 
91  inline const Aws::String& GetDescription() const{ return m_description; }
92 
96  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 
101  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 
106  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
107 
111  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
112 
116  inline UpdateImagePipelineRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
117 
121  inline UpdateImagePipelineRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
122 
126  inline UpdateImagePipelineRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
127 
128 
133  inline const Aws::String& GetImageRecipeArn() const{ return m_imageRecipeArn; }
134 
139  inline bool ImageRecipeArnHasBeenSet() const { return m_imageRecipeArnHasBeenSet; }
140 
145  inline void SetImageRecipeArn(const Aws::String& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = value; }
146 
151  inline void SetImageRecipeArn(Aws::String&& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = std::move(value); }
152 
157  inline void SetImageRecipeArn(const char* value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn.assign(value); }
158 
163  inline UpdateImagePipelineRequest& WithImageRecipeArn(const Aws::String& value) { SetImageRecipeArn(value); return *this;}
164 
169  inline UpdateImagePipelineRequest& WithImageRecipeArn(Aws::String&& value) { SetImageRecipeArn(std::move(value)); return *this;}
170 
175  inline UpdateImagePipelineRequest& WithImageRecipeArn(const char* value) { SetImageRecipeArn(value); return *this;}
176 
177 
182  inline const Aws::String& GetInfrastructureConfigurationArn() const{ return m_infrastructureConfigurationArn; }
183 
188  inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; }
189 
194  inline void SetInfrastructureConfigurationArn(const Aws::String& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = value; }
195 
200  inline void SetInfrastructureConfigurationArn(Aws::String&& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = std::move(value); }
201 
206  inline void SetInfrastructureConfigurationArn(const char* value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn.assign(value); }
207 
212  inline UpdateImagePipelineRequest& WithInfrastructureConfigurationArn(const Aws::String& value) { SetInfrastructureConfigurationArn(value); return *this;}
213 
218  inline UpdateImagePipelineRequest& WithInfrastructureConfigurationArn(Aws::String&& value) { SetInfrastructureConfigurationArn(std::move(value)); return *this;}
219 
224  inline UpdateImagePipelineRequest& WithInfrastructureConfigurationArn(const char* value) { SetInfrastructureConfigurationArn(value); return *this;}
225 
226 
231  inline const Aws::String& GetDistributionConfigurationArn() const{ return m_distributionConfigurationArn; }
232 
237  inline bool DistributionConfigurationArnHasBeenSet() const { return m_distributionConfigurationArnHasBeenSet; }
238 
243  inline void SetDistributionConfigurationArn(const Aws::String& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = value; }
244 
249  inline void SetDistributionConfigurationArn(Aws::String&& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = std::move(value); }
250 
255  inline void SetDistributionConfigurationArn(const char* value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn.assign(value); }
256 
261  inline UpdateImagePipelineRequest& WithDistributionConfigurationArn(const Aws::String& value) { SetDistributionConfigurationArn(value); return *this;}
262 
267  inline UpdateImagePipelineRequest& WithDistributionConfigurationArn(Aws::String&& value) { SetDistributionConfigurationArn(std::move(value)); return *this;}
268 
273  inline UpdateImagePipelineRequest& WithDistributionConfigurationArn(const char* value) { SetDistributionConfigurationArn(value); return *this;}
274 
275 
279  inline const ImageTestsConfiguration& GetImageTestsConfiguration() const{ return m_imageTestsConfiguration; }
280 
284  inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
285 
289  inline void SetImageTestsConfiguration(const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = value; }
290 
294  inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = std::move(value); }
295 
299  inline UpdateImagePipelineRequest& WithImageTestsConfiguration(const ImageTestsConfiguration& value) { SetImageTestsConfiguration(value); return *this;}
300 
304  inline UpdateImagePipelineRequest& WithImageTestsConfiguration(ImageTestsConfiguration&& value) { SetImageTestsConfiguration(std::move(value)); return *this;}
305 
306 
313  inline bool GetEnhancedImageMetadataEnabled() const{ return m_enhancedImageMetadataEnabled; }
314 
321  inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
322 
329  inline void SetEnhancedImageMetadataEnabled(bool value) { m_enhancedImageMetadataEnabledHasBeenSet = true; m_enhancedImageMetadataEnabled = value; }
330 
337  inline UpdateImagePipelineRequest& WithEnhancedImageMetadataEnabled(bool value) { SetEnhancedImageMetadataEnabled(value); return *this;}
338 
339 
343  inline const Schedule& GetSchedule() const{ return m_schedule; }
344 
348  inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
349 
353  inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
354 
358  inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
359 
363  inline UpdateImagePipelineRequest& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
364 
368  inline UpdateImagePipelineRequest& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
369 
370 
374  inline const PipelineStatus& GetStatus() const{ return m_status; }
375 
379  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
380 
384  inline void SetStatus(const PipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; }
385 
389  inline void SetStatus(PipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
390 
394  inline UpdateImagePipelineRequest& WithStatus(const PipelineStatus& value) { SetStatus(value); return *this;}
395 
399  inline UpdateImagePipelineRequest& WithStatus(PipelineStatus&& value) { SetStatus(std::move(value)); return *this;}
400 
401 
405  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
406 
410  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
411 
415  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
416 
420  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
421 
425  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
426 
430  inline UpdateImagePipelineRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
431 
435  inline UpdateImagePipelineRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
436 
440  inline UpdateImagePipelineRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
441 
442  private:
443 
444  Aws::String m_imagePipelineArn;
445  bool m_imagePipelineArnHasBeenSet;
446 
447  Aws::String m_description;
448  bool m_descriptionHasBeenSet;
449 
450  Aws::String m_imageRecipeArn;
451  bool m_imageRecipeArnHasBeenSet;
452 
453  Aws::String m_infrastructureConfigurationArn;
454  bool m_infrastructureConfigurationArnHasBeenSet;
455 
456  Aws::String m_distributionConfigurationArn;
457  bool m_distributionConfigurationArnHasBeenSet;
458 
459  ImageTestsConfiguration m_imageTestsConfiguration;
460  bool m_imageTestsConfigurationHasBeenSet;
461 
462  bool m_enhancedImageMetadataEnabled;
463  bool m_enhancedImageMetadataEnabledHasBeenSet;
464 
465  Schedule m_schedule;
466  bool m_scheduleHasBeenSet;
467 
468  PipelineStatus m_status;
469  bool m_statusHasBeenSet;
470 
471  Aws::String m_clientToken;
472  bool m_clientTokenHasBeenSet;
473  };
474 
475 } // namespace Model
476 } // namespace imagebuilder
477 } // namespace Aws
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(const char *value)
UpdateImagePipelineRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateImagePipelineRequest & WithImagePipelineArn(Aws::String &&value)
UpdateImagePipelineRequest & WithImageTestsConfiguration(ImageTestsConfiguration &&value)
UpdateImagePipelineRequest & WithDistributionConfigurationArn(const char *value)
UpdateImagePipelineRequest & WithDescription(const Aws::String &value)
UpdateImagePipelineRequest & WithStatus(const PipelineStatus &value)
void SetImageTestsConfiguration(ImageTestsConfiguration &&value)
UpdateImagePipelineRequest & WithDescription(const char *value)
UpdateImagePipelineRequest & WithEnhancedImageMetadataEnabled(bool value)
UpdateImagePipelineRequest & WithImageTestsConfiguration(const ImageTestsConfiguration &value)
#define AWS_IMAGEBUILDER_API
const ImageTestsConfiguration & GetImageTestsConfiguration() const
UpdateImagePipelineRequest & WithSchedule(Schedule &&value)
UpdateImagePipelineRequest & WithImageRecipeArn(const Aws::String &value)
UpdateImagePipelineRequest & WithImageRecipeArn(const char *value)
UpdateImagePipelineRequest & WithClientToken(const Aws::String &value)
UpdateImagePipelineRequest & WithImageRecipeArn(Aws::String &&value)
UpdateImagePipelineRequest & WithDistributionConfigurationArn(Aws::String &&value)
UpdateImagePipelineRequest & WithClientToken(const char *value)
UpdateImagePipelineRequest & WithStatus(PipelineStatus &&value)
UpdateImagePipelineRequest & WithSchedule(const Schedule &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(Aws::String &&value)
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(const Aws::String &value)
UpdateImagePipelineRequest & WithImagePipelineArn(const char *value)
void SetImageTestsConfiguration(const ImageTestsConfiguration &value)
UpdateImagePipelineRequest & WithImagePipelineArn(const Aws::String &value)
UpdateImagePipelineRequest & WithDescription(Aws::String &&value)
UpdateImagePipelineRequest & WithDistributionConfigurationArn(const Aws::String &value)