AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CancelFlowExecutionsRequest.h
1
6#pragma once
7#include <aws/appflow/AppflowRequest.h>
8#include <aws/appflow/Appflow_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Appflow {
16namespace Model {
17
21 public:
22 AWS_APPFLOW_API CancelFlowExecutionsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CancelFlowExecutions"; }
29
30 AWS_APPFLOW_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetFlowName() const { return m_flowName; }
37 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
38 template <typename FlowNameT = Aws::String>
39 void SetFlowName(FlowNameT&& value) {
40 m_flowNameHasBeenSet = true;
41 m_flowName = std::forward<FlowNameT>(value);
42 }
43 template <typename FlowNameT = Aws::String>
45 SetFlowName(std::forward<FlowNameT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::Vector<Aws::String>& GetExecutionIds() const { return m_executionIds; }
57 inline bool ExecutionIdsHasBeenSet() const { return m_executionIdsHasBeenSet; }
58 template <typename ExecutionIdsT = Aws::Vector<Aws::String>>
59 void SetExecutionIds(ExecutionIdsT&& value) {
60 m_executionIdsHasBeenSet = true;
61 m_executionIds = std::forward<ExecutionIdsT>(value);
62 }
63 template <typename ExecutionIdsT = Aws::Vector<Aws::String>>
65 SetExecutionIds(std::forward<ExecutionIdsT>(value));
66 return *this;
67 }
68 template <typename ExecutionIdsT = Aws::String>
70 m_executionIdsHasBeenSet = true;
71 m_executionIds.emplace_back(std::forward<ExecutionIdsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_flowName;
77
78 Aws::Vector<Aws::String> m_executionIds;
79 bool m_flowNameHasBeenSet = false;
80 bool m_executionIdsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Appflow
85} // 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