AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BrokerSoftwareInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
31 public:
32 AWS_KAFKA_API BrokerSoftwareInfo() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetConfigurationArn() const { return m_configurationArn; }
45 inline bool ConfigurationArnHasBeenSet() const { return m_configurationArnHasBeenSet; }
46 template <typename ConfigurationArnT = Aws::String>
47 void SetConfigurationArn(ConfigurationArnT&& value) {
48 m_configurationArnHasBeenSet = true;
49 m_configurationArn = std::forward<ConfigurationArnT>(value);
50 }
51 template <typename ConfigurationArnT = Aws::String>
52 BrokerSoftwareInfo& WithConfigurationArn(ConfigurationArnT&& value) {
53 SetConfigurationArn(std::forward<ConfigurationArnT>(value));
54 return *this;
55 }
57
59
65 inline long long GetConfigurationRevision() const { return m_configurationRevision; }
66 inline bool ConfigurationRevisionHasBeenSet() const { return m_configurationRevisionHasBeenSet; }
67 inline void SetConfigurationRevision(long long value) {
68 m_configurationRevisionHasBeenSet = true;
69 m_configurationRevision = value;
70 }
73 return *this;
74 }
76
78
83 inline const Aws::String& GetKafkaVersion() const { return m_kafkaVersion; }
84 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
85 template <typename KafkaVersionT = Aws::String>
86 void SetKafkaVersion(KafkaVersionT&& value) {
87 m_kafkaVersionHasBeenSet = true;
88 m_kafkaVersion = std::forward<KafkaVersionT>(value);
89 }
90 template <typename KafkaVersionT = Aws::String>
91 BrokerSoftwareInfo& WithKafkaVersion(KafkaVersionT&& value) {
92 SetKafkaVersion(std::forward<KafkaVersionT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_configurationArn;
98
99 long long m_configurationRevision{0};
100
101 Aws::String m_kafkaVersion;
102 bool m_configurationArnHasBeenSet = false;
103 bool m_configurationRevisionHasBeenSet = false;
104 bool m_kafkaVersionHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Kafka
109} // namespace Aws
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKafkaVersion(KafkaVersionT &&value)
BrokerSoftwareInfo & WithConfigurationRevision(long long value)
AWS_KAFKA_API BrokerSoftwareInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
BrokerSoftwareInfo & WithConfigurationArn(ConfigurationArnT &&value)
BrokerSoftwareInfo & WithKafkaVersion(KafkaVersionT &&value)
AWS_KAFKA_API BrokerSoftwareInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API BrokerSoftwareInfo()=default
const Aws::String & GetKafkaVersion() const
void SetConfigurationArn(ConfigurationArnT &&value)
const Aws::String & GetConfigurationArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue