AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BufferingHints.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
35 {
36 public:
37 AWS_FIREHOSE_API BufferingHints();
38 AWS_FIREHOSE_API BufferingHints(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline int GetSizeInMBs() const{ return m_sizeInMBs; }
54 inline bool SizeInMBsHasBeenSet() const { return m_sizeInMBsHasBeenSet; }
55 inline void SetSizeInMBs(int value) { m_sizeInMBsHasBeenSet = true; m_sizeInMBs = value; }
56 inline BufferingHints& WithSizeInMBs(int value) { SetSizeInMBs(value); return *this;}
58
60
66 inline int GetIntervalInSeconds() const{ return m_intervalInSeconds; }
67 inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; }
68 inline void SetIntervalInSeconds(int value) { m_intervalInSecondsHasBeenSet = true; m_intervalInSeconds = value; }
69 inline BufferingHints& WithIntervalInSeconds(int value) { SetIntervalInSeconds(value); return *this;}
71 private:
72
73 int m_sizeInMBs;
74 bool m_sizeInMBsHasBeenSet = false;
75
76 int m_intervalInSeconds;
77 bool m_intervalInSecondsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Firehose
82} // namespace Aws
AWS_FIREHOSE_API BufferingHints(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API BufferingHints & operator=(Aws::Utils::Json::JsonView jsonValue)
BufferingHints & WithIntervalInSeconds(int value)
BufferingHints & WithSizeInMBs(int value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue