AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BrokerCountUpdateInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KAFKA_API BrokerCountUpdateInfo() = default;
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<double>& GetCreatedBrokerIds() const { return m_createdBrokerIds; }
50 inline bool CreatedBrokerIdsHasBeenSet() const { return m_createdBrokerIdsHasBeenSet; }
51 template<typename CreatedBrokerIdsT = Aws::Vector<double>>
52 void SetCreatedBrokerIds(CreatedBrokerIdsT&& value) { m_createdBrokerIdsHasBeenSet = true; m_createdBrokerIds = std::forward<CreatedBrokerIdsT>(value); }
53 template<typename CreatedBrokerIdsT = Aws::Vector<double>>
54 BrokerCountUpdateInfo& WithCreatedBrokerIds(CreatedBrokerIdsT&& value) { SetCreatedBrokerIds(std::forward<CreatedBrokerIdsT>(value)); return *this;}
55 inline BrokerCountUpdateInfo& AddCreatedBrokerIds(double value) { m_createdBrokerIdsHasBeenSet = true; m_createdBrokerIds.push_back(value); return *this; }
57
59
64 inline const Aws::Vector<double>& GetDeletedBrokerIds() const { return m_deletedBrokerIds; }
65 inline bool DeletedBrokerIdsHasBeenSet() const { return m_deletedBrokerIdsHasBeenSet; }
66 template<typename DeletedBrokerIdsT = Aws::Vector<double>>
67 void SetDeletedBrokerIds(DeletedBrokerIdsT&& value) { m_deletedBrokerIdsHasBeenSet = true; m_deletedBrokerIds = std::forward<DeletedBrokerIdsT>(value); }
68 template<typename DeletedBrokerIdsT = Aws::Vector<double>>
69 BrokerCountUpdateInfo& WithDeletedBrokerIds(DeletedBrokerIdsT&& value) { SetDeletedBrokerIds(std::forward<DeletedBrokerIdsT>(value)); return *this;}
70 inline BrokerCountUpdateInfo& AddDeletedBrokerIds(double value) { m_deletedBrokerIdsHasBeenSet = true; m_deletedBrokerIds.push_back(value); return *this; }
72 private:
73
74 Aws::Vector<double> m_createdBrokerIds;
75 bool m_createdBrokerIdsHasBeenSet = false;
76
77 Aws::Vector<double> m_deletedBrokerIds;
78 bool m_deletedBrokerIdsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // 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