AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ApacheKafkaCluster.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/Vpc.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 ApacheKafkaCluster() = default;
37 AWS_KAFKACONNECT_API ApacheKafkaCluster(Aws::Utils::Json::JsonView jsonValue);
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 template<typename BootstrapServersT = Aws::String>
49 void SetBootstrapServers(BootstrapServersT&& value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers = std::forward<BootstrapServersT>(value); }
50 template<typename BootstrapServersT = Aws::String>
51 ApacheKafkaCluster& WithBootstrapServers(BootstrapServersT&& value) { SetBootstrapServers(std::forward<BootstrapServersT>(value)); return *this;}
53
55
59 inline const Vpc& GetVpc() const { return m_vpc; }
60 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
61 template<typename VpcT = Vpc>
62 void SetVpc(VpcT&& value) { m_vpcHasBeenSet = true; m_vpc = std::forward<VpcT>(value); }
63 template<typename VpcT = Vpc>
64 ApacheKafkaCluster& WithVpc(VpcT&& value) { SetVpc(std::forward<VpcT>(value)); return *this;}
66 private:
67
68 Aws::String m_bootstrapServers;
69 bool m_bootstrapServersHasBeenSet = false;
70
71 Vpc m_vpc;
72 bool m_vpcHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace KafkaConnect
77} // namespace Aws
ApacheKafkaCluster & WithBootstrapServers(BootstrapServersT &&value)
ApacheKafkaCluster & WithVpc(VpcT &&value)
AWS_KAFKACONNECT_API ApacheKafkaCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBootstrapServers(BootstrapServersT &&value)
AWS_KAFKACONNECT_API ApacheKafkaCluster(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API ApacheKafkaCluster()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue