/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Firehose { namespace Model { /** *

The retry behavior in case Kinesis Data Firehose is unable to deliver data * to an Amazon S3 prefix.

See Also:

AWS * API Reference

*/ class AWS_FIREHOSE_API RetryOptions { public: RetryOptions(); RetryOptions(Aws::Utils::Json::JsonView jsonValue); RetryOptions& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The period of time during which Kinesis Data Firehose retries to deliver data * to the specified Amazon S3 prefix.

*/ inline int GetDurationInSeconds() const{ return m_durationInSeconds; } /** *

The period of time during which Kinesis Data Firehose retries to deliver data * to the specified Amazon S3 prefix.

*/ inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; } /** *

The period of time during which Kinesis Data Firehose retries to deliver data * to the specified Amazon S3 prefix.

*/ inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; } /** *

The period of time during which Kinesis Data Firehose retries to deliver data * to the specified Amazon S3 prefix.

*/ inline RetryOptions& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;} private: int m_durationInSeconds; bool m_durationInSecondsHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws