AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateClusterConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/ConfigurationInfo.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Kafka {
16namespace Model {
17
21 public:
22 AWS_KAFKA_API UpdateClusterConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateClusterConfiguration"; }
29
30 AWS_KAFKA_API Aws::String SerializePayload() const override;
31
33
39 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
40 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
41 template <typename ClusterArnT = Aws::String>
42 void SetClusterArn(ClusterArnT&& value) {
43 m_clusterArnHasBeenSet = true;
44 m_clusterArn = std::forward<ClusterArnT>(value);
45 }
46 template <typename ClusterArnT = Aws::String>
48 SetClusterArn(std::forward<ClusterArnT>(value));
49 return *this;
50 }
52
54
60 inline const ConfigurationInfo& GetConfigurationInfo() const { return m_configurationInfo; }
61 inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
62 template <typename ConfigurationInfoT = ConfigurationInfo>
63 void SetConfigurationInfo(ConfigurationInfoT&& value) {
64 m_configurationInfoHasBeenSet = true;
65 m_configurationInfo = std::forward<ConfigurationInfoT>(value);
66 }
67 template <typename ConfigurationInfoT = ConfigurationInfo>
69 SetConfigurationInfo(std::forward<ConfigurationInfoT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
82 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
83 template <typename CurrentVersionT = Aws::String>
84 void SetCurrentVersion(CurrentVersionT&& value) {
85 m_currentVersionHasBeenSet = true;
86 m_currentVersion = std::forward<CurrentVersionT>(value);
87 }
88 template <typename CurrentVersionT = Aws::String>
90 SetCurrentVersion(std::forward<CurrentVersionT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_clusterArn;
96
97 ConfigurationInfo m_configurationInfo;
98
99 Aws::String m_currentVersion;
100 bool m_clusterArnHasBeenSet = false;
101 bool m_configurationInfoHasBeenSet = false;
102 bool m_currentVersionHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Kafka
107} // 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