AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
49 inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
50 inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
51 inline DetectorSummary& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;}
52 inline DetectorSummary& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
53 inline DetectorSummary& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
55
57
61 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
62 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
63 inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; }
64 inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); }
65 inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); }
66 inline DetectorSummary& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
67 inline DetectorSummary& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
68 inline DetectorSummary& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
70
72
75 inline const Aws::String& GetDetectorModelVersion() const{ return m_detectorModelVersion; }
76 inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
77 inline void SetDetectorModelVersion(const Aws::String& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = value; }
78 inline void SetDetectorModelVersion(Aws::String&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::move(value); }
79 inline void SetDetectorModelVersion(const char* value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion.assign(value); }
80 inline DetectorSummary& WithDetectorModelVersion(const Aws::String& value) { SetDetectorModelVersion(value); return *this;}
81 inline DetectorSummary& WithDetectorModelVersion(Aws::String&& value) { SetDetectorModelVersion(std::move(value)); return *this;}
82 inline DetectorSummary& WithDetectorModelVersion(const char* value) { SetDetectorModelVersion(value); return *this;}
84
86
89 inline const DetectorStateSummary& GetState() const{ return m_state; }
90 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
91 inline void SetState(const DetectorStateSummary& value) { m_stateHasBeenSet = true; m_state = value; }
92 inline void SetState(DetectorStateSummary&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
93 inline DetectorSummary& WithState(const DetectorStateSummary& value) { SetState(value); return *this;}
94 inline DetectorSummary& WithState(DetectorStateSummary&& value) { SetState(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
102 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
103 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
104 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
105 inline DetectorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
106 inline DetectorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
114 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
115 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
116 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
117 inline DetectorSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
118 inline DetectorSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_detectorModelName;
123 bool m_detectorModelNameHasBeenSet = false;
124
125 Aws::String m_keyValue;
126 bool m_keyValueHasBeenSet = false;
127
128 Aws::String m_detectorModelVersion;
129 bool m_detectorModelVersionHasBeenSet = false;
130
131 DetectorStateSummary m_state;
132 bool m_stateHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationTime;
135 bool m_creationTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdateTime;
138 bool m_lastUpdateTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace IoTEventsData
143} // namespace Aws
void SetDetectorModelName(Aws::String &&value)
void SetDetectorModelVersion(const Aws::String &value)
const Aws::String & GetKeyValue() const
DetectorSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_IOTEVENTSDATA_API DetectorSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetKeyValue(const Aws::String &value)
DetectorSummary & WithKeyValue(const char *value)
void SetDetectorModelVersion(Aws::String &&value)
const Aws::String & GetDetectorModelName() const
const Aws::String & GetDetectorModelVersion() const
DetectorSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_IOTEVENTSDATA_API DetectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorSummary & WithDetectorModelName(const char *value)
DetectorSummary & WithKeyValue(const Aws::String &value)
DetectorSummary & WithDetectorModelName(const Aws::String &value)
DetectorSummary & WithDetectorModelVersion(const Aws::String &value)
DetectorSummary & WithState(const DetectorStateSummary &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
void SetState(const DetectorStateSummary &value)
const Aws::Utils::DateTime & GetCreationTime() const
DetectorSummary & WithKeyValue(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetDetectorModelName(const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetDetectorModelVersion(const char *value)
DetectorSummary & WithDetectorModelVersion(Aws::String &&value)
DetectorSummary & WithDetectorModelVersion(const char *value)
DetectorSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetState(DetectorStateSummary &&value)
DetectorSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const DetectorStateSummary & GetState() const
DetectorSummary & WithState(DetectorStateSummary &&value)
DetectorSummary & WithDetectorModelName(Aws::String &&value)
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