/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The parameters required to set up a source for your pipe.See
* Also:
AWS
* API Reference
The parameters for using an Active MQ broker as a source.
*/ inline const UpdatePipeSourceActiveMQBrokerParameters& GetActiveMQBrokerParameters() const{ return m_activeMQBrokerParameters; } /** *The parameters for using an Active MQ broker as a source.
*/ inline bool ActiveMQBrokerParametersHasBeenSet() const { return m_activeMQBrokerParametersHasBeenSet; } /** *The parameters for using an Active MQ broker as a source.
*/ inline void SetActiveMQBrokerParameters(const UpdatePipeSourceActiveMQBrokerParameters& value) { m_activeMQBrokerParametersHasBeenSet = true; m_activeMQBrokerParameters = value; } /** *The parameters for using an Active MQ broker as a source.
*/ inline void SetActiveMQBrokerParameters(UpdatePipeSourceActiveMQBrokerParameters&& value) { m_activeMQBrokerParametersHasBeenSet = true; m_activeMQBrokerParameters = std::move(value); } /** *The parameters for using an Active MQ broker as a source.
*/ inline UpdatePipeSourceParameters& WithActiveMQBrokerParameters(const UpdatePipeSourceActiveMQBrokerParameters& value) { SetActiveMQBrokerParameters(value); return *this;} /** *The parameters for using an Active MQ broker as a source.
*/ inline UpdatePipeSourceParameters& WithActiveMQBrokerParameters(UpdatePipeSourceActiveMQBrokerParameters&& value) { SetActiveMQBrokerParameters(std::move(value)); return *this;} /** *The parameters for using a DynamoDB stream as a source.
*/ inline const UpdatePipeSourceDynamoDBStreamParameters& GetDynamoDBStreamParameters() const{ return m_dynamoDBStreamParameters; } /** *The parameters for using a DynamoDB stream as a source.
*/ inline bool DynamoDBStreamParametersHasBeenSet() const { return m_dynamoDBStreamParametersHasBeenSet; } /** *The parameters for using a DynamoDB stream as a source.
*/ inline void SetDynamoDBStreamParameters(const UpdatePipeSourceDynamoDBStreamParameters& value) { m_dynamoDBStreamParametersHasBeenSet = true; m_dynamoDBStreamParameters = value; } /** *The parameters for using a DynamoDB stream as a source.
*/ inline void SetDynamoDBStreamParameters(UpdatePipeSourceDynamoDBStreamParameters&& value) { m_dynamoDBStreamParametersHasBeenSet = true; m_dynamoDBStreamParameters = std::move(value); } /** *The parameters for using a DynamoDB stream as a source.
*/ inline UpdatePipeSourceParameters& WithDynamoDBStreamParameters(const UpdatePipeSourceDynamoDBStreamParameters& value) { SetDynamoDBStreamParameters(value); return *this;} /** *The parameters for using a DynamoDB stream as a source.
*/ inline UpdatePipeSourceParameters& WithDynamoDBStreamParameters(UpdatePipeSourceDynamoDBStreamParameters&& value) { SetDynamoDBStreamParameters(std::move(value)); return *this;} /** *The collection of event patterns used to filter events. For more information, * see Events * and Event Patterns in the Amazon EventBridge User Guide.
*/ inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; } /** *The collection of event patterns used to filter events. For more information, * see Events * and Event Patterns in the Amazon EventBridge User Guide.
*/ inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; } /** *The collection of event patterns used to filter events. For more information, * see Events * and Event Patterns in the Amazon EventBridge User Guide.
*/ inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; } /** *The collection of event patterns used to filter events. For more information, * see Events * and Event Patterns in the Amazon EventBridge User Guide.
*/ inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); } /** *The collection of event patterns used to filter events. For more information, * see Events * and Event Patterns in the Amazon EventBridge User Guide.
*/ inline UpdatePipeSourceParameters& WithFilterCriteria(const FilterCriteria& value) { SetFilterCriteria(value); return *this;} /** *The collection of event patterns used to filter events. For more information, * see Events * and Event Patterns in the Amazon EventBridge User Guide.
*/ inline UpdatePipeSourceParameters& WithFilterCriteria(FilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;} /** *The parameters for using a Kinesis stream as a source.
*/ inline const UpdatePipeSourceKinesisStreamParameters& GetKinesisStreamParameters() const{ return m_kinesisStreamParameters; } /** *The parameters for using a Kinesis stream as a source.
*/ inline bool KinesisStreamParametersHasBeenSet() const { return m_kinesisStreamParametersHasBeenSet; } /** *The parameters for using a Kinesis stream as a source.
*/ inline void SetKinesisStreamParameters(const UpdatePipeSourceKinesisStreamParameters& value) { m_kinesisStreamParametersHasBeenSet = true; m_kinesisStreamParameters = value; } /** *The parameters for using a Kinesis stream as a source.
*/ inline void SetKinesisStreamParameters(UpdatePipeSourceKinesisStreamParameters&& value) { m_kinesisStreamParametersHasBeenSet = true; m_kinesisStreamParameters = std::move(value); } /** *The parameters for using a Kinesis stream as a source.
*/ inline UpdatePipeSourceParameters& WithKinesisStreamParameters(const UpdatePipeSourceKinesisStreamParameters& value) { SetKinesisStreamParameters(value); return *this;} /** *The parameters for using a Kinesis stream as a source.
*/ inline UpdatePipeSourceParameters& WithKinesisStreamParameters(UpdatePipeSourceKinesisStreamParameters&& value) { SetKinesisStreamParameters(std::move(value)); return *this;} /** *The parameters for using an MSK stream as a source.
*/ inline const UpdatePipeSourceManagedStreamingKafkaParameters& GetManagedStreamingKafkaParameters() const{ return m_managedStreamingKafkaParameters; } /** *The parameters for using an MSK stream as a source.
*/ inline bool ManagedStreamingKafkaParametersHasBeenSet() const { return m_managedStreamingKafkaParametersHasBeenSet; } /** *The parameters for using an MSK stream as a source.
*/ inline void SetManagedStreamingKafkaParameters(const UpdatePipeSourceManagedStreamingKafkaParameters& value) { m_managedStreamingKafkaParametersHasBeenSet = true; m_managedStreamingKafkaParameters = value; } /** *The parameters for using an MSK stream as a source.
*/ inline void SetManagedStreamingKafkaParameters(UpdatePipeSourceManagedStreamingKafkaParameters&& value) { m_managedStreamingKafkaParametersHasBeenSet = true; m_managedStreamingKafkaParameters = std::move(value); } /** *The parameters for using an MSK stream as a source.
*/ inline UpdatePipeSourceParameters& WithManagedStreamingKafkaParameters(const UpdatePipeSourceManagedStreamingKafkaParameters& value) { SetManagedStreamingKafkaParameters(value); return *this;} /** *The parameters for using an MSK stream as a source.
*/ inline UpdatePipeSourceParameters& WithManagedStreamingKafkaParameters(UpdatePipeSourceManagedStreamingKafkaParameters&& value) { SetManagedStreamingKafkaParameters(std::move(value)); return *this;} /** *The parameters for using a Rabbit MQ broker as a source.
*/ inline const UpdatePipeSourceRabbitMQBrokerParameters& GetRabbitMQBrokerParameters() const{ return m_rabbitMQBrokerParameters; } /** *The parameters for using a Rabbit MQ broker as a source.
*/ inline bool RabbitMQBrokerParametersHasBeenSet() const { return m_rabbitMQBrokerParametersHasBeenSet; } /** *The parameters for using a Rabbit MQ broker as a source.
*/ inline void SetRabbitMQBrokerParameters(const UpdatePipeSourceRabbitMQBrokerParameters& value) { m_rabbitMQBrokerParametersHasBeenSet = true; m_rabbitMQBrokerParameters = value; } /** *The parameters for using a Rabbit MQ broker as a source.
*/ inline void SetRabbitMQBrokerParameters(UpdatePipeSourceRabbitMQBrokerParameters&& value) { m_rabbitMQBrokerParametersHasBeenSet = true; m_rabbitMQBrokerParameters = std::move(value); } /** *The parameters for using a Rabbit MQ broker as a source.
*/ inline UpdatePipeSourceParameters& WithRabbitMQBrokerParameters(const UpdatePipeSourceRabbitMQBrokerParameters& value) { SetRabbitMQBrokerParameters(value); return *this;} /** *The parameters for using a Rabbit MQ broker as a source.
*/ inline UpdatePipeSourceParameters& WithRabbitMQBrokerParameters(UpdatePipeSourceRabbitMQBrokerParameters&& value) { SetRabbitMQBrokerParameters(std::move(value)); return *this;} /** *The parameters for using a self-managed Apache Kafka stream as a source.
*/ inline const UpdatePipeSourceSelfManagedKafkaParameters& GetSelfManagedKafkaParameters() const{ return m_selfManagedKafkaParameters; } /** *The parameters for using a self-managed Apache Kafka stream as a source.
*/ inline bool SelfManagedKafkaParametersHasBeenSet() const { return m_selfManagedKafkaParametersHasBeenSet; } /** *The parameters for using a self-managed Apache Kafka stream as a source.
*/ inline void SetSelfManagedKafkaParameters(const UpdatePipeSourceSelfManagedKafkaParameters& value) { m_selfManagedKafkaParametersHasBeenSet = true; m_selfManagedKafkaParameters = value; } /** *The parameters for using a self-managed Apache Kafka stream as a source.
*/ inline void SetSelfManagedKafkaParameters(UpdatePipeSourceSelfManagedKafkaParameters&& value) { m_selfManagedKafkaParametersHasBeenSet = true; m_selfManagedKafkaParameters = std::move(value); } /** *The parameters for using a self-managed Apache Kafka stream as a source.
*/ inline UpdatePipeSourceParameters& WithSelfManagedKafkaParameters(const UpdatePipeSourceSelfManagedKafkaParameters& value) { SetSelfManagedKafkaParameters(value); return *this;} /** *The parameters for using a self-managed Apache Kafka stream as a source.
*/ inline UpdatePipeSourceParameters& WithSelfManagedKafkaParameters(UpdatePipeSourceSelfManagedKafkaParameters&& value) { SetSelfManagedKafkaParameters(std::move(value)); return *this;} /** *The parameters for using a Amazon SQS stream as a source.
*/ inline const UpdatePipeSourceSqsQueueParameters& GetSqsQueueParameters() const{ return m_sqsQueueParameters; } /** *The parameters for using a Amazon SQS stream as a source.
*/ inline bool SqsQueueParametersHasBeenSet() const { return m_sqsQueueParametersHasBeenSet; } /** *The parameters for using a Amazon SQS stream as a source.
*/ inline void SetSqsQueueParameters(const UpdatePipeSourceSqsQueueParameters& value) { m_sqsQueueParametersHasBeenSet = true; m_sqsQueueParameters = value; } /** *The parameters for using a Amazon SQS stream as a source.
*/ inline void SetSqsQueueParameters(UpdatePipeSourceSqsQueueParameters&& value) { m_sqsQueueParametersHasBeenSet = true; m_sqsQueueParameters = std::move(value); } /** *The parameters for using a Amazon SQS stream as a source.
*/ inline UpdatePipeSourceParameters& WithSqsQueueParameters(const UpdatePipeSourceSqsQueueParameters& value) { SetSqsQueueParameters(value); return *this;} /** *The parameters for using a Amazon SQS stream as a source.
*/ inline UpdatePipeSourceParameters& WithSqsQueueParameters(UpdatePipeSourceSqsQueueParameters&& value) { SetSqsQueueParameters(std::move(value)); return *this;} private: UpdatePipeSourceActiveMQBrokerParameters m_activeMQBrokerParameters; bool m_activeMQBrokerParametersHasBeenSet = false; UpdatePipeSourceDynamoDBStreamParameters m_dynamoDBStreamParameters; bool m_dynamoDBStreamParametersHasBeenSet = false; FilterCriteria m_filterCriteria; bool m_filterCriteriaHasBeenSet = false; UpdatePipeSourceKinesisStreamParameters m_kinesisStreamParameters; bool m_kinesisStreamParametersHasBeenSet = false; UpdatePipeSourceManagedStreamingKafkaParameters m_managedStreamingKafkaParameters; bool m_managedStreamingKafkaParametersHasBeenSet = false; UpdatePipeSourceRabbitMQBrokerParameters m_rabbitMQBrokerParameters; bool m_rabbitMQBrokerParametersHasBeenSet = false; UpdatePipeSourceSelfManagedKafkaParameters m_selfManagedKafkaParameters; bool m_selfManagedKafkaParametersHasBeenSet = false; UpdatePipeSourceSqsQueueParameters m_sqsQueueParameters; bool m_sqsQueueParametersHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws