AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
51 inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
52 inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
54 inline DetectorModelConfiguration& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
55 inline DetectorModelConfiguration& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
57
59
62 inline const Aws::String& GetDetectorModelVersion() const{ return m_detectorModelVersion; }
63 inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
64 inline void SetDetectorModelVersion(const Aws::String& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = value; }
65 inline void SetDetectorModelVersion(Aws::String&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::move(value); }
66 inline void SetDetectorModelVersion(const char* value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion.assign(value); }
69 inline DetectorModelConfiguration& WithDetectorModelVersion(const char* value) { SetDetectorModelVersion(value); return *this;}
71
73
76 inline const Aws::String& GetDetectorModelDescription() const{ return m_detectorModelDescription; }
77 inline bool DetectorModelDescriptionHasBeenSet() const { return m_detectorModelDescriptionHasBeenSet; }
78 inline void SetDetectorModelDescription(const Aws::String& value) { m_detectorModelDescriptionHasBeenSet = true; m_detectorModelDescription = value; }
79 inline void SetDetectorModelDescription(Aws::String&& value) { m_detectorModelDescriptionHasBeenSet = true; m_detectorModelDescription = std::move(value); }
80 inline void SetDetectorModelDescription(const char* value) { m_detectorModelDescriptionHasBeenSet = true; m_detectorModelDescription.assign(value); }
85
87
90 inline const Aws::String& GetDetectorModelArn() const{ return m_detectorModelArn; }
91 inline bool DetectorModelArnHasBeenSet() const { return m_detectorModelArnHasBeenSet; }
92 inline void SetDetectorModelArn(const Aws::String& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = value; }
93 inline void SetDetectorModelArn(Aws::String&& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = std::move(value); }
94 inline void SetDetectorModelArn(const char* value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn.assign(value); }
96 inline DetectorModelConfiguration& WithDetectorModelArn(Aws::String&& value) { SetDetectorModelArn(std::move(value)); return *this;}
97 inline DetectorModelConfiguration& WithDetectorModelArn(const char* value) { SetDetectorModelArn(value); return *this;}
99
101
105 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
106 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
107 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
108 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
109 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
110 inline DetectorModelConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
111 inline DetectorModelConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
112 inline DetectorModelConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
120 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
121 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
122 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
124 inline DetectorModelConfiguration& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
132 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
133 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
134 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
136 inline DetectorModelConfiguration& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
138
140
143 inline const DetectorModelVersionStatus& GetStatus() const{ return m_status; }
144 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
145 inline void SetStatus(const DetectorModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
146 inline void SetStatus(DetectorModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 inline DetectorModelConfiguration& WithStatus(const DetectorModelVersionStatus& value) { SetStatus(value); return *this;}
148 inline DetectorModelConfiguration& WithStatus(DetectorModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
150
152
162 inline const Aws::String& GetKey() const{ return m_key; }
163 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
164 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
165 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
166 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
167 inline DetectorModelConfiguration& WithKey(const Aws::String& value) { SetKey(value); return *this;}
168 inline DetectorModelConfiguration& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
169 inline DetectorModelConfiguration& WithKey(const char* value) { SetKey(value); return *this;}
171
173
177 inline const EvaluationMethod& GetEvaluationMethod() const{ return m_evaluationMethod; }
178 inline bool EvaluationMethodHasBeenSet() const { return m_evaluationMethodHasBeenSet; }
179 inline void SetEvaluationMethod(const EvaluationMethod& value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = value; }
180 inline void SetEvaluationMethod(EvaluationMethod&& value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = std::move(value); }
182 inline DetectorModelConfiguration& WithEvaluationMethod(EvaluationMethod&& value) { SetEvaluationMethod(std::move(value)); return *this;}
184 private:
185
186 Aws::String m_detectorModelName;
187 bool m_detectorModelNameHasBeenSet = false;
188
189 Aws::String m_detectorModelVersion;
190 bool m_detectorModelVersionHasBeenSet = false;
191
192 Aws::String m_detectorModelDescription;
193 bool m_detectorModelDescriptionHasBeenSet = false;
194
195 Aws::String m_detectorModelArn;
196 bool m_detectorModelArnHasBeenSet = false;
197
198 Aws::String m_roleArn;
199 bool m_roleArnHasBeenSet = false;
200
201 Aws::Utils::DateTime m_creationTime;
202 bool m_creationTimeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastUpdateTime;
205 bool m_lastUpdateTimeHasBeenSet = false;
206
208 bool m_statusHasBeenSet = false;
209
210 Aws::String m_key;
211 bool m_keyHasBeenSet = false;
212
213 EvaluationMethod m_evaluationMethod;
214 bool m_evaluationMethodHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace IoTEvents
219} // namespace Aws
DetectorModelConfiguration & WithDetectorModelArn(const Aws::String &value)
DetectorModelConfiguration & WithKey(Aws::String &&value)
DetectorModelConfiguration & WithRoleArn(const Aws::String &value)
AWS_IOTEVENTS_API DetectorModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorModelConfiguration & WithRoleArn(const char *value)
DetectorModelConfiguration & WithDetectorModelArn(const char *value)
DetectorModelConfiguration & WithDetectorModelVersion(const char *value)
DetectorModelConfiguration & WithCreationTime(Aws::Utils::DateTime &&value)
DetectorModelConfiguration & WithDetectorModelVersion(Aws::String &&value)
DetectorModelConfiguration & WithStatus(DetectorModelVersionStatus &&value)
DetectorModelConfiguration & WithDetectorModelName(const char *value)
DetectorModelConfiguration & WithEvaluationMethod(const EvaluationMethod &value)
DetectorModelConfiguration & WithKey(const char *value)
DetectorModelConfiguration & WithDetectorModelVersion(const Aws::String &value)
DetectorModelConfiguration & WithDetectorModelDescription(const Aws::String &value)
DetectorModelConfiguration & WithRoleArn(Aws::String &&value)
AWS_IOTEVENTS_API DetectorModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
DetectorModelConfiguration & WithDetectorModelArn(Aws::String &&value)
DetectorModelConfiguration & WithCreationTime(const Aws::Utils::DateTime &value)
DetectorModelConfiguration & WithKey(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
DetectorModelConfiguration & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetStatus(const DetectorModelVersionStatus &value)
DetectorModelConfiguration & WithStatus(const DetectorModelVersionStatus &value)
DetectorModelConfiguration & WithDetectorModelName(const Aws::String &value)
DetectorModelConfiguration & WithDetectorModelDescription(Aws::String &&value)
DetectorModelConfiguration & WithEvaluationMethod(EvaluationMethod &&value)
DetectorModelConfiguration & WithLastUpdateTime(const Aws::Utils::DateTime &value)
const DetectorModelVersionStatus & GetStatus() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
DetectorModelConfiguration & WithDetectorModelDescription(const char *value)
DetectorModelConfiguration & WithDetectorModelName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue