AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KafkaClusterSummary.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/AmazonMskCluster.h>
9#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_KAFKA_API KafkaClusterSummary();
39 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AmazonMskCluster& GetAmazonMskCluster() const{ return m_amazonMskCluster; }
47 inline bool AmazonMskClusterHasBeenSet() const { return m_amazonMskClusterHasBeenSet; }
48 inline void SetAmazonMskCluster(const AmazonMskCluster& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = value; }
49 inline void SetAmazonMskCluster(AmazonMskCluster&& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = std::move(value); }
51 inline KafkaClusterSummary& WithAmazonMskCluster(AmazonMskCluster&& value) { SetAmazonMskCluster(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetKafkaClusterAlias() const{ return m_kafkaClusterAlias; }
60 inline bool KafkaClusterAliasHasBeenSet() const { return m_kafkaClusterAliasHasBeenSet; }
61 inline void SetKafkaClusterAlias(const Aws::String& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = value; }
62 inline void SetKafkaClusterAlias(Aws::String&& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = std::move(value); }
63 inline void SetKafkaClusterAlias(const char* value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias.assign(value); }
64 inline KafkaClusterSummary& WithKafkaClusterAlias(const Aws::String& value) { SetKafkaClusterAlias(value); return *this;}
65 inline KafkaClusterSummary& WithKafkaClusterAlias(Aws::String&& value) { SetKafkaClusterAlias(std::move(value)); return *this;}
66 inline KafkaClusterSummary& WithKafkaClusterAlias(const char* value) { SetKafkaClusterAlias(value); return *this;}
68 private:
69
70 AmazonMskCluster m_amazonMskCluster;
71 bool m_amazonMskClusterHasBeenSet = false;
72
73 Aws::String m_kafkaClusterAlias;
74 bool m_kafkaClusterAliasHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Kafka
79} // namespace Aws
KafkaClusterSummary & WithAmazonMskCluster(const AmazonMskCluster &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
KafkaClusterSummary & WithKafkaClusterAlias(Aws::String &&value)
void SetKafkaClusterAlias(const Aws::String &value)
const Aws::String & GetKafkaClusterAlias() const
void SetAmazonMskCluster(const AmazonMskCluster &value)
KafkaClusterSummary & WithKafkaClusterAlias(const Aws::String &value)
void SetKafkaClusterAlias(Aws::String &&value)
KafkaClusterSummary & WithAmazonMskCluster(AmazonMskCluster &&value)
KafkaClusterSummary & WithKafkaClusterAlias(const char *value)
void SetAmazonMskCluster(AmazonMskCluster &&value)
AWS_KAFKA_API KafkaClusterSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API KafkaClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const AmazonMskCluster & GetAmazonMskCluster() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue