AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BrokerCountUpdateInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
31 public:
32 AWS_KAFKA_API BrokerCountUpdateInfo() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::Vector<double>& GetCreatedBrokerIds() const { return m_createdBrokerIds; }
44 inline bool CreatedBrokerIdsHasBeenSet() const { return m_createdBrokerIdsHasBeenSet; }
45 template <typename CreatedBrokerIdsT = Aws::Vector<double>>
46 void SetCreatedBrokerIds(CreatedBrokerIdsT&& value) {
47 m_createdBrokerIdsHasBeenSet = true;
48 m_createdBrokerIds = std::forward<CreatedBrokerIdsT>(value);
49 }
50 template <typename CreatedBrokerIdsT = Aws::Vector<double>>
51 BrokerCountUpdateInfo& WithCreatedBrokerIds(CreatedBrokerIdsT&& value) {
52 SetCreatedBrokerIds(std::forward<CreatedBrokerIdsT>(value));
53 return *this;
54 }
56 m_createdBrokerIdsHasBeenSet = true;
57 m_createdBrokerIds.push_back(value);
58 return *this;
59 }
61
63
68 inline const Aws::Vector<double>& GetDeletedBrokerIds() const { return m_deletedBrokerIds; }
69 inline bool DeletedBrokerIdsHasBeenSet() const { return m_deletedBrokerIdsHasBeenSet; }
70 template <typename DeletedBrokerIdsT = Aws::Vector<double>>
71 void SetDeletedBrokerIds(DeletedBrokerIdsT&& value) {
72 m_deletedBrokerIdsHasBeenSet = true;
73 m_deletedBrokerIds = std::forward<DeletedBrokerIdsT>(value);
74 }
75 template <typename DeletedBrokerIdsT = Aws::Vector<double>>
76 BrokerCountUpdateInfo& WithDeletedBrokerIds(DeletedBrokerIdsT&& value) {
77 SetDeletedBrokerIds(std::forward<DeletedBrokerIdsT>(value));
78 return *this;
79 }
81 m_deletedBrokerIdsHasBeenSet = true;
82 m_deletedBrokerIds.push_back(value);
83 return *this;
84 }
86 private:
87 Aws::Vector<double> m_createdBrokerIds;
88
89 Aws::Vector<double> m_deletedBrokerIds;
90 bool m_createdBrokerIdsHasBeenSet = false;
91 bool m_deletedBrokerIdsHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Kafka
96} // namespace Aws
const Aws::Vector< double > & GetDeletedBrokerIds() const
BrokerCountUpdateInfo & WithDeletedBrokerIds(DeletedBrokerIdsT &&value)
AWS_KAFKA_API BrokerCountUpdateInfo(Aws::Utils::Json::JsonView jsonValue)
BrokerCountUpdateInfo & AddDeletedBrokerIds(double value)
void SetCreatedBrokerIds(CreatedBrokerIdsT &&value)
AWS_KAFKA_API BrokerCountUpdateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeletedBrokerIds(DeletedBrokerIdsT &&value)
AWS_KAFKA_API BrokerCountUpdateInfo()=default
const Aws::Vector< double > & GetCreatedBrokerIds() const
BrokerCountUpdateInfo & WithCreatedBrokerIds(CreatedBrokerIdsT &&value)
BrokerCountUpdateInfo & AddCreatedBrokerIds(double value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue