AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetryOptions.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Firehose
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_FIREHOSE_API RetryOptions();
34 AWS_FIREHOSE_API RetryOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
45 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
46 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
47 inline RetryOptions& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;}
49 private:
50
51 int m_durationInSeconds;
52 bool m_durationInSecondsHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace Firehose
57} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API RetryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RetryOptions & WithDurationInSeconds(int value)
AWS_FIREHOSE_API RetryOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue