AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
LargeTimestampGaps.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/model/StatisticalIssueStatus.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LookoutEquipment {
20namespace Model {
21
29 public:
30 AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps() = default;
31 AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline StatisticalIssueStatus GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
42 inline void SetStatus(StatisticalIssueStatus value) {
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
56 inline int GetNumberOfLargeTimestampGaps() const { return m_numberOfLargeTimestampGaps; }
57 inline bool NumberOfLargeTimestampGapsHasBeenSet() const { return m_numberOfLargeTimestampGapsHasBeenSet; }
58 inline void SetNumberOfLargeTimestampGaps(int value) {
59 m_numberOfLargeTimestampGapsHasBeenSet = true;
60 m_numberOfLargeTimestampGaps = value;
61 }
64 return *this;
65 }
67
69
72 inline int GetMaxTimestampGapInDays() const { return m_maxTimestampGapInDays; }
73 inline bool MaxTimestampGapInDaysHasBeenSet() const { return m_maxTimestampGapInDaysHasBeenSet; }
74 inline void SetMaxTimestampGapInDays(int value) {
75 m_maxTimestampGapInDaysHasBeenSet = true;
76 m_maxTimestampGapInDays = value;
77 }
80 return *this;
81 }
83 private:
85
86 int m_numberOfLargeTimestampGaps{0};
87
88 int m_maxTimestampGapInDays{0};
89 bool m_statusHasBeenSet = false;
90 bool m_numberOfLargeTimestampGapsHasBeenSet = false;
91 bool m_maxTimestampGapInDaysHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace LookoutEquipment
96} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps(Aws::Utils::Json::JsonView jsonValue)
LargeTimestampGaps & WithStatus(StatisticalIssueStatus value)
AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps()=default
AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps & operator=(Aws::Utils::Json::JsonView jsonValue)
LargeTimestampGaps & WithMaxTimestampGapInDays(int value)
LargeTimestampGaps & WithNumberOfLargeTimestampGaps(int value)
void SetStatus(StatisticalIssueStatus value)
Aws::Utils::Json::JsonValue JsonValue