/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration of the dynamic partitioning mechanism that creates smaller
* data sets from the streaming data by partitioning it based on partition keys.
* Currently, dynamic partitioning is only supported for Amazon S3 destinations.
* For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html
* See Also:
AWS
* API Reference
The retry behavior in case Kinesis Data Firehose is unable to deliver data to * an Amazon S3 prefix.
*/ inline const RetryOptions& GetRetryOptions() const{ return m_retryOptions; } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * an Amazon S3 prefix.
*/ inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * an Amazon S3 prefix.
*/ inline void SetRetryOptions(const RetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * an Amazon S3 prefix.
*/ inline void SetRetryOptions(RetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); } /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * an Amazon S3 prefix.
*/ inline DynamicPartitioningConfiguration& WithRetryOptions(const RetryOptions& value) { SetRetryOptions(value); return *this;} /** *The retry behavior in case Kinesis Data Firehose is unable to deliver data to * an Amazon S3 prefix.
*/ inline DynamicPartitioningConfiguration& WithRetryOptions(RetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;} /** *Specifies that the dynamic partitioning is enabled for this Kinesis Data * Firehose delivery stream.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies that the dynamic partitioning is enabled for this Kinesis Data * Firehose delivery stream.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies that the dynamic partitioning is enabled for this Kinesis Data * Firehose delivery stream.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies that the dynamic partitioning is enabled for this Kinesis Data * Firehose delivery stream.
*/ inline DynamicPartitioningConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;} private: RetryOptions m_retryOptions; bool m_retryOptionsHasBeenSet; bool m_enabled; bool m_enabledHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws