AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ModelVersionSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lookoutequipment/model/ModelVersionStatus.h>
11#include <aws/lookoutequipment/model/ModelVersionSourceType.h>
12#include <aws/lookoutequipment/model/ModelQuality.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LookoutEquipment
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary() = default;
40 AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetModelName() const { return m_modelName; }
50 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
51 template<typename ModelNameT = Aws::String>
52 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
53 template<typename ModelNameT = Aws::String>
54 ModelVersionSummary& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
56
58
62 inline const Aws::String& GetModelArn() const { return m_modelArn; }
63 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
64 template<typename ModelArnT = Aws::String>
65 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
66 template<typename ModelArnT = Aws::String>
67 ModelVersionSummary& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
69
71
74 inline long long GetModelVersion() const { return m_modelVersion; }
75 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
76 inline void SetModelVersion(long long value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
77 inline ModelVersionSummary& WithModelVersion(long long value) { SetModelVersion(value); return *this;}
79
81
84 inline const Aws::String& GetModelVersionArn() const { return m_modelVersionArn; }
85 inline bool ModelVersionArnHasBeenSet() const { return m_modelVersionArnHasBeenSet; }
86 template<typename ModelVersionArnT = Aws::String>
87 void SetModelVersionArn(ModelVersionArnT&& value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn = std::forward<ModelVersionArnT>(value); }
88 template<typename ModelVersionArnT = Aws::String>
89 ModelVersionSummary& WithModelVersionArn(ModelVersionArnT&& value) { SetModelVersionArn(std::forward<ModelVersionArnT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 template<typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
100 template<typename CreatedAtT = Aws::Utils::DateTime>
101 ModelVersionSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
103
105
108 inline ModelVersionStatus GetStatus() const { return m_status; }
109 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
110 inline void SetStatus(ModelVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
111 inline ModelVersionSummary& WithStatus(ModelVersionStatus value) { SetStatus(value); return *this;}
113
115
118 inline ModelVersionSourceType GetSourceType() const { return m_sourceType; }
119 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
120 inline void SetSourceType(ModelVersionSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
123
125
137 inline ModelQuality GetModelQuality() const { return m_modelQuality; }
138 inline bool ModelQualityHasBeenSet() const { return m_modelQualityHasBeenSet; }
139 inline void SetModelQuality(ModelQuality value) { m_modelQualityHasBeenSet = true; m_modelQuality = value; }
140 inline ModelVersionSummary& WithModelQuality(ModelQuality value) { SetModelQuality(value); return *this;}
142 private:
143
144 Aws::String m_modelName;
145 bool m_modelNameHasBeenSet = false;
146
147 Aws::String m_modelArn;
148 bool m_modelArnHasBeenSet = false;
149
150 long long m_modelVersion{0};
151 bool m_modelVersionHasBeenSet = false;
152
153 Aws::String m_modelVersionArn;
154 bool m_modelVersionArnHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdAt{};
157 bool m_createdAtHasBeenSet = false;
158
160 bool m_statusHasBeenSet = false;
161
163 bool m_sourceTypeHasBeenSet = false;
164
165 ModelQuality m_modelQuality{ModelQuality::NOT_SET};
166 bool m_modelQualityHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace LookoutEquipment
171} // namespace Aws
ModelVersionSummary & WithStatus(ModelVersionStatus value)
ModelVersionSummary & WithModelName(ModelNameT &&value)
ModelVersionSummary & WithCreatedAt(CreatedAtT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVersionSummary & WithModelVersion(long long value)
ModelVersionSummary & WithModelVersionArn(ModelVersionArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelVersionSummary & WithModelQuality(ModelQuality value)
AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ModelVersionSummary & WithModelArn(ModelArnT &&value)
ModelVersionSummary & WithSourceType(ModelVersionSourceType value)
AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue