AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
52 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
53 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
54 inline ModelVersionSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
55 inline ModelVersionSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
56 inline ModelVersionSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
58
60
64 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
65 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
66 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
67 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
68 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
69 inline ModelVersionSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
70 inline ModelVersionSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
71 inline ModelVersionSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
73
75
78 inline long long GetModelVersion() const{ return m_modelVersion; }
79 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
80 inline void SetModelVersion(long long value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
81 inline ModelVersionSummary& WithModelVersion(long long value) { SetModelVersion(value); return *this;}
83
85
88 inline const Aws::String& GetModelVersionArn() const{ return m_modelVersionArn; }
89 inline bool ModelVersionArnHasBeenSet() const { return m_modelVersionArnHasBeenSet; }
90 inline void SetModelVersionArn(const Aws::String& value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn = value; }
91 inline void SetModelVersionArn(Aws::String&& value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn = std::move(value); }
92 inline void SetModelVersionArn(const char* value) { m_modelVersionArnHasBeenSet = true; m_modelVersionArn.assign(value); }
93 inline ModelVersionSummary& WithModelVersionArn(const Aws::String& value) { SetModelVersionArn(value); return *this;}
94 inline ModelVersionSummary& WithModelVersionArn(Aws::String&& value) { SetModelVersionArn(std::move(value)); return *this;}
95 inline ModelVersionSummary& WithModelVersionArn(const char* value) { SetModelVersionArn(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
103 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
106 inline ModelVersionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 inline ModelVersionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
109
111
114 inline const ModelVersionStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const ModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(ModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline ModelVersionSummary& WithStatus(const ModelVersionStatus& value) { SetStatus(value); return *this;}
119 inline ModelVersionSummary& WithStatus(ModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
126 inline const ModelVersionSourceType& GetSourceType() const{ return m_sourceType; }
127 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
128 inline void SetSourceType(const ModelVersionSourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
129 inline void SetSourceType(ModelVersionSourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
130 inline ModelVersionSummary& WithSourceType(const ModelVersionSourceType& value) { SetSourceType(value); return *this;}
131 inline ModelVersionSummary& WithSourceType(ModelVersionSourceType&& value) { SetSourceType(std::move(value)); return *this;}
133
135
147 inline const ModelQuality& GetModelQuality() const{ return m_modelQuality; }
148 inline bool ModelQualityHasBeenSet() const { return m_modelQualityHasBeenSet; }
149 inline void SetModelQuality(const ModelQuality& value) { m_modelQualityHasBeenSet = true; m_modelQuality = value; }
150 inline void SetModelQuality(ModelQuality&& value) { m_modelQualityHasBeenSet = true; m_modelQuality = std::move(value); }
151 inline ModelVersionSummary& WithModelQuality(const ModelQuality& value) { SetModelQuality(value); return *this;}
152 inline ModelVersionSummary& WithModelQuality(ModelQuality&& value) { SetModelQuality(std::move(value)); return *this;}
154 private:
155
156 Aws::String m_modelName;
157 bool m_modelNameHasBeenSet = false;
158
159 Aws::String m_modelArn;
160 bool m_modelArnHasBeenSet = false;
161
162 long long m_modelVersion;
163 bool m_modelVersionHasBeenSet = false;
164
165 Aws::String m_modelVersionArn;
166 bool m_modelVersionArnHasBeenSet = false;
167
168 Aws::Utils::DateTime m_createdAt;
169 bool m_createdAtHasBeenSet = false;
170
171 ModelVersionStatus m_status;
172 bool m_statusHasBeenSet = false;
173
174 ModelVersionSourceType m_sourceType;
175 bool m_sourceTypeHasBeenSet = false;
176
177 ModelQuality m_modelQuality;
178 bool m_modelQualityHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace LookoutEquipment
183} // namespace Aws
void SetStatus(const ModelVersionStatus &value)
ModelVersionSummary & WithSourceType(ModelVersionSourceType &&value)
ModelVersionSummary & WithModelVersionArn(const Aws::String &value)
void SetSourceType(const ModelVersionSourceType &value)
ModelVersionSummary & WithModelArn(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVersionSummary & WithModelVersion(long long value)
ModelVersionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ModelVersionSummary & WithModelVersionArn(const char *value)
void SetSourceType(ModelVersionSourceType &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ModelVersionSummary & WithStatus(const ModelVersionStatus &value)
ModelVersionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ModelVersionSummary & WithModelName(const char *value)
ModelVersionSummary & WithModelArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
ModelVersionSummary & WithStatus(ModelVersionStatus &&value)
ModelVersionSummary & WithModelName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelVersionSummary & WithModelQuality(ModelQuality &&value)
ModelVersionSummary & WithSourceType(const ModelVersionSourceType &value)
AWS_LOOKOUTEQUIPMENT_API ModelVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ModelVersionSummary & WithModelVersionArn(Aws::String &&value)
ModelVersionSummary & WithModelQuality(const ModelQuality &value)
ModelVersionSummary & WithModelName(const Aws::String &value)
ModelVersionSummary & WithModelArn(const char *value)
const ModelVersionSourceType & GetSourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue