AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ApacheKafkaClusterDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
9#include <aws/kafkaconnect/model/VpcDescription.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KafkaConnect {
21namespace Model {
22
30 public:
31 AWS_KAFKACONNECT_API ApacheKafkaClusterDescription() = default;
34 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBootstrapServers() const { return m_bootstrapServers; }
41 inline bool BootstrapServersHasBeenSet() const { return m_bootstrapServersHasBeenSet; }
42 template <typename BootstrapServersT = Aws::String>
43 void SetBootstrapServers(BootstrapServersT&& value) {
44 m_bootstrapServersHasBeenSet = true;
45 m_bootstrapServers = std::forward<BootstrapServersT>(value);
46 }
47 template <typename BootstrapServersT = Aws::String>
49 SetBootstrapServers(std::forward<BootstrapServersT>(value));
50 return *this;
51 }
53
55
59 inline const VpcDescription& GetVpc() const { return m_vpc; }
60 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
61 template <typename VpcT = VpcDescription>
62 void SetVpc(VpcT&& value) {
63 m_vpcHasBeenSet = true;
64 m_vpc = std::forward<VpcT>(value);
65 }
66 template <typename VpcT = VpcDescription>
68 SetVpc(std::forward<VpcT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_bootstrapServers;
74
75 VpcDescription m_vpc;
76 bool m_bootstrapServersHasBeenSet = false;
77 bool m_vpcHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace KafkaConnect
82} // namespace Aws
AWS_KAFKACONNECT_API ApacheKafkaClusterDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API ApacheKafkaClusterDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API ApacheKafkaClusterDescription()=default
ApacheKafkaClusterDescription & WithBootstrapServers(BootstrapServersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue