AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedBrokerIds(const Aws::Vector<double>& value) { m_createdBrokerIdsHasBeenSet = true; m_createdBrokerIds = value; }
52 inline void SetCreatedBrokerIds(Aws::Vector<double>&& value) { m_createdBrokerIdsHasBeenSet = true; m_createdBrokerIds = std::move(value); }
54 inline BrokerCountUpdateInfo& WithCreatedBrokerIds(Aws::Vector<double>&& value) { SetCreatedBrokerIds(std::move(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 inline void SetDeletedBrokerIds(const Aws::Vector<double>& value) { m_deletedBrokerIdsHasBeenSet = true; m_deletedBrokerIds = value; }
67 inline void SetDeletedBrokerIds(Aws::Vector<double>&& value) { m_deletedBrokerIdsHasBeenSet = true; m_deletedBrokerIds = std::move(value); }
69 inline BrokerCountUpdateInfo& WithDeletedBrokerIds(Aws::Vector<double>&& value) { SetDeletedBrokerIds(std::move(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
AWS_KAFKA_API BrokerCountUpdateInfo(Aws::Utils::Json::JsonView jsonValue)
BrokerCountUpdateInfo & AddDeletedBrokerIds(double value)
BrokerCountUpdateInfo & WithDeletedBrokerIds(const Aws::Vector< double > &value)
AWS_KAFKA_API BrokerCountUpdateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeletedBrokerIds(Aws::Vector< double > &&value)
BrokerCountUpdateInfo & WithCreatedBrokerIds(const Aws::Vector< double > &value)
BrokerCountUpdateInfo & WithCreatedBrokerIds(Aws::Vector< double > &&value)
BrokerCountUpdateInfo & WithDeletedBrokerIds(Aws::Vector< double > &&value)
const Aws::Vector< double > & GetCreatedBrokerIds() const
void SetCreatedBrokerIds(Aws::Vector< double > &&value)
BrokerCountUpdateInfo & AddCreatedBrokerIds(double value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedBrokerIds(const Aws::Vector< double > &value)
void SetDeletedBrokerIds(const Aws::Vector< double > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue