AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectivityRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/model/ConnectivityInfo.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kafka
16{
17namespace Model
18{
19
26 {
27 public:
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 "UpdateConnectivity"; }
35
36 AWS_KAFKA_API Aws::String SerializePayload() const override;
37
38
40
46 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
47 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
48 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
49 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
50 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
51 inline UpdateConnectivityRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
52 inline UpdateConnectivityRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
53 inline UpdateConnectivityRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
55
57
62 inline const ConnectivityInfo& GetConnectivityInfo() const{ return m_connectivityInfo; }
63 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
64 inline void SetConnectivityInfo(const ConnectivityInfo& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = value; }
65 inline void SetConnectivityInfo(ConnectivityInfo&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::move(value); }
67 inline UpdateConnectivityRequest& WithConnectivityInfo(ConnectivityInfo&& value) { SetConnectivityInfo(std::move(value)); return *this;}
69
71
79 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
80 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
81 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
82 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
83 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
84 inline UpdateConnectivityRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
85 inline UpdateConnectivityRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
86 inline UpdateConnectivityRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
88 private:
89
90 Aws::String m_clusterArn;
91 bool m_clusterArnHasBeenSet = false;
92
93 ConnectivityInfo m_connectivityInfo;
94 bool m_connectivityInfoHasBeenSet = false;
95
96 Aws::String m_currentVersion;
97 bool m_currentVersionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Kafka
102} // namespace Aws
UpdateConnectivityRequest & WithClusterArn(Aws::String &&value)
UpdateConnectivityRequest & WithConnectivityInfo(const ConnectivityInfo &value)
UpdateConnectivityRequest & WithConnectivityInfo(ConnectivityInfo &&value)
UpdateConnectivityRequest & WithCurrentVersion(Aws::String &&value)
UpdateConnectivityRequest & WithCurrentVersion(const char *value)
UpdateConnectivityRequest & WithClusterArn(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateConnectivityRequest & WithCurrentVersion(const Aws::String &value)
void SetConnectivityInfo(const ConnectivityInfo &value)
UpdateConnectivityRequest & WithClusterArn(const Aws::String &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String