AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KafkaVersion.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/KafkaVersionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_KAFKA_API KafkaVersion();
31 AWS_KAFKA_API KafkaVersion(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
35
37
38 inline const Aws::String& GetVersion() const{ return m_version; }
39 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
40 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
41 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
42 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
43 inline KafkaVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
44 inline KafkaVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
45 inline KafkaVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
47
49
50 inline const KafkaVersionStatus& GetStatus() const{ return m_status; }
51 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 inline void SetStatus(const KafkaVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
53 inline void SetStatus(KafkaVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
54 inline KafkaVersion& WithStatus(const KafkaVersionStatus& value) { SetStatus(value); return *this;}
55 inline KafkaVersion& WithStatus(KafkaVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
57 private:
58
59 Aws::String m_version;
60 bool m_versionHasBeenSet = false;
61
62 KafkaVersionStatus m_status;
63 bool m_statusHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Kafka
68} // namespace Aws
KafkaVersion & WithVersion(const Aws::String &value)
KafkaVersion & WithVersion(const char *value)
void SetVersion(const char *value)
KafkaVersion & WithStatus(KafkaVersionStatus &&value)
KafkaVersion & WithStatus(const KafkaVersionStatus &value)
void SetVersion(const Aws::String &value)
AWS_KAFKA_API KafkaVersion(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(Aws::String &&value)
void SetStatus(KafkaVersionStatus &&value)
const Aws::String & GetVersion() const
KafkaVersion & WithVersion(Aws::String &&value)
const KafkaVersionStatus & GetStatus() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const KafkaVersionStatus &value)
AWS_KAFKA_API KafkaVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue