AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ControllerNodeInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
36 {
37 public:
38 AWS_KAFKA_API ControllerNodeInfo() = default;
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<Aws::String>& GetEndpoints() const { return m_endpoints; }
51 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
52 template<typename EndpointsT = Aws::Vector<Aws::String>>
53 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
54 template<typename EndpointsT = Aws::Vector<Aws::String>>
55 ControllerNodeInfo& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
56 template<typename EndpointsT = Aws::String>
57 ControllerNodeInfo& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
59 private:
60
61 Aws::Vector<Aws::String> m_endpoints;
62 bool m_endpointsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace Kafka
67} // namespace Aws
AWS_KAFKA_API ControllerNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEndpoints() const
AWS_KAFKA_API ControllerNodeInfo()=default
ControllerNodeInfo & WithEndpoints(EndpointsT &&value)
AWS_KAFKA_API ControllerNodeInfo(Aws::Utils::Json::JsonView jsonValue)
ControllerNodeInfo & AddEndpoints(EndpointsT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue