AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImagePipelineExecutionRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace imagebuilder
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IMAGEBUILDER_API StartImagePipelineExecutionRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartImagePipelineExecution"; }
32
33 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; }
42 inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; }
43 inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; }
44 inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); }
45 inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); }
48 inline StartImagePipelineExecutionRequest& WithImagePipelineArn(const char* value) { SetImagePipelineArn(value); return *this;}
50
52
58 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
59 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
60 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
61 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
62 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
64 inline StartImagePipelineExecutionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
65 inline StartImagePipelineExecutionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
67 private:
68
69 Aws::String m_imagePipelineArn;
70 bool m_imagePipelineArnHasBeenSet = false;
71
72 Aws::String m_clientToken;
73 bool m_clientTokenHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace imagebuilder
78} // namespace Aws
StartImagePipelineExecutionRequest & WithClientToken(Aws::String &&value)
StartImagePipelineExecutionRequest & WithImagePipelineArn(const Aws::String &value)
StartImagePipelineExecutionRequest & WithClientToken(const char *value)
StartImagePipelineExecutionRequest & WithImagePipelineArn(const char *value)
StartImagePipelineExecutionRequest & WithImagePipelineArn(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
StartImagePipelineExecutionRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String