AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_KAFKA_API UpdateClusterConfigurationRequest() = default;
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 template<typename ClusterArnT = Aws::String>
46 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
47 template<typename ClusterArnT = Aws::String>
48 UpdateClusterConfigurationRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
50
52
58 inline const ConfigurationInfo& GetConfigurationInfo() const { return m_configurationInfo; }
59 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
60 template<typename ConfigurationInfoT = ConfigurationInfo>
61 void SetConfigurationInfo(ConfigurationInfoT&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::forward<ConfigurationInfoT>(value); }
62 template<typename ConfigurationInfoT = ConfigurationInfo>
63 UpdateClusterConfigurationRequest& WithConfigurationInfo(ConfigurationInfoT&& value) { SetConfigurationInfo(std::forward<ConfigurationInfoT>(value)); return *this;}
65
67
73 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
74 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
75 template<typename CurrentVersionT = Aws::String>
76 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
77 template<typename CurrentVersionT = Aws::String>
78 UpdateClusterConfigurationRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
80 private:
81
82 Aws::String m_clusterArn;
83 bool m_clusterArnHasBeenSet = false;
84
85 ConfigurationInfo m_configurationInfo;
86 bool m_configurationInfoHasBeenSet = false;
87
88 Aws::String m_currentVersion;
89 bool m_currentVersionHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Kafka
94} // namespace Aws
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateClusterConfigurationRequest & WithClusterArn(ClusterArnT &&value)
UpdateClusterConfigurationRequest & WithConfigurationInfo(ConfigurationInfoT &&value)
UpdateClusterConfigurationRequest & WithCurrentVersion(CurrentVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String