AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
FlywheelSummary.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/FlywheelStatus.h>
9#include <aws/comprehend/model/ModelType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Comprehend {
23namespace Model {
24
31 public:
32 AWS_COMPREHEND_API FlywheelSummary() = default;
33 AWS_COMPREHEND_API FlywheelSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
42 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
43 template <typename FlywheelArnT = Aws::String>
44 void SetFlywheelArn(FlywheelArnT&& value) {
45 m_flywheelArnHasBeenSet = true;
46 m_flywheelArn = std::forward<FlywheelArnT>(value);
47 }
48 template <typename FlywheelArnT = Aws::String>
49 FlywheelSummary& WithFlywheelArn(FlywheelArnT&& value) {
50 SetFlywheelArn(std::forward<FlywheelArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetActiveModelArn() const { return m_activeModelArn; }
60 inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; }
61 template <typename ActiveModelArnT = Aws::String>
62 void SetActiveModelArn(ActiveModelArnT&& value) {
63 m_activeModelArnHasBeenSet = true;
64 m_activeModelArn = std::forward<ActiveModelArnT>(value);
65 }
66 template <typename ActiveModelArnT = Aws::String>
67 FlywheelSummary& WithActiveModelArn(ActiveModelArnT&& value) {
68 SetActiveModelArn(std::forward<ActiveModelArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDataLakeS3Uri() const { return m_dataLakeS3Uri; }
78 inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; }
79 template <typename DataLakeS3UriT = Aws::String>
80 void SetDataLakeS3Uri(DataLakeS3UriT&& value) {
81 m_dataLakeS3UriHasBeenSet = true;
82 m_dataLakeS3Uri = std::forward<DataLakeS3UriT>(value);
83 }
84 template <typename DataLakeS3UriT = Aws::String>
85 FlywheelSummary& WithDataLakeS3Uri(DataLakeS3UriT&& value) {
86 SetDataLakeS3Uri(std::forward<DataLakeS3UriT>(value));
87 return *this;
88 }
90
92
95 inline FlywheelStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(FlywheelStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106
108
111 inline ModelType GetModelType() const { return m_modelType; }
112 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
113 inline void SetModelType(ModelType value) {
114 m_modelTypeHasBeenSet = true;
115 m_modelType = value;
116 }
118 SetModelType(value);
119 return *this;
120 }
122
124
127 inline const Aws::String& GetMessage() const { return m_message; }
128 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
129 template <typename MessageT = Aws::String>
130 void SetMessage(MessageT&& value) {
131 m_messageHasBeenSet = true;
132 m_message = std::forward<MessageT>(value);
133 }
134 template <typename MessageT = Aws::String>
135 FlywheelSummary& WithMessage(MessageT&& value) {
136 SetMessage(std::forward<MessageT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
146 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
147 template <typename CreationTimeT = Aws::Utils::DateTime>
148 void SetCreationTime(CreationTimeT&& value) {
149 m_creationTimeHasBeenSet = true;
150 m_creationTime = std::forward<CreationTimeT>(value);
151 }
152 template <typename CreationTimeT = Aws::Utils::DateTime>
153 FlywheelSummary& WithCreationTime(CreationTimeT&& value) {
154 SetCreationTime(std::forward<CreationTimeT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
164 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
165 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
166 void SetLastModifiedTime(LastModifiedTimeT&& value) {
167 m_lastModifiedTimeHasBeenSet = true;
168 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
169 }
170 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
171 FlywheelSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
172 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetLatestFlywheelIteration() const { return m_latestFlywheelIteration; }
182 inline bool LatestFlywheelIterationHasBeenSet() const { return m_latestFlywheelIterationHasBeenSet; }
183 template <typename LatestFlywheelIterationT = Aws::String>
184 void SetLatestFlywheelIteration(LatestFlywheelIterationT&& value) {
185 m_latestFlywheelIterationHasBeenSet = true;
186 m_latestFlywheelIteration = std::forward<LatestFlywheelIterationT>(value);
187 }
188 template <typename LatestFlywheelIterationT = Aws::String>
189 FlywheelSummary& WithLatestFlywheelIteration(LatestFlywheelIterationT&& value) {
190 SetLatestFlywheelIteration(std::forward<LatestFlywheelIterationT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_flywheelArn;
196
197 Aws::String m_activeModelArn;
198
199 Aws::String m_dataLakeS3Uri;
200
202
203 ModelType m_modelType{ModelType::NOT_SET};
204
205 Aws::String m_message;
206
207 Aws::Utils::DateTime m_creationTime{};
208
209 Aws::Utils::DateTime m_lastModifiedTime{};
210
211 Aws::String m_latestFlywheelIteration;
212 bool m_flywheelArnHasBeenSet = false;
213 bool m_activeModelArnHasBeenSet = false;
214 bool m_dataLakeS3UriHasBeenSet = false;
215 bool m_statusHasBeenSet = false;
216 bool m_modelTypeHasBeenSet = false;
217 bool m_messageHasBeenSet = false;
218 bool m_creationTimeHasBeenSet = false;
219 bool m_lastModifiedTimeHasBeenSet = false;
220 bool m_latestFlywheelIterationHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace Comprehend
225} // namespace Aws
const Aws::String & GetLatestFlywheelIteration() const
FlywheelSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetDataLakeS3Uri(DataLakeS3UriT &&value)
FlywheelSummary & WithActiveModelArn(ActiveModelArnT &&value)
void SetActiveModelArn(ActiveModelArnT &&value)
FlywheelSummary & WithLatestFlywheelIteration(LatestFlywheelIterationT &&value)
const Aws::String & GetDataLakeS3Uri() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFlywheelArn() const
FlywheelSummary & WithDataLakeS3Uri(DataLakeS3UriT &&value)
void SetFlywheelArn(FlywheelArnT &&value)
FlywheelSummary & WithStatus(FlywheelStatus value)
const Aws::String & GetMessage() const
AWS_COMPREHEND_API FlywheelSummary()=default
FlywheelSummary & WithCreationTime(CreationTimeT &&value)
void SetLatestFlywheelIteration(LatestFlywheelIterationT &&value)
FlywheelSummary & WithFlywheelArn(FlywheelArnT &&value)
AWS_COMPREHEND_API FlywheelSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetStatus(FlywheelStatus value)
const Aws::String & GetActiveModelArn() const
FlywheelSummary & WithMessage(MessageT &&value)
void SetCreationTime(CreationTimeT &&value)
FlywheelSummary & WithModelType(ModelType value)
AWS_COMPREHEND_API FlywheelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue