AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteFlowRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Appflow {
15namespace Model {
16
20 public:
21 AWS_APPFLOW_API DeleteFlowRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteFlow"; }
28
29 AWS_APPFLOW_API Aws::String SerializePayload() const override;
30
32
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>
44 DeleteFlowRequest& WithFlowName(FlowNameT&& value) {
45 SetFlowName(std::forward<FlowNameT>(value));
46 return *this;
47 }
49
51
55 inline bool GetForceDelete() const { return m_forceDelete; }
56 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
57 inline void SetForceDelete(bool value) {
58 m_forceDeleteHasBeenSet = true;
59 m_forceDelete = value;
60 }
61 inline DeleteFlowRequest& WithForceDelete(bool value) {
62 SetForceDelete(value);
63 return *this;
64 }
66 private:
67 Aws::String m_flowName;
68
69 bool m_forceDelete{false};
70 bool m_flowNameHasBeenSet = false;
71 bool m_forceDeleteHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Appflow
76} // namespace Aws
DeleteFlowRequest & WithForceDelete(bool value)
const Aws::String & GetFlowName() const
virtual const char * GetServiceRequestName() const override
AWS_APPFLOW_API DeleteFlowRequest()=default
AWS_APPFLOW_API Aws::String SerializePayload() const override
DeleteFlowRequest & WithFlowName(FlowNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String