AWS SDK for C++  1.9.154
AWS SDK for C++
KafkaVersion.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
28  {
29  public:
34 
35 
36 
37  inline const Aws::String& GetVersion() const{ return m_version; }
38 
39 
40  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
41 
42 
43  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
44 
45 
46  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
47 
48 
49  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
50 
51 
52  inline KafkaVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
53 
54 
55  inline KafkaVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
56 
57 
58  inline KafkaVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
59 
60 
61 
62  inline const KafkaVersionStatus& GetStatus() const{ return m_status; }
63 
64 
65  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 
67 
68  inline void SetStatus(const KafkaVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
69 
70 
71  inline void SetStatus(KafkaVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
72 
73 
74  inline KafkaVersion& WithStatus(const KafkaVersionStatus& value) { SetStatus(value); return *this;}
75 
76 
77  inline KafkaVersion& WithStatus(KafkaVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
78 
79  private:
80 
81  Aws::String m_version;
82  bool m_versionHasBeenSet;
83 
84  KafkaVersionStatus m_status;
85  bool m_statusHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace Kafka
90 } // namespace Aws
Aws::Kafka::Model::KafkaVersion::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: KafkaVersion.h:40
Aws::Kafka::Model::KafkaVersion::KafkaVersion
KafkaVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::KafkaVersion::GetStatus
const KafkaVersionStatus & GetStatus() const
Definition: KafkaVersion.h:62
Aws::Kafka::Model::KafkaVersion
Definition: KafkaVersion.h:28
Aws::Kafka::Model::KafkaVersion::SetVersion
void SetVersion(const char *value)
Definition: KafkaVersion.h:49
Aws::Kafka::Model::KafkaVersion::SetVersion
void SetVersion(Aws::String &&value)
Definition: KafkaVersion.h:46
Aws::Kafka::Model::KafkaVersion::operator=
KafkaVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::KafkaVersion::GetVersion
const Aws::String & GetVersion() const
Definition: KafkaVersion.h:37
Aws::Kafka::Model::KafkaVersion::WithVersion
KafkaVersion & WithVersion(Aws::String &&value)
Definition: KafkaVersion.h:55
Aws::Kafka::Model::KafkaVersion::WithVersion
KafkaVersion & WithVersion(const Aws::String &value)
Definition: KafkaVersion.h:52
Aws::Kafka::Model::KafkaVersion::SetStatus
void SetStatus(KafkaVersionStatus &&value)
Definition: KafkaVersion.h:71
Aws::Kafka::Model::KafkaVersion::WithStatus
KafkaVersion & WithStatus(KafkaVersionStatus &&value)
Definition: KafkaVersion.h:77
Aws::Kafka::Model::KafkaVersion::WithStatus
KafkaVersion & WithStatus(const KafkaVersionStatus &value)
Definition: KafkaVersion.h:74
KafkaVersionStatus.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::KafkaVersion::KafkaVersion
KafkaVersion()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::KafkaVersion::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: KafkaVersion.h:65
Aws::Kafka::Model::KafkaVersion::SetVersion
void SetVersion(const Aws::String &value)
Definition: KafkaVersion.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::KafkaVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::KafkaVersion::SetStatus
void SetStatus(const KafkaVersionStatus &value)
Definition: KafkaVersion.h:68
Aws::Kafka::Model::KafkaVersionStatus
KafkaVersionStatus
Definition: KafkaVersionStatus.h:17
Aws::Kafka::Model::KafkaVersion::WithVersion
KafkaVersion & WithVersion(const char *value)
Definition: KafkaVersion.h:58