AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DetectorModelVersionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/IoTEvents_EXPORTS.h>
10#include <aws/iotevents/model/DetectorModelVersionStatus.h>
11#include <aws/iotevents/model/EvaluationMethod.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEvents {
23namespace Model {
24
31 public:
32 AWS_IOTEVENTS_API DetectorModelVersionSummary() = default;
35 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDetectorModelName() const { return m_detectorModelName; }
42 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
43 template <typename DetectorModelNameT = Aws::String>
44 void SetDetectorModelName(DetectorModelNameT&& value) {
45 m_detectorModelNameHasBeenSet = true;
46 m_detectorModelName = std::forward<DetectorModelNameT>(value);
47 }
48 template <typename DetectorModelNameT = Aws::String>
50 SetDetectorModelName(std::forward<DetectorModelNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDetectorModelVersion() const { return m_detectorModelVersion; }
60 inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
61 template <typename DetectorModelVersionT = Aws::String>
62 void SetDetectorModelVersion(DetectorModelVersionT&& value) {
63 m_detectorModelVersionHasBeenSet = true;
64 m_detectorModelVersion = std::forward<DetectorModelVersionT>(value);
65 }
66 template <typename DetectorModelVersionT = Aws::String>
67 DetectorModelVersionSummary& WithDetectorModelVersion(DetectorModelVersionT&& value) {
68 SetDetectorModelVersion(std::forward<DetectorModelVersionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDetectorModelArn() const { return m_detectorModelArn; }
78 inline bool DetectorModelArnHasBeenSet() const { return m_detectorModelArnHasBeenSet; }
79 template <typename DetectorModelArnT = Aws::String>
80 void SetDetectorModelArn(DetectorModelArnT&& value) {
81 m_detectorModelArnHasBeenSet = true;
82 m_detectorModelArn = std::forward<DetectorModelArnT>(value);
83 }
84 template <typename DetectorModelArnT = Aws::String>
86 SetDetectorModelArn(std::forward<DetectorModelArnT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
97 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
98 template <typename RoleArnT = Aws::String>
99 void SetRoleArn(RoleArnT&& value) {
100 m_roleArnHasBeenSet = true;
101 m_roleArn = std::forward<RoleArnT>(value);
102 }
103 template <typename RoleArnT = Aws::String>
105 SetRoleArn(std::forward<RoleArnT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 template <typename CreationTimeT = Aws::Utils::DateTime>
117 void SetCreationTime(CreationTimeT&& value) {
118 m_creationTimeHasBeenSet = true;
119 m_creationTime = std::forward<CreationTimeT>(value);
120 }
121 template <typename CreationTimeT = Aws::Utils::DateTime>
123 SetCreationTime(std::forward<CreationTimeT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
133 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
134 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
135 void SetLastUpdateTime(LastUpdateTimeT&& value) {
136 m_lastUpdateTimeHasBeenSet = true;
137 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
138 }
139 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
141 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
142 return *this;
143 }
145
147
150 inline DetectorModelVersionStatus GetStatus() const { return m_status; }
151 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
153 m_statusHasBeenSet = true;
154 m_status = value;
155 }
157 SetStatus(value);
158 return *this;
159 }
161
163
167 inline EvaluationMethod GetEvaluationMethod() const { return m_evaluationMethod; }
168 inline bool EvaluationMethodHasBeenSet() const { return m_evaluationMethodHasBeenSet; }
170 m_evaluationMethodHasBeenSet = true;
171 m_evaluationMethod = value;
172 }
174 SetEvaluationMethod(value);
175 return *this;
176 }
178 private:
179 Aws::String m_detectorModelName;
180
181 Aws::String m_detectorModelVersion;
182
183 Aws::String m_detectorModelArn;
184
185 Aws::String m_roleArn;
186
187 Aws::Utils::DateTime m_creationTime{};
188
189 Aws::Utils::DateTime m_lastUpdateTime{};
190
192
194 bool m_detectorModelNameHasBeenSet = false;
195 bool m_detectorModelVersionHasBeenSet = false;
196 bool m_detectorModelArnHasBeenSet = false;
197 bool m_roleArnHasBeenSet = false;
198 bool m_creationTimeHasBeenSet = false;
199 bool m_lastUpdateTimeHasBeenSet = false;
200 bool m_statusHasBeenSet = false;
201 bool m_evaluationMethodHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace IoTEvents
206} // namespace Aws
DetectorModelVersionSummary & WithDetectorModelArn(DetectorModelArnT &&value)
DetectorModelVersionSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
DetectorModelVersionSummary & WithEvaluationMethod(EvaluationMethod value)
DetectorModelVersionSummary & WithStatus(DetectorModelVersionStatus value)
DetectorModelVersionSummary & WithDetectorModelName(DetectorModelNameT &&value)
DetectorModelVersionSummary & WithRoleArn(RoleArnT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
DetectorModelVersionSummary & WithCreationTime(CreationTimeT &&value)
AWS_IOTEVENTS_API DetectorModelVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API DetectorModelVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorModelVersionSummary & WithDetectorModelVersion(DetectorModelVersionT &&value)
AWS_IOTEVENTS_API DetectorModelVersionSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue