AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClusterConfigurationRequest.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 "UpdateClusterConfiguration"; }
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 UpdateClusterConfigurationRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
49 inline UpdateClusterConfigurationRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
50 inline UpdateClusterConfigurationRequest& 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
75 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
76 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
77 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
78 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
79 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
81 inline UpdateClusterConfigurationRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
82 inline UpdateClusterConfigurationRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
84 private:
85
86 Aws::String m_clusterArn;
87 bool m_clusterArnHasBeenSet = false;
88
89 ConfigurationInfo m_configurationInfo;
90 bool m_configurationInfoHasBeenSet = false;
91
92 Aws::String m_currentVersion;
93 bool m_currentVersionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Kafka
98} // namespace Aws
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateClusterConfigurationRequest & WithClusterArn(const Aws::String &value)
UpdateClusterConfigurationRequest & WithConfigurationInfo(ConfigurationInfo &&value)
UpdateClusterConfigurationRequest & WithClusterArn(const char *value)
UpdateClusterConfigurationRequest & WithCurrentVersion(const Aws::String &value)
UpdateClusterConfigurationRequest & WithConfigurationInfo(const ConfigurationInfo &value)
UpdateClusterConfigurationRequest & WithCurrentVersion(const char *value)
UpdateClusterConfigurationRequest & WithCurrentVersion(Aws::String &&value)
UpdateClusterConfigurationRequest & WithClusterArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String