AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SplunkBufferingHints.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 SplunkBufferingHints();
36 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetIntervalInSeconds() const{ return m_intervalInSeconds; }
45 inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; }
46 inline void SetIntervalInSeconds(int value) { m_intervalInSecondsHasBeenSet = true; m_intervalInSeconds = value; }
47 inline SplunkBufferingHints& WithIntervalInSeconds(int value) { SetIntervalInSeconds(value); return *this;}
49
51
55 inline int GetSizeInMBs() const{ return m_sizeInMBs; }
56 inline bool SizeInMBsHasBeenSet() const { return m_sizeInMBsHasBeenSet; }
57 inline void SetSizeInMBs(int value) { m_sizeInMBsHasBeenSet = true; m_sizeInMBs = value; }
58 inline SplunkBufferingHints& WithSizeInMBs(int value) { SetSizeInMBs(value); return *this;}
60 private:
61
62 int m_intervalInSeconds;
63 bool m_intervalInSecondsHasBeenSet = false;
64
65 int m_sizeInMBs;
66 bool m_sizeInMBsHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Firehose
71} // namespace Aws
SplunkBufferingHints & WithSizeInMBs(int value)
SplunkBufferingHints & WithIntervalInSeconds(int value)
AWS_FIREHOSE_API SplunkBufferingHints(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SplunkBufferingHints & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue