7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents-data/model/DetectorState.h>
10#include <aws/core/utils/DateTime.h>
23namespace IoTEventsData
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>
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>
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>
85 template<
typename StateT = DetectorState>
86 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
87 template<
typename StateT = DetectorState>
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>
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>
117 bool m_detectorModelNameHasBeenSet =
false;
120 bool m_keyValueHasBeenSet =
false;
123 bool m_detectorModelVersionHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
129 bool m_creationTimeHasBeenSet =
false;
132 bool m_lastUpdateTimeHasBeenSet =
false;
Detector & WithDetectorModelName(DetectorModelNameT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
Detector & WithLastUpdateTime(LastUpdateTimeT &&value)
bool DetectorModelVersionHasBeenSet() const
void SetState(StateT &&value)
Detector & WithDetectorModelVersion(DetectorModelVersionT &&value)
bool StateHasBeenSet() const
void SetDetectorModelVersion(DetectorModelVersionT &&value)
AWS_IOTEVENTSDATA_API Detector(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
void SetDetectorModelName(DetectorModelNameT &&value)
Detector & WithCreationTime(CreationTimeT &&value)
bool DetectorModelNameHasBeenSet() const
Detector & WithState(StateT &&value)
bool LastUpdateTimeHasBeenSet() const
void SetKeyValue(KeyValueT &&value)
AWS_IOTEVENTSDATA_API Detector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(LastUpdateTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
bool CreationTimeHasBeenSet() const
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const DetectorState & GetState() const
const Aws::String & GetDetectorModelName() const
const Aws::String & GetKeyValue() const
AWS_IOTEVENTSDATA_API Detector()=default
bool KeyValueHasBeenSet() const
const Aws::String & GetDetectorModelVersion() const
Detector & WithKeyValue(KeyValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue