AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
EventBatchingCondition.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Glue {
17namespace Model {
18
27 public:
28 AWS_GLUE_API EventBatchingCondition() = default;
32
34
38 inline int GetBatchSize() const { return m_batchSize; }
39 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
40 inline void SetBatchSize(int value) {
41 m_batchSizeHasBeenSet = true;
42 m_batchSize = value;
43 }
45 SetBatchSize(value);
46 return *this;
47 }
49
51
55 inline int GetBatchWindow() const { return m_batchWindow; }
56 inline bool BatchWindowHasBeenSet() const { return m_batchWindowHasBeenSet; }
57 inline void SetBatchWindow(int value) {
58 m_batchWindowHasBeenSet = true;
59 m_batchWindow = value;
60 }
62 SetBatchWindow(value);
63 return *this;
64 }
66 private:
67 int m_batchSize{0};
68 bool m_batchSizeHasBeenSet = false;
69
70 int m_batchWindow{0};
71 bool m_batchWindowHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
EventBatchingCondition & WithBatchWindow(int value)
AWS_GLUE_API EventBatchingCondition()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
EventBatchingCondition & WithBatchSize(int value)
AWS_GLUE_API EventBatchingCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API EventBatchingCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue