AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DetectorSummary.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents-data/model/DetectorStateSummary.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTEventsData
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTEVENTSDATA_API DetectorSummary() = default;
37 AWS_IOTEVENTSDATA_API DetectorSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTSDATA_API DetectorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDetectorModelName() const { return m_detectorModelName; }
47 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
48 template<typename DetectorModelNameT = Aws::String>
49 void SetDetectorModelName(DetectorModelNameT&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::forward<DetectorModelNameT>(value); }
50 template<typename DetectorModelNameT = Aws::String>
51 DetectorSummary& WithDetectorModelName(DetectorModelNameT&& value) { SetDetectorModelName(std::forward<DetectorModelNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetKeyValue() const { return m_keyValue; }
60 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
61 template<typename KeyValueT = Aws::String>
62 void SetKeyValue(KeyValueT&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::forward<KeyValueT>(value); }
63 template<typename KeyValueT = Aws::String>
64 DetectorSummary& WithKeyValue(KeyValueT&& value) { SetKeyValue(std::forward<KeyValueT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDetectorModelVersion() const { return m_detectorModelVersion; }
72 inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
73 template<typename DetectorModelVersionT = Aws::String>
74 void SetDetectorModelVersion(DetectorModelVersionT&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::forward<DetectorModelVersionT>(value); }
75 template<typename DetectorModelVersionT = Aws::String>
76 DetectorSummary& WithDetectorModelVersion(DetectorModelVersionT&& value) { SetDetectorModelVersion(std::forward<DetectorModelVersionT>(value)); return *this;}
78
80
83 inline const DetectorStateSummary& GetState() const { return m_state; }
84 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
85 template<typename StateT = DetectorStateSummary>
86 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
87 template<typename StateT = DetectorStateSummary>
88 DetectorSummary& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template<typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
99 template<typename CreationTimeT = Aws::Utils::DateTime>
100 DetectorSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
108 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
109 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
110 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
111 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
112 DetectorSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
114 private:
115
116 Aws::String m_detectorModelName;
117 bool m_detectorModelNameHasBeenSet = false;
118
119 Aws::String m_keyValue;
120 bool m_keyValueHasBeenSet = false;
121
122 Aws::String m_detectorModelVersion;
123 bool m_detectorModelVersionHasBeenSet = false;
124
125 DetectorStateSummary m_state;
126 bool m_stateHasBeenSet = false;
127
128 Aws::Utils::DateTime m_creationTime{};
129 bool m_creationTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastUpdateTime{};
132 bool m_lastUpdateTimeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace IoTEventsData
137} // namespace Aws
void SetDetectorModelVersion(DetectorModelVersionT &&value)
const Aws::String & GetKeyValue() const
AWS_IOTEVENTSDATA_API DetectorSummary(Aws::Utils::Json::JsonView jsonValue)
DetectorSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
DetectorSummary & WithDetectorModelName(DetectorModelNameT &&value)
void SetCreationTime(CreationTimeT &&value)
DetectorSummary & WithState(StateT &&value)
const Aws::String & GetDetectorModelName() const
const Aws::String & GetDetectorModelVersion() const
AWS_IOTEVENTSDATA_API DetectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(LastUpdateTimeT &&value)
DetectorSummary & WithDetectorModelVersion(DetectorModelVersionT &&value)
void SetDetectorModelName(DetectorModelNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
DetectorSummary & WithCreationTime(CreationTimeT &&value)
DetectorSummary & WithKeyValue(KeyValueT &&value)
AWS_IOTEVENTSDATA_API DetectorSummary()=default
const DetectorStateSummary & GetState() const
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue