AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetPipelineDefinitionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/datapipeline/DataPipeline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DataPipeline {
15namespace Model {
16
24 public:
25 AWS_DATAPIPELINE_API GetPipelineDefinitionRequest() = 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 "GetPipelineDefinition"; }
32
33 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
34
35 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
42 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
43 template <typename PipelineIdT = Aws::String>
44 void SetPipelineId(PipelineIdT&& value) {
45 m_pipelineIdHasBeenSet = true;
46 m_pipelineId = std::forward<PipelineIdT>(value);
47 }
48 template <typename PipelineIdT = Aws::String>
50 SetPipelineId(std::forward<PipelineIdT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetVersion() const { return m_version; }
62 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
63 template <typename VersionT = Aws::String>
64 void SetVersion(VersionT&& value) {
65 m_versionHasBeenSet = true;
66 m_version = std::forward<VersionT>(value);
67 }
68 template <typename VersionT = Aws::String>
70 SetVersion(std::forward<VersionT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_pipelineId;
76
77 Aws::String m_version;
78 bool m_pipelineIdHasBeenSet = false;
79 bool m_versionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace DataPipeline
84} // namespace Aws
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetPipelineDefinitionRequest & WithPipelineId(PipelineIdT &&value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
AWS_DATAPIPELINE_API GetPipelineDefinitionRequest()=default
GetPipelineDefinitionRequest & WithVersion(VersionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String