AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
FlywheelProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/DataSecurityConfig.h>
9#include <aws/comprehend/model/FlywheelStatus.h>
10#include <aws/comprehend/model/ModelType.h>
11#include <aws/comprehend/model/TaskConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend {
25namespace Model {
26
33 public:
34 AWS_COMPREHEND_API FlywheelProperties() = default;
35 AWS_COMPREHEND_API FlywheelProperties(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
44 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
45 template <typename FlywheelArnT = Aws::String>
46 void SetFlywheelArn(FlywheelArnT&& value) {
47 m_flywheelArnHasBeenSet = true;
48 m_flywheelArn = std::forward<FlywheelArnT>(value);
49 }
50 template <typename FlywheelArnT = Aws::String>
51 FlywheelProperties& WithFlywheelArn(FlywheelArnT&& value) {
52 SetFlywheelArn(std::forward<FlywheelArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetActiveModelArn() const { return m_activeModelArn; }
62 inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; }
63 template <typename ActiveModelArnT = Aws::String>
64 void SetActiveModelArn(ActiveModelArnT&& value) {
65 m_activeModelArnHasBeenSet = true;
66 m_activeModelArn = std::forward<ActiveModelArnT>(value);
67 }
68 template <typename ActiveModelArnT = Aws::String>
69 FlywheelProperties& WithActiveModelArn(ActiveModelArnT&& value) {
70 SetActiveModelArn(std::forward<ActiveModelArnT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
81 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
82 template <typename DataAccessRoleArnT = Aws::String>
83 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
84 m_dataAccessRoleArnHasBeenSet = true;
85 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
86 }
87 template <typename DataAccessRoleArnT = Aws::String>
88 FlywheelProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) {
89 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
90 return *this;
91 }
93
95
98 inline const TaskConfig& GetTaskConfig() const { return m_taskConfig; }
99 inline bool TaskConfigHasBeenSet() const { return m_taskConfigHasBeenSet; }
100 template <typename TaskConfigT = TaskConfig>
101 void SetTaskConfig(TaskConfigT&& value) {
102 m_taskConfigHasBeenSet = true;
103 m_taskConfig = std::forward<TaskConfigT>(value);
104 }
105 template <typename TaskConfigT = TaskConfig>
106 FlywheelProperties& WithTaskConfig(TaskConfigT&& value) {
107 SetTaskConfig(std::forward<TaskConfigT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetDataLakeS3Uri() const { return m_dataLakeS3Uri; }
117 inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; }
118 template <typename DataLakeS3UriT = Aws::String>
119 void SetDataLakeS3Uri(DataLakeS3UriT&& value) {
120 m_dataLakeS3UriHasBeenSet = true;
121 m_dataLakeS3Uri = std::forward<DataLakeS3UriT>(value);
122 }
123 template <typename DataLakeS3UriT = Aws::String>
124 FlywheelProperties& WithDataLakeS3Uri(DataLakeS3UriT&& value) {
125 SetDataLakeS3Uri(std::forward<DataLakeS3UriT>(value));
126 return *this;
127 }
129
131
134 inline const DataSecurityConfig& GetDataSecurityConfig() const { return m_dataSecurityConfig; }
135 inline bool DataSecurityConfigHasBeenSet() const { return m_dataSecurityConfigHasBeenSet; }
136 template <typename DataSecurityConfigT = DataSecurityConfig>
137 void SetDataSecurityConfig(DataSecurityConfigT&& value) {
138 m_dataSecurityConfigHasBeenSet = true;
139 m_dataSecurityConfig = std::forward<DataSecurityConfigT>(value);
140 }
141 template <typename DataSecurityConfigT = DataSecurityConfig>
142 FlywheelProperties& WithDataSecurityConfig(DataSecurityConfigT&& value) {
143 SetDataSecurityConfig(std::forward<DataSecurityConfigT>(value));
144 return *this;
145 }
147
149
152 inline FlywheelStatus GetStatus() const { return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(FlywheelStatus value) {
155 m_statusHasBeenSet = true;
156 m_status = value;
157 }
159 SetStatus(value);
160 return *this;
161 }
163
165
168 inline ModelType GetModelType() const { return m_modelType; }
169 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
170 inline void SetModelType(ModelType value) {
171 m_modelTypeHasBeenSet = true;
172 m_modelType = value;
173 }
175 SetModelType(value);
176 return *this;
177 }
179
181
184 inline const Aws::String& GetMessage() const { return m_message; }
185 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
186 template <typename MessageT = Aws::String>
187 void SetMessage(MessageT&& value) {
188 m_messageHasBeenSet = true;
189 m_message = std::forward<MessageT>(value);
190 }
191 template <typename MessageT = Aws::String>
192 FlywheelProperties& WithMessage(MessageT&& value) {
193 SetMessage(std::forward<MessageT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
203 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
204 template <typename CreationTimeT = Aws::Utils::DateTime>
205 void SetCreationTime(CreationTimeT&& value) {
206 m_creationTimeHasBeenSet = true;
207 m_creationTime = std::forward<CreationTimeT>(value);
208 }
209 template <typename CreationTimeT = Aws::Utils::DateTime>
210 FlywheelProperties& WithCreationTime(CreationTimeT&& value) {
211 SetCreationTime(std::forward<CreationTimeT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
221 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
222 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
223 void SetLastModifiedTime(LastModifiedTimeT&& value) {
224 m_lastModifiedTimeHasBeenSet = true;
225 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
226 }
227 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
228 FlywheelProperties& WithLastModifiedTime(LastModifiedTimeT&& value) {
229 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetLatestFlywheelIteration() const { return m_latestFlywheelIteration; }
239 inline bool LatestFlywheelIterationHasBeenSet() const { return m_latestFlywheelIterationHasBeenSet; }
240 template <typename LatestFlywheelIterationT = Aws::String>
241 void SetLatestFlywheelIteration(LatestFlywheelIterationT&& value) {
242 m_latestFlywheelIterationHasBeenSet = true;
243 m_latestFlywheelIteration = std::forward<LatestFlywheelIterationT>(value);
244 }
245 template <typename LatestFlywheelIterationT = Aws::String>
246 FlywheelProperties& WithLatestFlywheelIteration(LatestFlywheelIterationT&& value) {
247 SetLatestFlywheelIteration(std::forward<LatestFlywheelIterationT>(value));
248 return *this;
249 }
251 private:
252 Aws::String m_flywheelArn;
253
254 Aws::String m_activeModelArn;
255
256 Aws::String m_dataAccessRoleArn;
257
258 TaskConfig m_taskConfig;
259
260 Aws::String m_dataLakeS3Uri;
261
262 DataSecurityConfig m_dataSecurityConfig;
263
265
266 ModelType m_modelType{ModelType::NOT_SET};
267
268 Aws::String m_message;
269
270 Aws::Utils::DateTime m_creationTime{};
271
272 Aws::Utils::DateTime m_lastModifiedTime{};
273
274 Aws::String m_latestFlywheelIteration;
275 bool m_flywheelArnHasBeenSet = false;
276 bool m_activeModelArnHasBeenSet = false;
277 bool m_dataAccessRoleArnHasBeenSet = false;
278 bool m_taskConfigHasBeenSet = false;
279 bool m_dataLakeS3UriHasBeenSet = false;
280 bool m_dataSecurityConfigHasBeenSet = false;
281 bool m_statusHasBeenSet = false;
282 bool m_modelTypeHasBeenSet = false;
283 bool m_messageHasBeenSet = false;
284 bool m_creationTimeHasBeenSet = false;
285 bool m_lastModifiedTimeHasBeenSet = false;
286 bool m_latestFlywheelIterationHasBeenSet = false;
287};
288
289} // namespace Model
290} // namespace Comprehend
291} // namespace Aws
void SetDataSecurityConfig(DataSecurityConfigT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActiveModelArn(ActiveModelArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_COMPREHEND_API FlywheelProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
FlywheelProperties & WithTaskConfig(TaskConfigT &&value)
const Aws::String & GetActiveModelArn() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetLatestFlywheelIteration(LatestFlywheelIterationT &&value)
void SetDataLakeS3Uri(DataLakeS3UriT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetLatestFlywheelIteration() const
FlywheelProperties & WithLastModifiedTime(LastModifiedTimeT &&value)
FlywheelProperties & WithActiveModelArn(ActiveModelArnT &&value)
AWS_COMPREHEND_API FlywheelProperties()=default
const DataSecurityConfig & GetDataSecurityConfig() const
AWS_COMPREHEND_API FlywheelProperties(Aws::Utils::Json::JsonView jsonValue)
FlywheelProperties & WithStatus(FlywheelStatus value)
FlywheelProperties & WithDataSecurityConfig(DataSecurityConfigT &&value)
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
FlywheelProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
const Aws::String & GetDataAccessRoleArn() const
FlywheelProperties & WithLatestFlywheelIteration(LatestFlywheelIterationT &&value)
FlywheelProperties & WithDataLakeS3Uri(DataLakeS3UriT &&value)
FlywheelProperties & WithFlywheelArn(FlywheelArnT &&value)
FlywheelProperties & WithCreationTime(CreationTimeT &&value)
FlywheelProperties & WithMessage(MessageT &&value)
FlywheelProperties & WithModelType(ModelType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue