AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConsumerGroupReplication.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
33 {
34 public:
35 AWS_KAFKA_API ConsumerGroupReplication();
38 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<Aws::String>& GetConsumerGroupsToExclude() const{ return m_consumerGroupsToExclude; }
47 inline bool ConsumerGroupsToExcludeHasBeenSet() const { return m_consumerGroupsToExcludeHasBeenSet; }
48 inline void SetConsumerGroupsToExclude(const Aws::Vector<Aws::String>& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude = value; }
49 inline void SetConsumerGroupsToExclude(Aws::Vector<Aws::String>&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude = std::move(value); }
52 inline ConsumerGroupReplication& AddConsumerGroupsToExclude(const Aws::String& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; }
53 inline ConsumerGroupReplication& AddConsumerGroupsToExclude(Aws::String&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(std::move(value)); return *this; }
54 inline ConsumerGroupReplication& AddConsumerGroupsToExclude(const char* value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; }
56
58
62 inline const Aws::Vector<Aws::String>& GetConsumerGroupsToReplicate() const{ return m_consumerGroupsToReplicate; }
63 inline bool ConsumerGroupsToReplicateHasBeenSet() const { return m_consumerGroupsToReplicateHasBeenSet; }
64 inline void SetConsumerGroupsToReplicate(const Aws::Vector<Aws::String>& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate = value; }
65 inline void SetConsumerGroupsToReplicate(Aws::Vector<Aws::String>&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate = std::move(value); }
68 inline ConsumerGroupReplication& AddConsumerGroupsToReplicate(const Aws::String& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; }
69 inline ConsumerGroupReplication& AddConsumerGroupsToReplicate(Aws::String&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(std::move(value)); return *this; }
70 inline ConsumerGroupReplication& AddConsumerGroupsToReplicate(const char* value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; }
72
74
77 inline bool GetDetectAndCopyNewConsumerGroups() const{ return m_detectAndCopyNewConsumerGroups; }
78 inline bool DetectAndCopyNewConsumerGroupsHasBeenSet() const { return m_detectAndCopyNewConsumerGroupsHasBeenSet; }
79 inline void SetDetectAndCopyNewConsumerGroups(bool value) { m_detectAndCopyNewConsumerGroupsHasBeenSet = true; m_detectAndCopyNewConsumerGroups = value; }
82
84
88 inline bool GetSynchroniseConsumerGroupOffsets() const{ return m_synchroniseConsumerGroupOffsets; }
89 inline bool SynchroniseConsumerGroupOffsetsHasBeenSet() const { return m_synchroniseConsumerGroupOffsetsHasBeenSet; }
90 inline void SetSynchroniseConsumerGroupOffsets(bool value) { m_synchroniseConsumerGroupOffsetsHasBeenSet = true; m_synchroniseConsumerGroupOffsets = value; }
93 private:
94
95 Aws::Vector<Aws::String> m_consumerGroupsToExclude;
96 bool m_consumerGroupsToExcludeHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_consumerGroupsToReplicate;
99 bool m_consumerGroupsToReplicateHasBeenSet = false;
100
101 bool m_detectAndCopyNewConsumerGroups;
102 bool m_detectAndCopyNewConsumerGroupsHasBeenSet = false;
103
104 bool m_synchroniseConsumerGroupOffsets;
105 bool m_synchroniseConsumerGroupOffsetsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Kafka
110} // namespace Aws
void SetConsumerGroupsToReplicate(const Aws::Vector< Aws::String > &value)
ConsumerGroupReplication & WithSynchroniseConsumerGroupOffsets(bool value)
ConsumerGroupReplication & AddConsumerGroupsToReplicate(const char *value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConsumerGroupsToExclude(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API ConsumerGroupReplication & operator=(Aws::Utils::Json::JsonView jsonValue)
ConsumerGroupReplication & AddConsumerGroupsToReplicate(Aws::String &&value)
AWS_KAFKA_API ConsumerGroupReplication(Aws::Utils::Json::JsonView jsonValue)
void SetConsumerGroupsToExclude(Aws::Vector< Aws::String > &&value)
ConsumerGroupReplication & AddConsumerGroupsToReplicate(const Aws::String &value)
ConsumerGroupReplication & WithDetectAndCopyNewConsumerGroups(bool value)
const Aws::Vector< Aws::String > & GetConsumerGroupsToExclude() const
void SetConsumerGroupsToReplicate(Aws::Vector< Aws::String > &&value)
ConsumerGroupReplication & WithConsumerGroupsToReplicate(const Aws::Vector< Aws::String > &value)
ConsumerGroupReplication & WithConsumerGroupsToExclude(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetConsumerGroupsToReplicate() const
ConsumerGroupReplication & AddConsumerGroupsToExclude(const Aws::String &value)
ConsumerGroupReplication & WithConsumerGroupsToExclude(const Aws::Vector< Aws::String > &value)
ConsumerGroupReplication & AddConsumerGroupsToExclude(const char *value)
ConsumerGroupReplication & AddConsumerGroupsToExclude(Aws::String &&value)
ConsumerGroupReplication & WithConsumerGroupsToReplicate(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