AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CancelFlowExecutionsRequest.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/AppflowRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Appflow
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPFLOW_API CancelFlowExecutionsRequest() = 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 "CancelFlowExecutions"; }
32
33 AWS_APPFLOW_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetFlowName() const { return m_flowName; }
41 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
42 template<typename FlowNameT = Aws::String>
43 void SetFlowName(FlowNameT&& value) { m_flowNameHasBeenSet = true; m_flowName = std::forward<FlowNameT>(value); }
44 template<typename FlowNameT = Aws::String>
45 CancelFlowExecutionsRequest& WithFlowName(FlowNameT&& value) { SetFlowName(std::forward<FlowNameT>(value)); return *this;}
47
49
54 inline const Aws::Vector<Aws::String>& GetExecutionIds() const { return m_executionIds; }
55 inline bool ExecutionIdsHasBeenSet() const { return m_executionIdsHasBeenSet; }
56 template<typename ExecutionIdsT = Aws::Vector<Aws::String>>
57 void SetExecutionIds(ExecutionIdsT&& value) { m_executionIdsHasBeenSet = true; m_executionIds = std::forward<ExecutionIdsT>(value); }
58 template<typename ExecutionIdsT = Aws::Vector<Aws::String>>
59 CancelFlowExecutionsRequest& WithExecutionIds(ExecutionIdsT&& value) { SetExecutionIds(std::forward<ExecutionIdsT>(value)); return *this;}
60 template<typename ExecutionIdsT = Aws::String>
61 CancelFlowExecutionsRequest& AddExecutionIds(ExecutionIdsT&& value) { m_executionIdsHasBeenSet = true; m_executionIds.emplace_back(std::forward<ExecutionIdsT>(value)); return *this; }
63 private:
64
65 Aws::String m_flowName;
66 bool m_flowNameHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_executionIds;
69 bool m_executionIdsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Appflow
74} // namespace Aws
AWS_APPFLOW_API CancelFlowExecutionsRequest()=default
CancelFlowExecutionsRequest & WithFlowName(FlowNameT &&value)
CancelFlowExecutionsRequest & AddExecutionIds(ExecutionIdsT &&value)
const Aws::Vector< Aws::String > & GetExecutionIds() const
CancelFlowExecutionsRequest & WithExecutionIds(ExecutionIdsT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector