AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticsearchRetryOptions.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 ElasticsearchRetryOptions();
36 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
46 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
47 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
48 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
49 inline ElasticsearchRetryOptions& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;}
51 private:
52
53 int m_durationInSeconds;
54 bool m_durationInSecondsHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace Firehose
59} // namespace Aws
AWS_FIREHOSE_API ElasticsearchRetryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchRetryOptions & WithDurationInSeconds(int value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API ElasticsearchRetryOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue