AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UnregisterConnectorRequest.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 UnregisterConnectorRequest() = 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 "UnregisterConnector"; }
28
29 AWS_APPFLOW_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
37 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
38 template <typename ConnectorLabelT = Aws::String>
39 void SetConnectorLabel(ConnectorLabelT&& value) {
40 m_connectorLabelHasBeenSet = true;
41 m_connectorLabel = std::forward<ConnectorLabelT>(value);
42 }
43 template <typename ConnectorLabelT = Aws::String>
45 SetConnectorLabel(std::forward<ConnectorLabelT>(value));
46 return *this;
47 }
49
51
56 inline bool GetForceDelete() const { return m_forceDelete; }
57 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
58 inline void SetForceDelete(bool value) {
59 m_forceDeleteHasBeenSet = true;
60 m_forceDelete = value;
61 }
63 SetForceDelete(value);
64 return *this;
65 }
67 private:
68 Aws::String m_connectorLabel;
69
70 bool m_forceDelete{false};
71 bool m_connectorLabelHasBeenSet = false;
72 bool m_forceDeleteHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Appflow
77} // 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