AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutActionRevisionRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/CodePipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codepipeline/model/ActionRevision.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodePipeline
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODEPIPELINE_API PutActionRevisionRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "PutActionRevision"; }
36
37 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
38
39 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
48 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
49 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
50 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
51 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
52 inline PutActionRevisionRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
53 inline PutActionRevisionRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
54 inline PutActionRevisionRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
56
58
61 inline const Aws::String& GetStageName() const{ return m_stageName; }
62 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
63 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
64 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
65 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
66 inline PutActionRevisionRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
67 inline PutActionRevisionRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
68 inline PutActionRevisionRequest& WithStageName(const char* value) { SetStageName(value); return *this;}
70
72
75 inline const Aws::String& GetActionName() const{ return m_actionName; }
76 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
77 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
78 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
79 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
80 inline PutActionRevisionRequest& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
81 inline PutActionRevisionRequest& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
82 inline PutActionRevisionRequest& WithActionName(const char* value) { SetActionName(value); return *this;}
84
86
89 inline const ActionRevision& GetActionRevision() const{ return m_actionRevision; }
90 inline bool ActionRevisionHasBeenSet() const { return m_actionRevisionHasBeenSet; }
91 inline void SetActionRevision(const ActionRevision& value) { m_actionRevisionHasBeenSet = true; m_actionRevision = value; }
92 inline void SetActionRevision(ActionRevision&& value) { m_actionRevisionHasBeenSet = true; m_actionRevision = std::move(value); }
93 inline PutActionRevisionRequest& WithActionRevision(const ActionRevision& value) { SetActionRevision(value); return *this;}
94 inline PutActionRevisionRequest& WithActionRevision(ActionRevision&& value) { SetActionRevision(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_pipelineName;
99 bool m_pipelineNameHasBeenSet = false;
100
101 Aws::String m_stageName;
102 bool m_stageNameHasBeenSet = false;
103
104 Aws::String m_actionName;
105 bool m_actionNameHasBeenSet = false;
106
107 ActionRevision m_actionRevision;
108 bool m_actionRevisionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CodePipeline
113} // namespace Aws
PutActionRevisionRequest & WithPipelineName(Aws::String &&value)
PutActionRevisionRequest & WithActionRevision(ActionRevision &&value)
PutActionRevisionRequest & WithStageName(const char *value)
PutActionRevisionRequest & WithActionRevision(const ActionRevision &value)
PutActionRevisionRequest & WithPipelineName(const char *value)
PutActionRevisionRequest & WithStageName(Aws::String &&value)
PutActionRevisionRequest & WithActionName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutActionRevisionRequest & WithActionName(const char *value)
PutActionRevisionRequest & WithStageName(const Aws::String &value)
PutActionRevisionRequest & WithPipelineName(const Aws::String &value)
PutActionRevisionRequest & WithActionName(Aws::String &&value)
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