7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/ConsumerGroupOffsetSyncMode.h>
43 template <
typename ConsumerGroupsToExcludeT = Aws::Vector<Aws::String>>
45 m_consumerGroupsToExcludeHasBeenSet =
true;
46 m_consumerGroupsToExclude = std::forward<ConsumerGroupsToExcludeT>(value);
48 template <
typename ConsumerGroupsToExcludeT = Aws::Vector<Aws::String>>
53 template <
typename ConsumerGroupsToExcludeT = Aws::String>
55 m_consumerGroupsToExcludeHasBeenSet =
true;
56 m_consumerGroupsToExclude.emplace_back(std::forward<ConsumerGroupsToExcludeT>(value));
68 template <
typename ConsumerGroupsToReplicateT = Aws::Vector<Aws::String>>
70 m_consumerGroupsToReplicateHasBeenSet =
true;
71 m_consumerGroupsToReplicate = std::forward<ConsumerGroupsToReplicateT>(value);
73 template <
typename ConsumerGroupsToReplicateT = Aws::Vector<Aws::String>>
78 template <
typename ConsumerGroupsToReplicateT = Aws::String>
80 m_consumerGroupsToReplicateHasBeenSet =
true;
81 m_consumerGroupsToReplicate.emplace_back(std::forward<ConsumerGroupsToReplicateT>(value));
93 m_detectAndCopyNewConsumerGroupsHasBeenSet =
true;
94 m_detectAndCopyNewConsumerGroups = value;
110 m_synchroniseConsumerGroupOffsetsHasBeenSet =
true;
111 m_synchroniseConsumerGroupOffsets = value;
130 m_consumerGroupOffsetSyncModeHasBeenSet =
true;
131 m_consumerGroupOffsetSyncMode = value;
143 bool m_detectAndCopyNewConsumerGroups{
false};
145 bool m_synchroniseConsumerGroupOffsets{
false};
148 bool m_consumerGroupsToExcludeHasBeenSet =
false;
149 bool m_consumerGroupsToReplicateHasBeenSet =
false;
150 bool m_detectAndCopyNewConsumerGroupsHasBeenSet =
false;
151 bool m_synchroniseConsumerGroupOffsetsHasBeenSet =
false;
152 bool m_consumerGroupOffsetSyncModeHasBeenSet =
false;
ConsumerGroupReplication & WithConsumerGroupsToExclude(ConsumerGroupsToExcludeT &&value)
ConsumerGroupReplication & AddConsumerGroupsToReplicate(ConsumerGroupsToReplicateT &&value)
void SetDetectAndCopyNewConsumerGroups(bool value)
void SetSynchroniseConsumerGroupOffsets(bool value)
bool GetDetectAndCopyNewConsumerGroups() const
void SetConsumerGroupsToReplicate(ConsumerGroupsToReplicateT &&value)
ConsumerGroupReplication & WithSynchroniseConsumerGroupOffsets(bool value)
bool ConsumerGroupsToExcludeHasBeenSet() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ConsumerGroupReplication & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ConsumerGroupReplication(Aws::Utils::Json::JsonView jsonValue)
ConsumerGroupReplication & WithConsumerGroupsToReplicate(ConsumerGroupsToReplicateT &&value)
ConsumerGroupReplication & WithConsumerGroupOffsetSyncMode(ConsumerGroupOffsetSyncMode value)
void SetConsumerGroupOffsetSyncMode(ConsumerGroupOffsetSyncMode value)
AWS_KAFKA_API ConsumerGroupReplication()=default
bool ConsumerGroupOffsetSyncModeHasBeenSet() const
ConsumerGroupReplication & WithDetectAndCopyNewConsumerGroups(bool value)
const Aws::Vector< Aws::String > & GetConsumerGroupsToExclude() const
ConsumerGroupOffsetSyncMode GetConsumerGroupOffsetSyncMode() const
bool SynchroniseConsumerGroupOffsetsHasBeenSet() const
void SetConsumerGroupsToExclude(ConsumerGroupsToExcludeT &&value)
bool GetSynchroniseConsumerGroupOffsets() const
bool ConsumerGroupsToReplicateHasBeenSet() const
ConsumerGroupReplication & AddConsumerGroupsToExclude(ConsumerGroupsToExcludeT &&value)
const Aws::Vector< Aws::String > & GetConsumerGroupsToReplicate() const
bool DetectAndCopyNewConsumerGroupsHasBeenSet() const
ConsumerGroupOffsetSyncMode
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue