AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HttpEndpointBufferingHints.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
30 public:
31 AWS_FIREHOSE_API HttpEndpointBufferingHints() = default;
34 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline int GetSizeInMBs() const { return m_sizeInMBs; }
45 inline bool SizeInMBsHasBeenSet() const { return m_sizeInMBsHasBeenSet; }
46 inline void SetSizeInMBs(int value) {
47 m_sizeInMBsHasBeenSet = true;
48 m_sizeInMBs = value;
49 }
51 SetSizeInMBs(value);
52 return *this;
53 }
55
57
61 inline int GetIntervalInSeconds() const { return m_intervalInSeconds; }
62 inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; }
63 inline void SetIntervalInSeconds(int value) {
64 m_intervalInSecondsHasBeenSet = true;
65 m_intervalInSeconds = value;
66 }
69 return *this;
70 }
72 private:
73 int m_sizeInMBs{0};
74
75 int m_intervalInSeconds{0};
76 bool m_sizeInMBsHasBeenSet = false;
77 bool m_intervalInSecondsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Firehose
82} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API HttpEndpointBufferingHints(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API HttpEndpointBufferingHints()=default
HttpEndpointBufferingHints & WithSizeInMBs(int value)
AWS_FIREHOSE_API HttpEndpointBufferingHints & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpEndpointBufferingHints & WithIntervalInSeconds(int value)
Aws::Utils::Json::JsonValue JsonValue