AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePipelineRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/CodePipelineRequest.h>
9#include <aws/codepipeline/model/PipelineDeclaration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CodePipeline
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_CODEPIPELINE_API UpdatePipelineRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdatePipeline"; }
35
36 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
37
38 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const PipelineDeclaration& GetPipeline() const{ return m_pipeline; }
46 inline bool PipelineHasBeenSet() const { return m_pipelineHasBeenSet; }
47 inline void SetPipeline(const PipelineDeclaration& value) { m_pipelineHasBeenSet = true; m_pipeline = value; }
48 inline void SetPipeline(PipelineDeclaration&& value) { m_pipelineHasBeenSet = true; m_pipeline = std::move(value); }
49 inline UpdatePipelineRequest& WithPipeline(const PipelineDeclaration& value) { SetPipeline(value); return *this;}
50 inline UpdatePipelineRequest& WithPipeline(PipelineDeclaration&& value) { SetPipeline(std::move(value)); return *this;}
52 private:
53
54 PipelineDeclaration m_pipeline;
55 bool m_pipelineHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace CodePipeline
60} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdatePipelineRequest & WithPipeline(PipelineDeclaration &&value)
UpdatePipelineRequest & WithPipeline(const PipelineDeclaration &value)
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
const PipelineDeclaration & GetPipeline() const
void SetPipeline(const PipelineDeclaration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String