AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KafkaCluster.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/AmazonMskCluster.h>
9#include <aws/kafka/model/KafkaClusterClientVpcConfig.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 KafkaCluster();
37 AWS_KAFKA_API KafkaCluster(Aws::Utils::Json::JsonView jsonValue);
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); }
50 inline KafkaCluster& WithAmazonMskCluster(const AmazonMskCluster& value) { SetAmazonMskCluster(value); return *this;}
51 inline KafkaCluster& WithAmazonMskCluster(AmazonMskCluster&& value) { SetAmazonMskCluster(std::move(value)); return *this;}
53
55
59 inline const KafkaClusterClientVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
60 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
61 inline void SetVpcConfig(const KafkaClusterClientVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
62 inline void SetVpcConfig(KafkaClusterClientVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
63 inline KafkaCluster& WithVpcConfig(const KafkaClusterClientVpcConfig& value) { SetVpcConfig(value); return *this;}
64 inline KafkaCluster& WithVpcConfig(KafkaClusterClientVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
66 private:
67
68 AmazonMskCluster m_amazonMskCluster;
69 bool m_amazonMskClusterHasBeenSet = false;
70
72 bool m_vpcConfigHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Kafka
77} // namespace Aws
AWS_KAFKA_API KafkaCluster(Aws::Utils::Json::JsonView jsonValue)
void SetVpcConfig(KafkaClusterClientVpcConfig &&value)
KafkaCluster & WithVpcConfig(const KafkaClusterClientVpcConfig &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
KafkaCluster & WithVpcConfig(KafkaClusterClientVpcConfig &&value)
const AmazonMskCluster & GetAmazonMskCluster() const
void SetAmazonMskCluster(AmazonMskCluster &&value)
KafkaCluster & WithAmazonMskCluster(const AmazonMskCluster &value)
void SetVpcConfig(const KafkaClusterClientVpcConfig &value)
const KafkaClusterClientVpcConfig & GetVpcConfig() const
KafkaCluster & WithAmazonMskCluster(AmazonMskCluster &&value)
void SetAmazonMskCluster(const AmazonMskCluster &value)
AWS_KAFKA_API KafkaCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue