AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeactivatePipelineRequest.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
23 public:
24 AWS_DATAPIPELINE_API DeactivatePipelineRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeactivatePipeline"; }
31
32 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
33
34 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
41 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
42 template <typename PipelineIdT = Aws::String>
43 void SetPipelineId(PipelineIdT&& value) {
44 m_pipelineIdHasBeenSet = true;
45 m_pipelineId = std::forward<PipelineIdT>(value);
46 }
47 template <typename PipelineIdT = Aws::String>
49 SetPipelineId(std::forward<PipelineIdT>(value));
50 return *this;
51 }
53
55
60 inline bool GetCancelActive() const { return m_cancelActive; }
61 inline bool CancelActiveHasBeenSet() const { return m_cancelActiveHasBeenSet; }
62 inline void SetCancelActive(bool value) {
63 m_cancelActiveHasBeenSet = true;
64 m_cancelActive = value;
65 }
67 SetCancelActive(value);
68 return *this;
69 }
71 private:
72 Aws::String m_pipelineId;
73
74 bool m_cancelActive{false};
75 bool m_pipelineIdHasBeenSet = false;
76 bool m_cancelActiveHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DataPipeline
81} // namespace Aws
DeactivatePipelineRequest & WithCancelActive(bool value)
DeactivatePipelineRequest & WithPipelineId(PipelineIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAPIPELINE_API DeactivatePipelineRequest()=default
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATAPIPELINE_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