AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DetectorModelConfiguration.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iotevents/model/DetectorModelVersionStatus.h>
11#include <aws/iotevents/model/EvaluationMethod.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTEvents
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTEVENTS_API DetectorModelConfiguration() = default;
41 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDetectorModelName() const { return m_detectorModelName; }
49 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
50 template<typename DetectorModelNameT = Aws::String>
51 void SetDetectorModelName(DetectorModelNameT&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::forward<DetectorModelNameT>(value); }
52 template<typename DetectorModelNameT = Aws::String>
53 DetectorModelConfiguration& WithDetectorModelName(DetectorModelNameT&& value) { SetDetectorModelName(std::forward<DetectorModelNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDetectorModelVersion() const { return m_detectorModelVersion; }
61 inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
62 template<typename DetectorModelVersionT = Aws::String>
63 void SetDetectorModelVersion(DetectorModelVersionT&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::forward<DetectorModelVersionT>(value); }
64 template<typename DetectorModelVersionT = Aws::String>
65 DetectorModelConfiguration& WithDetectorModelVersion(DetectorModelVersionT&& value) { SetDetectorModelVersion(std::forward<DetectorModelVersionT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDetectorModelDescription() const { return m_detectorModelDescription; }
73 inline bool DetectorModelDescriptionHasBeenSet() const { return m_detectorModelDescriptionHasBeenSet; }
74 template<typename DetectorModelDescriptionT = Aws::String>
75 void SetDetectorModelDescription(DetectorModelDescriptionT&& value) { m_detectorModelDescriptionHasBeenSet = true; m_detectorModelDescription = std::forward<DetectorModelDescriptionT>(value); }
76 template<typename DetectorModelDescriptionT = Aws::String>
77 DetectorModelConfiguration& WithDetectorModelDescription(DetectorModelDescriptionT&& value) { SetDetectorModelDescription(std::forward<DetectorModelDescriptionT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDetectorModelArn() const { return m_detectorModelArn; }
85 inline bool DetectorModelArnHasBeenSet() const { return m_detectorModelArnHasBeenSet; }
86 template<typename DetectorModelArnT = Aws::String>
87 void SetDetectorModelArn(DetectorModelArnT&& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = std::forward<DetectorModelArnT>(value); }
88 template<typename DetectorModelArnT = Aws::String>
89 DetectorModelConfiguration& WithDetectorModelArn(DetectorModelArnT&& value) { SetDetectorModelArn(std::forward<DetectorModelArnT>(value)); return *this;}
91
93
97 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
98 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
99 template<typename RoleArnT = Aws::String>
100 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
101 template<typename RoleArnT = Aws::String>
102 DetectorModelConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
110 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
111 template<typename CreationTimeT = Aws::Utils::DateTime>
112 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
113 template<typename CreationTimeT = Aws::Utils::DateTime>
114 DetectorModelConfiguration& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
122 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
123 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
124 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
125 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
126 DetectorModelConfiguration& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
128
130
133 inline DetectorModelVersionStatus GetStatus() const { return m_status; }
134 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 inline void SetStatus(DetectorModelVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
138
140
150 inline const Aws::String& GetKey() const { return m_key; }
151 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
152 template<typename KeyT = Aws::String>
153 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
154 template<typename KeyT = Aws::String>
155 DetectorModelConfiguration& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
157
159
163 inline EvaluationMethod GetEvaluationMethod() const { return m_evaluationMethod; }
164 inline bool EvaluationMethodHasBeenSet() const { return m_evaluationMethodHasBeenSet; }
165 inline void SetEvaluationMethod(EvaluationMethod value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = value; }
168 private:
169
170 Aws::String m_detectorModelName;
171 bool m_detectorModelNameHasBeenSet = false;
172
173 Aws::String m_detectorModelVersion;
174 bool m_detectorModelVersionHasBeenSet = false;
175
176 Aws::String m_detectorModelDescription;
177 bool m_detectorModelDescriptionHasBeenSet = false;
178
179 Aws::String m_detectorModelArn;
180 bool m_detectorModelArnHasBeenSet = false;
181
182 Aws::String m_roleArn;
183 bool m_roleArnHasBeenSet = false;
184
185 Aws::Utils::DateTime m_creationTime{};
186 bool m_creationTimeHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastUpdateTime{};
189 bool m_lastUpdateTimeHasBeenSet = false;
190
192 bool m_statusHasBeenSet = false;
193
194 Aws::String m_key;
195 bool m_keyHasBeenSet = false;
196
198 bool m_evaluationMethodHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace IoTEvents
203} // namespace Aws
AWS_IOTEVENTS_API DetectorModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorModelConfiguration & WithLastUpdateTime(LastUpdateTimeT &&value)
DetectorModelConfiguration & WithDetectorModelDescription(DetectorModelDescriptionT &&value)
AWS_IOTEVENTS_API DetectorModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
DetectorModelConfiguration & WithDetectorModelName(DetectorModelNameT &&value)
void SetDetectorModelDescription(DetectorModelDescriptionT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
DetectorModelConfiguration & WithCreationTime(CreationTimeT &&value)
DetectorModelConfiguration & WithRoleArn(RoleArnT &&value)
DetectorModelConfiguration & WithDetectorModelVersion(DetectorModelVersionT &&value)
DetectorModelConfiguration & WithDetectorModelArn(DetectorModelArnT &&value)
DetectorModelConfiguration & WithStatus(DetectorModelVersionStatus value)
DetectorModelConfiguration & WithEvaluationMethod(EvaluationMethod value)
AWS_IOTEVENTS_API DetectorModelConfiguration()=default
void SetDetectorModelVersion(DetectorModelVersionT &&value)
DetectorModelConfiguration & WithKey(KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue