AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HttpEndpointRetryOptions.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
28 public:
29 AWS_FIREHOSE_API HttpEndpointRetryOptions() = default;
32 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
42 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
43 inline void SetDurationInSeconds(int value) {
44 m_durationInSecondsHasBeenSet = true;
45 m_durationInSeconds = value;
46 }
49 return *this;
50 }
52 private:
53 int m_durationInSeconds{0};
54 bool m_durationInSecondsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Firehose
59} // namespace Aws
AWS_FIREHOSE_API HttpEndpointRetryOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API HttpEndpointRetryOptions()=default
HttpEndpointRetryOptions & WithDurationInSeconds(int value)
AWS_FIREHOSE_API HttpEndpointRetryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue