AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DetectorModelNameT = Aws::String>
50 void SetDetectorModelName(DetectorModelNameT&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::forward<DetectorModelNameT>(value); }
51 template<typename DetectorModelNameT = Aws::String>
52 DetectorModelVersionSummary& WithDetectorModelName(DetectorModelNameT&& value) { SetDetectorModelName(std::forward<DetectorModelNameT>(value)); return *this;}
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) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::forward<DetectorModelVersionT>(value); }
63 template<typename DetectorModelVersionT = Aws::String>
64 DetectorModelVersionSummary& WithDetectorModelVersion(DetectorModelVersionT&& value) { SetDetectorModelVersion(std::forward<DetectorModelVersionT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDetectorModelArn() const { return m_detectorModelArn; }
72 inline bool DetectorModelArnHasBeenSet() const { return m_detectorModelArnHasBeenSet; }
73 template<typename DetectorModelArnT = Aws::String>
74 void SetDetectorModelArn(DetectorModelArnT&& value) { m_detectorModelArnHasBeenSet = true; m_detectorModelArn = std::forward<DetectorModelArnT>(value); }
75 template<typename DetectorModelArnT = Aws::String>
76 DetectorModelVersionSummary& WithDetectorModelArn(DetectorModelArnT&& value) { SetDetectorModelArn(std::forward<DetectorModelArnT>(value)); return *this;}
78
80
84 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
85 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
86 template<typename RoleArnT = Aws::String>
87 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
88 template<typename RoleArnT = Aws::String>
89 DetectorModelVersionSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 DetectorModelVersionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
109 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
110 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
111 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
112 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
113 DetectorModelVersionSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
115
117
120 inline DetectorModelVersionStatus GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(DetectorModelVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
125
127
131 inline EvaluationMethod GetEvaluationMethod() const { return m_evaluationMethod; }
132 inline bool EvaluationMethodHasBeenSet() const { return m_evaluationMethodHasBeenSet; }
133 inline void SetEvaluationMethod(EvaluationMethod value) { m_evaluationMethodHasBeenSet = true; m_evaluationMethod = value; }
136 private:
137
138 Aws::String m_detectorModelName;
139 bool m_detectorModelNameHasBeenSet = false;
140
141 Aws::String m_detectorModelVersion;
142 bool m_detectorModelVersionHasBeenSet = false;
143
144 Aws::String m_detectorModelArn;
145 bool m_detectorModelArnHasBeenSet = false;
146
147 Aws::String m_roleArn;
148 bool m_roleArnHasBeenSet = false;
149
150 Aws::Utils::DateTime m_creationTime{};
151 bool m_creationTimeHasBeenSet = false;
152
153 Aws::Utils::DateTime m_lastUpdateTime{};
154 bool m_lastUpdateTimeHasBeenSet = false;
155
157 bool m_statusHasBeenSet = false;
158
160 bool m_evaluationMethodHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace IoTEvents
165} // 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