AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectorModelVersionSummary.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
35 {
36 public:
37 AWS_IOTEVENTS_API DetectorModelVersionSummary();
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; }
48 inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
49 inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
50 inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
51 inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
53 inline DetectorModelVersionSummary& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
54 inline DetectorModelVersionSummary& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
56
58
61 inline const Aws::String& GetDetectorModelVersion() const{ return m_detectorModelVersion; }
62 inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
63 inline void SetDetectorModelVersion(const Aws::String& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = value; }
64 inline void SetDetectorModelVersion(Aws::String&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::move(value); }
65 inline void SetDetectorModelVersion(const char* value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion.assign(value); }
68 inline DetectorModelVersionSummary& WithDetectorModelVersion(const char* value) { SetDetectorModelVersion(value); return *this;}
70
72
75 inline const Aws::String& GetDetectorModelArn() const{ return m_detectorModelArn; }
76 inline bool DetectorModelArnHasBeenSet() const { return m_detectorModelArnHasBeenSet; }
77 inline void SetDetectorModelArn(const Aws::String& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = value; }
78 inline void SetDetectorModelArn(Aws::String&& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = std::move(value); }
79 inline void SetDetectorModelArn(const char* value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn.assign(value); }
81 inline DetectorModelVersionSummary& WithDetectorModelArn(Aws::String&& value) { SetDetectorModelArn(std::move(value)); return *this;}
82 inline DetectorModelVersionSummary& WithDetectorModelArn(const char* value) { SetDetectorModelArn(value); return *this;}
84
86
90 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
91 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
92 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
93 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
94 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
95 inline DetectorModelVersionSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
96 inline DetectorModelVersionSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
97 inline DetectorModelVersionSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
109 inline DetectorModelVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
117 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
118 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
119 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
123
125
128 inline const DetectorModelVersionStatus& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const DetectorModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(DetectorModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline DetectorModelVersionSummary& WithStatus(const DetectorModelVersionStatus& value) { SetStatus(value); return *this;}
133 inline DetectorModelVersionSummary& WithStatus(DetectorModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
135
137
141 inline const EvaluationMethod& GetEvaluationMethod() const{ return m_evaluationMethod; }
142 inline bool EvaluationMethodHasBeenSet() const { return m_evaluationMethodHasBeenSet; }
143 inline void SetEvaluationMethod(const EvaluationMethod& value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = value; }
144 inline void SetEvaluationMethod(EvaluationMethod&& value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = std::move(value); }
148 private:
149
150 Aws::String m_detectorModelName;
151 bool m_detectorModelNameHasBeenSet = false;
152
153 Aws::String m_detectorModelVersion;
154 bool m_detectorModelVersionHasBeenSet = false;
155
156 Aws::String m_detectorModelArn;
157 bool m_detectorModelArnHasBeenSet = false;
158
159 Aws::String m_roleArn;
160 bool m_roleArnHasBeenSet = false;
161
162 Aws::Utils::DateTime m_creationTime;
163 bool m_creationTimeHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastUpdateTime;
166 bool m_lastUpdateTimeHasBeenSet = false;
167
169 bool m_statusHasBeenSet = false;
170
171 EvaluationMethod m_evaluationMethod;
172 bool m_evaluationMethodHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace IoTEvents
177} // namespace Aws
DetectorModelVersionSummary & WithDetectorModelName(Aws::String &&value)
DetectorModelVersionSummary & WithDetectorModelArn(const char *value)
DetectorModelVersionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
DetectorModelVersionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
DetectorModelVersionSummary & WithStatus(const DetectorModelVersionStatus &value)
DetectorModelVersionSummary & WithDetectorModelVersion(Aws::String &&value)
DetectorModelVersionSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
DetectorModelVersionSummary & WithDetectorModelName(const Aws::String &value)
DetectorModelVersionSummary & WithDetectorModelVersion(const Aws::String &value)
DetectorModelVersionSummary & WithEvaluationMethod(const EvaluationMethod &value)
DetectorModelVersionSummary & WithEvaluationMethod(EvaluationMethod &&value)
void SetStatus(const DetectorModelVersionStatus &value)
DetectorModelVersionSummary & WithDetectorModelArn(const Aws::String &value)
DetectorModelVersionSummary & WithRoleArn(Aws::String &&value)
const DetectorModelVersionStatus & GetStatus() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API DetectorModelVersionSummary(Aws::Utils::Json::JsonView jsonValue)
DetectorModelVersionSummary & WithRoleArn(const Aws::String &value)
AWS_IOTEVENTS_API DetectorModelVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorModelVersionSummary & WithStatus(DetectorModelVersionStatus &&value)
DetectorModelVersionSummary & WithDetectorModelVersion(const char *value)
DetectorModelVersionSummary & WithDetectorModelName(const char *value)
DetectorModelVersionSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
DetectorModelVersionSummary & WithRoleArn(const char *value)
DetectorModelVersionSummary & WithDetectorModelArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue