AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RetryOptions.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Firehose {
17namespace Model {
18
26 public:
27 AWS_FIREHOSE_API RetryOptions() = default;
28 AWS_FIREHOSE_API RetryOptions(Aws::Utils::Json::JsonView jsonValue);
30 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
38 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
39 inline void SetDurationInSeconds(int value) {
40 m_durationInSecondsHasBeenSet = true;
41 m_durationInSeconds = value;
42 }
45 return *this;
46 }
48 private:
49 int m_durationInSeconds{0};
50 bool m_durationInSecondsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace Firehose
55} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API RetryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API RetryOptions()=default
RetryOptions & WithDurationInSeconds(int value)
AWS_FIREHOSE_API RetryOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue