AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdatePipelineRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipelineRequest.h>
8#include <aws/codepipeline/CodePipeline_EXPORTS.h>
9#include <aws/codepipeline/model/PipelineDeclaration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodePipeline {
15namespace Model {
16
24 public:
25 AWS_CODEPIPELINE_API UpdatePipelineRequest() = 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 "UpdatePipeline"; }
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 PipelineDeclaration& GetPipeline() const { return m_pipeline; }
42 inline bool PipelineHasBeenSet() const { return m_pipelineHasBeenSet; }
43 template <typename PipelineT = PipelineDeclaration>
44 void SetPipeline(PipelineT&& value) {
45 m_pipelineHasBeenSet = true;
46 m_pipeline = std::forward<PipelineT>(value);
47 }
48 template <typename PipelineT = PipelineDeclaration>
49 UpdatePipelineRequest& WithPipeline(PipelineT&& value) {
50 SetPipeline(std::forward<PipelineT>(value));
51 return *this;
52 }
54 private:
55 PipelineDeclaration m_pipeline;
56 bool m_pipelineHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace CodePipeline
61} // namespace Aws
UpdatePipelineRequest & WithPipeline(PipelineT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
const PipelineDeclaration & GetPipeline() const
AWS_CODEPIPELINE_API UpdatePipelineRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String