AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
53 inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
54 inline ControllerNodeInfo& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
55 inline ControllerNodeInfo& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
56 inline ControllerNodeInfo& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
57 inline ControllerNodeInfo& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
58 inline ControllerNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
60 private:
61
62 Aws::Vector<Aws::String> m_endpoints;
63 bool m_endpointsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Kafka
68} // namespace Aws
void SetEndpoints(Aws::Vector< Aws::String > &&value)
AWS_KAFKA_API ControllerNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEndpoints() const
ControllerNodeInfo & WithEndpoints(const Aws::Vector< Aws::String > &value)
ControllerNodeInfo & AddEndpoints(const Aws::String &value)
ControllerNodeInfo & AddEndpoints(const char *value)
AWS_KAFKA_API ControllerNodeInfo(Aws::Utils::Json::JsonView jsonValue)
ControllerNodeInfo & AddEndpoints(Aws::String &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ControllerNodeInfo & WithEndpoints(Aws::Vector< Aws::String > &&value)
void SetEndpoints(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue