AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
StreamingDataPreviewOptions.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
26 public:
27 AWS_GLUE_API StreamingDataPreviewOptions() = default;
31
33
36 inline long long GetPollingTime() const { return m_pollingTime; }
37 inline bool PollingTimeHasBeenSet() const { return m_pollingTimeHasBeenSet; }
38 inline void SetPollingTime(long long value) {
39 m_pollingTimeHasBeenSet = true;
40 m_pollingTime = value;
41 }
43 SetPollingTime(value);
44 return *this;
45 }
47
49
52 inline long long GetRecordPollingLimit() const { return m_recordPollingLimit; }
53 inline bool RecordPollingLimitHasBeenSet() const { return m_recordPollingLimitHasBeenSet; }
54 inline void SetRecordPollingLimit(long long value) {
55 m_recordPollingLimitHasBeenSet = true;
56 m_recordPollingLimit = value;
57 }
60 return *this;
61 }
63 private:
64 long long m_pollingTime{0};
65 bool m_pollingTimeHasBeenSet = false;
66
67 long long m_recordPollingLimit{0};
68 bool m_recordPollingLimitHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Glue
73} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API StreamingDataPreviewOptions(Aws::Utils::Json::JsonView jsonValue)
StreamingDataPreviewOptions & WithPollingTime(long long value)
AWS_GLUE_API StreamingDataPreviewOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamingDataPreviewOptions & WithRecordPollingLimit(long long value)
AWS_GLUE_API StreamingDataPreviewOptions()=default
Aws::Utils::Json::JsonValue JsonValue