AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigurationArn(const Aws::String& value) { m_configurationArnHasBeenSet = true; m_configurationArn = value; }
53 inline void SetConfigurationArn(Aws::String&& value) { m_configurationArnHasBeenSet = true; m_configurationArn = std::move(value); }
54 inline void SetConfigurationArn(const char* value) { m_configurationArnHasBeenSet = true; m_configurationArn.assign(value); }
55 inline BrokerSoftwareInfo& WithConfigurationArn(const Aws::String& value) { SetConfigurationArn(value); return *this;}
56 inline BrokerSoftwareInfo& WithConfigurationArn(Aws::String&& value) { SetConfigurationArn(std::move(value)); return *this;}
57 inline BrokerSoftwareInfo& WithConfigurationArn(const char* value) { SetConfigurationArn(value); return *this;}
59
61
67 inline long long GetConfigurationRevision() const{ return m_configurationRevision; }
68 inline bool ConfigurationRevisionHasBeenSet() const { return m_configurationRevisionHasBeenSet; }
69 inline void SetConfigurationRevision(long long value) { m_configurationRevisionHasBeenSet = true; m_configurationRevision = value; }
70 inline BrokerSoftwareInfo& WithConfigurationRevision(long long value) { SetConfigurationRevision(value); return *this;}
72
74
79 inline const Aws::String& GetKafkaVersion() const{ return m_kafkaVersion; }
80 inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
81 inline void SetKafkaVersion(const Aws::String& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = value; }
82 inline void SetKafkaVersion(Aws::String&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::move(value); }
83 inline void SetKafkaVersion(const char* value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion.assign(value); }
84 inline BrokerSoftwareInfo& WithKafkaVersion(const Aws::String& value) { SetKafkaVersion(value); return *this;}
85 inline BrokerSoftwareInfo& WithKafkaVersion(Aws::String&& value) { SetKafkaVersion(std::move(value)); return *this;}
86 inline BrokerSoftwareInfo& WithKafkaVersion(const char* value) { SetKafkaVersion(value); return *this;}
88 private:
89
90 Aws::String m_configurationArn;
91 bool m_configurationArnHasBeenSet = false;
92
93 long long m_configurationRevision;
94 bool m_configurationRevisionHasBeenSet = false;
95
96 Aws::String m_kafkaVersion;
97 bool m_kafkaVersionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Kafka
102} // namespace Aws
BrokerSoftwareInfo & WithKafkaVersion(const char *value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
BrokerSoftwareInfo & WithConfigurationArn(Aws::String &&value)
void SetKafkaVersion(const Aws::String &value)
BrokerSoftwareInfo & WithConfigurationRevision(long long value)
AWS_KAFKA_API BrokerSoftwareInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
BrokerSoftwareInfo & WithConfigurationArn(const Aws::String &value)
void SetConfigurationArn(Aws::String &&value)
BrokerSoftwareInfo & WithKafkaVersion(Aws::String &&value)
void SetConfigurationArn(const char *value)
AWS_KAFKA_API BrokerSoftwareInfo(Aws::Utils::Json::JsonView jsonValue)
BrokerSoftwareInfo & WithKafkaVersion(const Aws::String &value)
void SetKafkaVersion(Aws::String &&value)
BrokerSoftwareInfo & WithConfigurationArn(const char *value)
const Aws::String & GetKafkaVersion() const
const Aws::String & GetConfigurationArn() const
void SetConfigurationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue