AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectorRequest.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/KafkaConnectRequest.h>
9#include <aws/kafkaconnect/model/CapacityUpdate.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace KafkaConnect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_KAFKACONNECT_API UpdateConnectorRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnector"; }
36
37 AWS_KAFKACONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const CapacityUpdate& GetCapacity() const{ return m_capacity; }
47 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
48 inline void SetCapacity(const CapacityUpdate& value) { m_capacityHasBeenSet = true; m_capacity = value; }
49 inline void SetCapacity(CapacityUpdate&& value) { m_capacityHasBeenSet = true; m_capacity = std::move(value); }
50 inline UpdateConnectorRequest& WithCapacity(const CapacityUpdate& value) { SetCapacity(value); return *this;}
51 inline UpdateConnectorRequest& WithCapacity(CapacityUpdate&& value) { SetCapacity(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; }
59 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
60 inline void SetConnectorArn(const Aws::String& value) { m_connectorArnHasBeenSet = true; m_connectorArn = value; }
61 inline void SetConnectorArn(Aws::String&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::move(value); }
62 inline void SetConnectorArn(const char* value) { m_connectorArnHasBeenSet = true; m_connectorArn.assign(value); }
63 inline UpdateConnectorRequest& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
64 inline UpdateConnectorRequest& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
65 inline UpdateConnectorRequest& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
67
69
72 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
73 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
74 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
75 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
76 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
77 inline UpdateConnectorRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
78 inline UpdateConnectorRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
79 inline UpdateConnectorRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
81 private:
82
83 CapacityUpdate m_capacity;
84 bool m_capacityHasBeenSet = false;
85
86 Aws::String m_connectorArn;
87 bool m_connectorArnHasBeenSet = false;
88
89 Aws::String m_currentVersion;
90 bool m_currentVersionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace KafkaConnect
95} // namespace Aws
UpdateConnectorRequest & WithCapacity(const CapacityUpdate &value)
UpdateConnectorRequest & WithCurrentVersion(const Aws::String &value)
UpdateConnectorRequest & WithConnectorArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateConnectorRequest & WithConnectorArn(const char *value)
UpdateConnectorRequest & WithCurrentVersion(Aws::String &&value)
UpdateConnectorRequest & WithCurrentVersion(const char *value)
UpdateConnectorRequest & WithConnectorArn(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::String SerializePayload() const override
UpdateConnectorRequest & WithCapacity(CapacityUpdate &&value)
AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String