AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConsumerGroupReplicationUpdate.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:
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 ConsumerGroupReplicationUpdate& AddConsumerGroupsToExclude(const Aws::String& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; }
53 inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToExclude(Aws::String&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(std::move(value)); return *this; }
54 inline ConsumerGroupReplicationUpdate& 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 ConsumerGroupReplicationUpdate& AddConsumerGroupsToReplicate(const Aws::String& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; }
69 inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToReplicate(Aws::String&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(std::move(value)); return *this; }
70 inline ConsumerGroupReplicationUpdate& 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
const Aws::Vector< Aws::String > & GetConsumerGroupsToExclude() const
AWS_KAFKA_API ConsumerGroupReplicationUpdate(Aws::Utils::Json::JsonView jsonValue)
ConsumerGroupReplicationUpdate & AddConsumerGroupsToReplicate(Aws::String &&value)
ConsumerGroupReplicationUpdate & WithConsumerGroupsToExclude(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConsumerGroupsToExclude(Aws::Vector< Aws::String > &&value)
ConsumerGroupReplicationUpdate & WithDetectAndCopyNewConsumerGroups(bool value)
void SetConsumerGroupsToReplicate(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API ConsumerGroupReplicationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConsumerGroupsToReplicate(Aws::Vector< Aws::String > &&value)
ConsumerGroupReplicationUpdate & AddConsumerGroupsToReplicate(const Aws::String &value)
ConsumerGroupReplicationUpdate & WithConsumerGroupsToReplicate(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetConsumerGroupsToReplicate() const
ConsumerGroupReplicationUpdate & AddConsumerGroupsToExclude(Aws::String &&value)
ConsumerGroupReplicationUpdate & WithSynchroniseConsumerGroupOffsets(bool value)
ConsumerGroupReplicationUpdate & WithConsumerGroupsToExclude(Aws::Vector< Aws::String > &&value)
ConsumerGroupReplicationUpdate & WithConsumerGroupsToReplicate(const Aws::Vector< Aws::String > &value)
ConsumerGroupReplicationUpdate & AddConsumerGroupsToReplicate(const char *value)
void SetConsumerGroupsToExclude(const Aws::Vector< Aws::String > &value)
ConsumerGroupReplicationUpdate & AddConsumerGroupsToExclude(const Aws::String &value)
ConsumerGroupReplicationUpdate & AddConsumerGroupsToExclude(const char *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