AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteConnectorRequest.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/KafkaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace KafkaConnect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_KAFKACONNECT_API DeleteConnectorRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteConnector"; }
35
36 AWS_KAFKACONNECT_API Aws::String SerializePayload() const override;
37
38 AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; }
46 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
47 inline void SetConnectorArn(const Aws::String& value) { m_connectorArnHasBeenSet = true; m_connectorArn = value; }
48 inline void SetConnectorArn(Aws::String&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::move(value); }
49 inline void SetConnectorArn(const char* value) { m_connectorArnHasBeenSet = true; m_connectorArn.assign(value); }
50 inline DeleteConnectorRequest& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
51 inline DeleteConnectorRequest& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
52 inline DeleteConnectorRequest& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
54
56
59 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
60 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
61 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
62 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
63 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
64 inline DeleteConnectorRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
65 inline DeleteConnectorRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
66 inline DeleteConnectorRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
68 private:
69
70 Aws::String m_connectorArn;
71 bool m_connectorArnHasBeenSet = false;
72
73 Aws::String m_currentVersion;
74 bool m_currentVersionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace KafkaConnect
79} // namespace Aws
DeleteConnectorRequest & WithCurrentVersion(const char *value)
DeleteConnectorRequest & WithConnectorArn(const Aws::String &value)
DeleteConnectorRequest & WithCurrentVersion(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
DeleteConnectorRequest & WithCurrentVersion(const Aws::String &value)
DeleteConnectorRequest & WithConnectorArn(Aws::String &&value)
DeleteConnectorRequest & WithConnectorArn(const char *value)
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