AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BrokerSoftwareInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KAFKA_API BrokerSoftwareInfo() = default;
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetConfigurationArn() const { return m_configurationArn; }
51 inline bool ConfigurationArnHasBeenSet() const { return m_configurationArnHasBeenSet; }
52 template<typename ConfigurationArnT = Aws::String>
53 void SetConfigurationArn(ConfigurationArnT&& value) { m_configurationArnHasBeenSet = true; m_configurationArn = std::forward<ConfigurationArnT>(value); }
54 template<typename ConfigurationArnT = Aws::String>
55 BrokerSoftwareInfo& WithConfigurationArn(ConfigurationArnT&& value) { SetConfigurationArn(std::forward<ConfigurationArnT>(value)); return *this;}
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) { m_configurationRevisionHasBeenSet = true; m_configurationRevision = value; }
68 inline BrokerSoftwareInfo& WithConfigurationRevision(long long value) { SetConfigurationRevision(value); return *this;}
70
72
77 inline const Aws::String& GetKafkaVersion() const { return m_kafkaVersion; }
78 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
79 template<typename KafkaVersionT = Aws::String>
80 void SetKafkaVersion(KafkaVersionT&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::forward<KafkaVersionT>(value); }
81 template<typename KafkaVersionT = Aws::String>
82 BrokerSoftwareInfo& WithKafkaVersion(KafkaVersionT&& value) { SetKafkaVersion(std::forward<KafkaVersionT>(value)); return *this;}
84 private:
85
86 Aws::String m_configurationArn;
87 bool m_configurationArnHasBeenSet = false;
88
89 long long m_configurationRevision{0};
90 bool m_configurationRevisionHasBeenSet = false;
91
92 Aws::String m_kafkaVersion;
93 bool m_kafkaVersionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Kafka
98} // 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