AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartImagePipelineExecutionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/ImagebuilderRequest.h>
11#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace imagebuilder {
17namespace Model {
18
22 public:
23 AWS_IMAGEBUILDER_API StartImagePipelineExecutionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartImagePipelineExecution"; }
30
31 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetImagePipelineArn() const { return m_imagePipelineArn; }
39 inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; }
40 template <typename ImagePipelineArnT = Aws::String>
41 void SetImagePipelineArn(ImagePipelineArnT&& value) {
42 m_imagePipelineArnHasBeenSet = true;
43 m_imagePipelineArn = std::forward<ImagePipelineArnT>(value);
44 }
45 template <typename ImagePipelineArnT = Aws::String>
47 SetImagePipelineArn(std::forward<ImagePipelineArnT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetClientToken() const { return m_clientToken; }
60 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 template <typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) {
63 m_clientTokenHasBeenSet = true;
64 m_clientToken = std::forward<ClientTokenT>(value);
65 }
66 template <typename ClientTokenT = Aws::String>
68 SetClientToken(std::forward<ClientTokenT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) {
82 m_tagsHasBeenSet = true;
83 m_tags = std::forward<TagsT>(value);
84 }
85 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 SetTags(std::forward<TagsT>(value));
88 return *this;
89 }
90 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
91 StartImagePipelineExecutionRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
92 m_tagsHasBeenSet = true;
93 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_imagePipelineArn;
99
101
103 bool m_imagePipelineArnHasBeenSet = false;
104 bool m_clientTokenHasBeenSet = true;
105 bool m_tagsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace imagebuilder
110} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
StartImagePipelineExecutionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartImagePipelineExecutionRequest & WithClientToken(ClientTokenT &&value)
StartImagePipelineExecutionRequest & WithImagePipelineArn(ImagePipelineArnT &&value)
AWS_IMAGEBUILDER_API StartImagePipelineExecutionRequest()=default
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String