AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnregisterConnectorRequest.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 <utility>
11
12namespace Aws
13{
14namespace Appflow
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPFLOW_API UnregisterConnectorRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UnregisterConnector"; }
31
32 AWS_APPFLOW_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
41 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
42 template<typename ConnectorLabelT = Aws::String>
43 void SetConnectorLabel(ConnectorLabelT&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::forward<ConnectorLabelT>(value); }
44 template<typename ConnectorLabelT = Aws::String>
45 UnregisterConnectorRequest& WithConnectorLabel(ConnectorLabelT&& value) { SetConnectorLabel(std::forward<ConnectorLabelT>(value)); return *this;}
47
49
54 inline bool GetForceDelete() const { return m_forceDelete; }
55 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
56 inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
57 inline UnregisterConnectorRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
59 private:
60
61 Aws::String m_connectorLabel;
62 bool m_connectorLabelHasBeenSet = false;
63
64 bool m_forceDelete{false};
65 bool m_forceDeleteHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Appflow
70} // namespace Aws
UnregisterConnectorRequest & WithForceDelete(bool value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
AWS_APPFLOW_API UnregisterConnectorRequest()=default
virtual const char * GetServiceRequestName() const override
UnregisterConnectorRequest & WithConnectorLabel(ConnectorLabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String