AWS SDK for C++  1.8.129
AWS SDK for C++
DeactivatePipelineRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DataPipeline
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeactivatePipeline"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
44 
48  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
49 
53  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
54 
58  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
59 
63  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
64 
68  inline DeactivatePipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
69 
73  inline DeactivatePipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
74 
78  inline DeactivatePipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
79 
80 
86  inline bool GetCancelActive() const{ return m_cancelActive; }
87 
93  inline bool CancelActiveHasBeenSet() const { return m_cancelActiveHasBeenSet; }
94 
100  inline void SetCancelActive(bool value) { m_cancelActiveHasBeenSet = true; m_cancelActive = value; }
101 
107  inline DeactivatePipelineRequest& WithCancelActive(bool value) { SetCancelActive(value); return *this;}
108 
109  private:
110 
111  Aws::String m_pipelineId;
112  bool m_pipelineIdHasBeenSet;
113 
114  bool m_cancelActive;
115  bool m_cancelActiveHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace DataPipeline
120 } // namespace Aws
Aws::DataPipeline::Model::DeactivatePipelineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeactivatePipelineRequest.h:33
Aws::DataPipeline::Model::DeactivatePipelineRequest::WithPipelineId
DeactivatePipelineRequest & WithPipelineId(Aws::String &&value)
Definition: DeactivatePipelineRequest.h:73
Aws::DataPipeline::Model::DeactivatePipelineRequest
Definition: DeactivatePipelineRequest.h:25
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::DeactivatePipelineRequest::CancelActiveHasBeenSet
bool CancelActiveHasBeenSet() const
Definition: DeactivatePipelineRequest.h:93
Aws::DataPipeline::Model::DeactivatePipelineRequest::DeactivatePipelineRequest
DeactivatePipelineRequest()
Aws::DataPipeline::Model::DeactivatePipelineRequest::GetCancelActive
bool GetCancelActive() const
Definition: DeactivatePipelineRequest.h:86
Aws::DataPipeline::Model::DeactivatePipelineRequest::WithPipelineId
DeactivatePipelineRequest & WithPipelineId(const Aws::String &value)
Definition: DeactivatePipelineRequest.h:68
Aws::DataPipeline::Model::DeactivatePipelineRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: DeactivatePipelineRequest.h:58
Aws::DataPipeline::Model::DeactivatePipelineRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::DeactivatePipelineRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: DeactivatePipelineRequest.h:53
Aws::DataPipeline::Model::DeactivatePipelineRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: DeactivatePipelineRequest.h:48
Aws::DataPipeline::Model::DeactivatePipelineRequest::WithCancelActive
DeactivatePipelineRequest & WithCancelActive(bool value)
Definition: DeactivatePipelineRequest.h:107
DataPipelineRequest.h
Aws::DataPipeline::Model::DeactivatePipelineRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: DeactivatePipelineRequest.h:43
AWSString.h
Aws::DataPipeline::Model::DeactivatePipelineRequest::WithPipelineId
DeactivatePipelineRequest & WithPipelineId(const char *value)
Definition: DeactivatePipelineRequest.h:78
Aws::DataPipeline::Model::DeactivatePipelineRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: DeactivatePipelineRequest.h:63
Aws
Definition: AccessManagementClient.h:15
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::DeactivatePipelineRequest::SetCancelActive
void SetCancelActive(bool value)
Definition: DeactivatePipelineRequest.h:100
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::DeactivatePipelineRequest::SerializePayload
Aws::String SerializePayload() const override