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>
42 template <
typename ConsumerGroupsToExcludeT = Aws::Vector<Aws::String>>
44 m_consumerGroupsToExcludeHasBeenSet =
true;
45 m_consumerGroupsToExclude = std::forward<ConsumerGroupsToExcludeT>(value);
47 template <
typename ConsumerGroupsToExcludeT = Aws::Vector<Aws::String>>
52 template <
typename ConsumerGroupsToExcludeT = Aws::String>
54 m_consumerGroupsToExcludeHasBeenSet =
true;
55 m_consumerGroupsToExclude.emplace_back(std::forward<ConsumerGroupsToExcludeT>(value));
67 template <
typename ConsumerGroupsToReplicateT = Aws::Vector<Aws::String>>
69 m_consumerGroupsToReplicateHasBeenSet =
true;
70 m_consumerGroupsToReplicate = std::forward<ConsumerGroupsToReplicateT>(value);
72 template <
typename ConsumerGroupsToReplicateT = Aws::Vector<Aws::String>>
77 template <
typename ConsumerGroupsToReplicateT = Aws::String>
79 m_consumerGroupsToReplicateHasBeenSet =
true;
80 m_consumerGroupsToReplicate.emplace_back(std::forward<ConsumerGroupsToReplicateT>(value));
92 m_detectAndCopyNewConsumerGroupsHasBeenSet =
true;
93 m_detectAndCopyNewConsumerGroups = value;
109 m_synchroniseConsumerGroupOffsetsHasBeenSet =
true;
110 m_synchroniseConsumerGroupOffsets = value;
122 bool m_detectAndCopyNewConsumerGroups{
false};
124 bool m_synchroniseConsumerGroupOffsets{
false};
125 bool m_consumerGroupsToExcludeHasBeenSet =
false;
126 bool m_consumerGroupsToReplicateHasBeenSet =
false;
127 bool m_detectAndCopyNewConsumerGroupsHasBeenSet =
false;
128 bool m_synchroniseConsumerGroupOffsetsHasBeenSet =
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)
AWS_KAFKA_API ConsumerGroupReplication()=default
ConsumerGroupReplication & WithDetectAndCopyNewConsumerGroups(bool value)
const Aws::Vector< Aws::String > & GetConsumerGroupsToExclude() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue