AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PutActionRevisionRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipelineRequest.h>
8#include <aws/codepipeline/CodePipeline_EXPORTS.h>
9#include <aws/codepipeline/model/ActionRevision.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodePipeline {
16namespace Model {
17
25 public:
26 AWS_CODEPIPELINE_API PutActionRevisionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PutActionRevision"; }
33
34 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
35
36 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
43 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
44 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
45 template <typename PipelineNameT = Aws::String>
46 void SetPipelineName(PipelineNameT&& value) {
47 m_pipelineNameHasBeenSet = true;
48 m_pipelineName = std::forward<PipelineNameT>(value);
49 }
50 template <typename PipelineNameT = Aws::String>
52 SetPipelineName(std::forward<PipelineNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetStageName() const { return m_stageName; }
62 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
63 template <typename StageNameT = Aws::String>
64 void SetStageName(StageNameT&& value) {
65 m_stageNameHasBeenSet = true;
66 m_stageName = std::forward<StageNameT>(value);
67 }
68 template <typename StageNameT = Aws::String>
70 SetStageName(std::forward<StageNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetActionName() const { return m_actionName; }
80 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
81 template <typename ActionNameT = Aws::String>
82 void SetActionName(ActionNameT&& value) {
83 m_actionNameHasBeenSet = true;
84 m_actionName = std::forward<ActionNameT>(value);
85 }
86 template <typename ActionNameT = Aws::String>
88 SetActionName(std::forward<ActionNameT>(value));
89 return *this;
90 }
92
94
97 inline const ActionRevision& GetActionRevision() const { return m_actionRevision; }
98 inline bool ActionRevisionHasBeenSet() const { return m_actionRevisionHasBeenSet; }
99 template <typename ActionRevisionT = ActionRevision>
100 void SetActionRevision(ActionRevisionT&& value) {
101 m_actionRevisionHasBeenSet = true;
102 m_actionRevision = std::forward<ActionRevisionT>(value);
103 }
104 template <typename ActionRevisionT = ActionRevision>
106 SetActionRevision(std::forward<ActionRevisionT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_pipelineName;
112
113 Aws::String m_stageName;
114
115 Aws::String m_actionName;
116
117 ActionRevision m_actionRevision;
118 bool m_pipelineNameHasBeenSet = false;
119 bool m_stageNameHasBeenSet = false;
120 bool m_actionNameHasBeenSet = false;
121 bool m_actionRevisionHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace CodePipeline
126} // namespace Aws
PutActionRevisionRequest & WithActionRevision(ActionRevisionT &&value)
PutActionRevisionRequest & WithPipelineName(PipelineNameT &&value)
virtual const char * GetServiceRequestName() const override
PutActionRevisionRequest & WithActionName(ActionNameT &&value)
PutActionRevisionRequest & WithStageName(StageNameT &&value)
AWS_CODEPIPELINE_API PutActionRevisionRequest()=default
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String