AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KafkaClusterDescription.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 <aws/kafka/model/KafkaClusterClientVpcConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kafka
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_KAFKA_API KafkaClusterDescription();
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AmazonMskCluster& GetAmazonMskCluster() const{ return m_amazonMskCluster; }
48 inline bool AmazonMskClusterHasBeenSet() const { return m_amazonMskClusterHasBeenSet; }
49 inline void SetAmazonMskCluster(const AmazonMskCluster& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = value; }
50 inline void SetAmazonMskCluster(AmazonMskCluster&& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = std::move(value); }
52 inline KafkaClusterDescription& WithAmazonMskCluster(AmazonMskCluster&& value) { SetAmazonMskCluster(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetKafkaClusterAlias() const{ return m_kafkaClusterAlias; }
61 inline bool KafkaClusterAliasHasBeenSet() const { return m_kafkaClusterAliasHasBeenSet; }
62 inline void SetKafkaClusterAlias(const Aws::String& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = value; }
63 inline void SetKafkaClusterAlias(Aws::String&& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = std::move(value); }
64 inline void SetKafkaClusterAlias(const char* value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias.assign(value); }
66 inline KafkaClusterDescription& WithKafkaClusterAlias(Aws::String&& value) { SetKafkaClusterAlias(std::move(value)); return *this;}
67 inline KafkaClusterDescription& WithKafkaClusterAlias(const char* value) { SetKafkaClusterAlias(value); return *this;}
69
71
75 inline const KafkaClusterClientVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
76 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
77 inline void SetVpcConfig(const KafkaClusterClientVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
78 inline void SetVpcConfig(KafkaClusterClientVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
80 inline KafkaClusterDescription& WithVpcConfig(KafkaClusterClientVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
82 private:
83
84 AmazonMskCluster m_amazonMskCluster;
85 bool m_amazonMskClusterHasBeenSet = false;
86
87 Aws::String m_kafkaClusterAlias;
88 bool m_kafkaClusterAliasHasBeenSet = false;
89
91 bool m_vpcConfigHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Kafka
96} // namespace Aws
KafkaClusterDescription & WithVpcConfig(KafkaClusterClientVpcConfig &&value)
void SetVpcConfig(KafkaClusterClientVpcConfig &&value)
KafkaClusterDescription & WithKafkaClusterAlias(Aws::String &&value)
KafkaClusterDescription & WithAmazonMskCluster(AmazonMskCluster &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const AmazonMskCluster & GetAmazonMskCluster() const
void SetVpcConfig(const KafkaClusterClientVpcConfig &value)
AWS_KAFKA_API KafkaClusterDescription(Aws::Utils::Json::JsonView jsonValue)
void SetAmazonMskCluster(const AmazonMskCluster &value)
KafkaClusterDescription & WithVpcConfig(const KafkaClusterClientVpcConfig &value)
KafkaClusterDescription & WithAmazonMskCluster(const AmazonMskCluster &value)
const KafkaClusterClientVpcConfig & GetVpcConfig() const
KafkaClusterDescription & WithKafkaClusterAlias(const char *value)
AWS_KAFKA_API KafkaClusterDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKafkaClusterAlias(const Aws::String &value)
KafkaClusterDescription & WithKafkaClusterAlias(const Aws::String &value)
void SetAmazonMskCluster(AmazonMskCluster &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue