AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetPipelineExecutionRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipelineRequest.h>
8#include <aws/codepipeline/CodePipeline_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodePipeline {
15namespace Model {
16
24 public:
25 AWS_CODEPIPELINE_API GetPipelineExecutionRequest() = default;
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 "GetPipelineExecution"; }
32
33 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
34
35 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
42 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
43 template <typename PipelineNameT = Aws::String>
44 void SetPipelineName(PipelineNameT&& value) {
45 m_pipelineNameHasBeenSet = true;
46 m_pipelineName = std::forward<PipelineNameT>(value);
47 }
48 template <typename PipelineNameT = Aws::String>
50 SetPipelineName(std::forward<PipelineNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetPipelineExecutionId() const { return m_pipelineExecutionId; }
61 inline bool PipelineExecutionIdHasBeenSet() const { return m_pipelineExecutionIdHasBeenSet; }
62 template <typename PipelineExecutionIdT = Aws::String>
63 void SetPipelineExecutionId(PipelineExecutionIdT&& value) {
64 m_pipelineExecutionIdHasBeenSet = true;
65 m_pipelineExecutionId = std::forward<PipelineExecutionIdT>(value);
66 }
67 template <typename PipelineExecutionIdT = Aws::String>
69 SetPipelineExecutionId(std::forward<PipelineExecutionIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_pipelineName;
75
76 Aws::String m_pipelineExecutionId;
77 bool m_pipelineNameHasBeenSet = false;
78 bool m_pipelineExecutionIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CodePipeline
83} // namespace Aws
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetPipelineExecutionRequest & WithPipelineName(PipelineNameT &&value)
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
AWS_CODEPIPELINE_API GetPipelineExecutionRequest()=default
GetPipelineExecutionRequest & WithPipelineExecutionId(PipelineExecutionIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String