AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
DeleteConnectorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnectRequest.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace KafkaConnect {
18namespace Model {
19
23 public:
24 AWS_KAFKACONNECT_API DeleteConnectorRequest() = 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 "DeleteConnector"; }
31
32 AWS_KAFKACONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
41 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
42 template <typename ConnectorArnT = Aws::String>
43 void SetConnectorArn(ConnectorArnT&& value) {
44 m_connectorArnHasBeenSet = true;
45 m_connectorArn = std::forward<ConnectorArnT>(value);
46 }
47 template <typename ConnectorArnT = Aws::String>
48 DeleteConnectorRequest& WithConnectorArn(ConnectorArnT&& value) {
49 SetConnectorArn(std::forward<ConnectorArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
59 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
60 template <typename CurrentVersionT = Aws::String>
61 void SetCurrentVersion(CurrentVersionT&& value) {
62 m_currentVersionHasBeenSet = true;
63 m_currentVersion = std::forward<CurrentVersionT>(value);
64 }
65 template <typename CurrentVersionT = Aws::String>
66 DeleteConnectorRequest& WithCurrentVersion(CurrentVersionT&& value) {
67 SetCurrentVersion(std::forward<CurrentVersionT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_connectorArn;
73
74 Aws::String m_currentVersion;
75 bool m_connectorArnHasBeenSet = false;
76 bool m_currentVersionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace KafkaConnect
81} // namespace Aws
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
DeleteConnectorRequest & WithConnectorArn(ConnectorArnT &&value)
DeleteConnectorRequest & WithCurrentVersion(CurrentVersionT &&value)
AWS_KAFKACONNECT_API DeleteConnectorRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String