AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; }
43 inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); }
44 inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); }
45 inline CancelFlowExecutionsRequest& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;}
46 inline CancelFlowExecutionsRequest& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;}
47 inline CancelFlowExecutionsRequest& WithFlowName(const char* value) { SetFlowName(value); return *this;}
49
51
56 inline const Aws::Vector<Aws::String>& GetExecutionIds() const{ return m_executionIds; }
57 inline bool ExecutionIdsHasBeenSet() const { return m_executionIdsHasBeenSet; }
58 inline void SetExecutionIds(const Aws::Vector<Aws::String>& value) { m_executionIdsHasBeenSet = true; m_executionIds = value; }
59 inline void SetExecutionIds(Aws::Vector<Aws::String>&& value) { m_executionIdsHasBeenSet = true; m_executionIds = std::move(value); }
61 inline CancelFlowExecutionsRequest& WithExecutionIds(Aws::Vector<Aws::String>&& value) { SetExecutionIds(std::move(value)); return *this;}
62 inline CancelFlowExecutionsRequest& AddExecutionIds(const Aws::String& value) { m_executionIdsHasBeenSet = true; m_executionIds.push_back(value); return *this; }
63 inline CancelFlowExecutionsRequest& AddExecutionIds(Aws::String&& value) { m_executionIdsHasBeenSet = true; m_executionIds.push_back(std::move(value)); return *this; }
64 inline CancelFlowExecutionsRequest& AddExecutionIds(const char* value) { m_executionIdsHasBeenSet = true; m_executionIds.push_back(value); return *this; }
66 private:
67
68 Aws::String m_flowName;
69 bool m_flowNameHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_executionIds;
72 bool m_executionIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Appflow
77} // namespace Aws
CancelFlowExecutionsRequest & WithFlowName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetExecutionIds() const
CancelFlowExecutionsRequest & AddExecutionIds(Aws::String &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
CancelFlowExecutionsRequest & WithFlowName(Aws::String &&value)
CancelFlowExecutionsRequest & WithExecutionIds(Aws::Vector< Aws::String > &&value)
CancelFlowExecutionsRequest & WithExecutionIds(const Aws::Vector< Aws::String > &value)
void SetExecutionIds(Aws::Vector< Aws::String > &&value)
CancelFlowExecutionsRequest & WithFlowName(const char *value)
virtual const char * GetServiceRequestName() const override
CancelFlowExecutionsRequest & AddExecutionIds(const char *value)
void SetExecutionIds(const Aws::Vector< Aws::String > &value)
CancelFlowExecutionsRequest & AddExecutionIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector