AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClusterKafkaVersionRequest.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/ConfigurationInfo.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kafka
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateClusterKafkaVersion"; }
32
33 AWS_KAFKA_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
44 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
45 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
46 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
47 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
48 inline UpdateClusterKafkaVersionRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
49 inline UpdateClusterKafkaVersionRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
50 inline UpdateClusterKafkaVersionRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
52
54
60 inline const ConfigurationInfo& GetConfigurationInfo() const{ return m_configurationInfo; }
61 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
62 inline void SetConfigurationInfo(const ConfigurationInfo& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = value; }
63 inline void SetConfigurationInfo(ConfigurationInfo&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::move(value); }
67
69
74 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
75 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
76 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
77 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
78 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
80 inline UpdateClusterKafkaVersionRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
81 inline UpdateClusterKafkaVersionRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
83
85
90 inline const Aws::String& GetTargetKafkaVersion() const{ return m_targetKafkaVersion; }
91 inline bool TargetKafkaVersionHasBeenSet() const { return m_targetKafkaVersionHasBeenSet; }
92 inline void SetTargetKafkaVersion(const Aws::String& value) { m_targetKafkaVersionHasBeenSet = true; m_targetKafkaVersion = value; }
93 inline void SetTargetKafkaVersion(Aws::String&& value) { m_targetKafkaVersionHasBeenSet = true; m_targetKafkaVersion = std::move(value); }
94 inline void SetTargetKafkaVersion(const char* value) { m_targetKafkaVersionHasBeenSet = true; m_targetKafkaVersion.assign(value); }
97 inline UpdateClusterKafkaVersionRequest& WithTargetKafkaVersion(const char* value) { SetTargetKafkaVersion(value); return *this;}
99 private:
100
101 Aws::String m_clusterArn;
102 bool m_clusterArnHasBeenSet = false;
103
104 ConfigurationInfo m_configurationInfo;
105 bool m_configurationInfoHasBeenSet = false;
106
107 Aws::String m_currentVersion;
108 bool m_currentVersionHasBeenSet = false;
109
110 Aws::String m_targetKafkaVersion;
111 bool m_targetKafkaVersionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Kafka
116} // namespace Aws
UpdateClusterKafkaVersionRequest & WithTargetKafkaVersion(Aws::String &&value)
UpdateClusterKafkaVersionRequest & WithClusterArn(Aws::String &&value)
UpdateClusterKafkaVersionRequest & WithCurrentVersion(const char *value)
UpdateClusterKafkaVersionRequest & WithCurrentVersion(const Aws::String &value)
UpdateClusterKafkaVersionRequest & WithClusterArn(const char *value)
UpdateClusterKafkaVersionRequest & WithConfigurationInfo(const ConfigurationInfo &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateClusterKafkaVersionRequest & WithConfigurationInfo(ConfigurationInfo &&value)
UpdateClusterKafkaVersionRequest & WithClusterArn(const Aws::String &value)
UpdateClusterKafkaVersionRequest & WithTargetKafkaVersion(const Aws::String &value)
UpdateClusterKafkaVersionRequest & WithTargetKafkaVersion(const char *value)
UpdateClusterKafkaVersionRequest & WithCurrentVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String