AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApacheKafkaClusterDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/model/VpcDescription.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 KafkaConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KAFKACONNECT_API ApacheKafkaClusterDescription();
39 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBootstrapServers() const{ return m_bootstrapServers; }
47 inline bool BootstrapServersHasBeenSet() const { return m_bootstrapServersHasBeenSet; }
48 inline void SetBootstrapServers(const Aws::String& value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers = value; }
49 inline void SetBootstrapServers(Aws::String&& value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers = std::move(value); }
50 inline void SetBootstrapServers(const char* value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers.assign(value); }
52 inline ApacheKafkaClusterDescription& WithBootstrapServers(Aws::String&& value) { SetBootstrapServers(std::move(value)); return *this;}
53 inline ApacheKafkaClusterDescription& WithBootstrapServers(const char* value) { SetBootstrapServers(value); return *this;}
55
57
61 inline const VpcDescription& GetVpc() const{ return m_vpc; }
62 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
63 inline void SetVpc(const VpcDescription& value) { m_vpcHasBeenSet = true; m_vpc = value; }
64 inline void SetVpc(VpcDescription&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
65 inline ApacheKafkaClusterDescription& WithVpc(const VpcDescription& value) { SetVpc(value); return *this;}
66 inline ApacheKafkaClusterDescription& WithVpc(VpcDescription&& value) { SetVpc(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_bootstrapServers;
71 bool m_bootstrapServersHasBeenSet = false;
72
73 VpcDescription m_vpc;
74 bool m_vpcHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace KafkaConnect
79} // namespace Aws
AWS_KAFKACONNECT_API ApacheKafkaClusterDescription(Aws::Utils::Json::JsonView jsonValue)
ApacheKafkaClusterDescription & WithVpc(VpcDescription &&value)
ApacheKafkaClusterDescription & WithBootstrapServers(Aws::String &&value)
ApacheKafkaClusterDescription & WithVpc(const VpcDescription &value)
AWS_KAFKACONNECT_API ApacheKafkaClusterDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ApacheKafkaClusterDescription & WithBootstrapServers(const char *value)
ApacheKafkaClusterDescription & WithBootstrapServers(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue