AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LookoutEquipment
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps() = default;
36 AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTEQUIPMENT_API LargeTimestampGaps& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline StatisticalIssueStatus GetStatus() const { return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(StatisticalIssueStatus value) { m_statusHasBeenSet = true; m_status = value; }
49 inline LargeTimestampGaps& WithStatus(StatisticalIssueStatus value) { SetStatus(value); return *this;}
51
53
56 inline int GetNumberOfLargeTimestampGaps() const { return m_numberOfLargeTimestampGaps; }
57 inline bool NumberOfLargeTimestampGapsHasBeenSet() const { return m_numberOfLargeTimestampGapsHasBeenSet; }
58 inline void SetNumberOfLargeTimestampGaps(int value) { m_numberOfLargeTimestampGapsHasBeenSet = true; m_numberOfLargeTimestampGaps = value; }
61
63
66 inline int GetMaxTimestampGapInDays() const { return m_maxTimestampGapInDays; }
67 inline bool MaxTimestampGapInDaysHasBeenSet() const { return m_maxTimestampGapInDaysHasBeenSet; }
68 inline void SetMaxTimestampGapInDays(int value) { m_maxTimestampGapInDaysHasBeenSet = true; m_maxTimestampGapInDays = value; }
69 inline LargeTimestampGaps& WithMaxTimestampGapInDays(int value) { SetMaxTimestampGapInDays(value); return *this;}
71 private:
72
74 bool m_statusHasBeenSet = false;
75
76 int m_numberOfLargeTimestampGaps{0};
77 bool m_numberOfLargeTimestampGapsHasBeenSet = false;
78
79 int m_maxTimestampGapInDays{0};
80 bool m_maxTimestampGapInDaysHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace LookoutEquipment
85} // 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