AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlywheelProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/TaskConfig.h>
10#include <aws/comprehend/model/DataSecurityConfig.h>
11#include <aws/comprehend/model/FlywheelStatus.h>
12#include <aws/comprehend/model/ModelType.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_COMPREHEND_API FlywheelProperties();
40 AWS_COMPREHEND_API FlywheelProperties(Aws::Utils::Json::JsonView jsonValue);
42 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
50 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
51 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
52 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
53 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
54 inline FlywheelProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
55 inline FlywheelProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
56 inline FlywheelProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
58
60
63 inline const Aws::String& GetActiveModelArn() const{ return m_activeModelArn; }
64 inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; }
65 inline void SetActiveModelArn(const Aws::String& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = value; }
66 inline void SetActiveModelArn(Aws::String&& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = std::move(value); }
67 inline void SetActiveModelArn(const char* value) { m_activeModelArnHasBeenSet = true; m_activeModelArn.assign(value); }
68 inline FlywheelProperties& WithActiveModelArn(const Aws::String& value) { SetActiveModelArn(value); return *this;}
69 inline FlywheelProperties& WithActiveModelArn(Aws::String&& value) { SetActiveModelArn(std::move(value)); return *this;}
70 inline FlywheelProperties& WithActiveModelArn(const char* value) { SetActiveModelArn(value); return *this;}
72
74
78 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
79 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
80 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
81 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
82 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
83 inline FlywheelProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
84 inline FlywheelProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
85 inline FlywheelProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
87
89
92 inline const TaskConfig& GetTaskConfig() const{ return m_taskConfig; }
93 inline bool TaskConfigHasBeenSet() const { return m_taskConfigHasBeenSet; }
94 inline void SetTaskConfig(const TaskConfig& value) { m_taskConfigHasBeenSet = true; m_taskConfig = value; }
95 inline void SetTaskConfig(TaskConfig&& value) { m_taskConfigHasBeenSet = true; m_taskConfig = std::move(value); }
96 inline FlywheelProperties& WithTaskConfig(const TaskConfig& value) { SetTaskConfig(value); return *this;}
97 inline FlywheelProperties& WithTaskConfig(TaskConfig&& value) { SetTaskConfig(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetDataLakeS3Uri() const{ return m_dataLakeS3Uri; }
105 inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; }
106 inline void SetDataLakeS3Uri(const Aws::String& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = value; }
107 inline void SetDataLakeS3Uri(Aws::String&& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = std::move(value); }
108 inline void SetDataLakeS3Uri(const char* value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri.assign(value); }
109 inline FlywheelProperties& WithDataLakeS3Uri(const Aws::String& value) { SetDataLakeS3Uri(value); return *this;}
110 inline FlywheelProperties& WithDataLakeS3Uri(Aws::String&& value) { SetDataLakeS3Uri(std::move(value)); return *this;}
111 inline FlywheelProperties& WithDataLakeS3Uri(const char* value) { SetDataLakeS3Uri(value); return *this;}
113
115
118 inline const DataSecurityConfig& GetDataSecurityConfig() const{ return m_dataSecurityConfig; }
119 inline bool DataSecurityConfigHasBeenSet() const { return m_dataSecurityConfigHasBeenSet; }
120 inline void SetDataSecurityConfig(const DataSecurityConfig& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = value; }
121 inline void SetDataSecurityConfig(DataSecurityConfig&& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = std::move(value); }
123 inline FlywheelProperties& WithDataSecurityConfig(DataSecurityConfig&& value) { SetDataSecurityConfig(std::move(value)); return *this;}
125
127
130 inline const FlywheelStatus& GetStatus() const{ return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(const FlywheelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
133 inline void SetStatus(FlywheelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
134 inline FlywheelProperties& WithStatus(const FlywheelStatus& value) { SetStatus(value); return *this;}
135 inline FlywheelProperties& WithStatus(FlywheelStatus&& value) { SetStatus(std::move(value)); return *this;}
137
139
142 inline const ModelType& GetModelType() const{ return m_modelType; }
143 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
144 inline void SetModelType(const ModelType& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
145 inline void SetModelType(ModelType&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
146 inline FlywheelProperties& WithModelType(const ModelType& value) { SetModelType(value); return *this;}
147 inline FlywheelProperties& WithModelType(ModelType&& value) { SetModelType(std::move(value)); return *this;}
149
151
154 inline const Aws::String& GetMessage() const{ return m_message; }
155 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
156 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
157 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
158 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
159 inline FlywheelProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
160 inline FlywheelProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
161 inline FlywheelProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
163
165
168 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
169 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
170 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
171 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
172 inline FlywheelProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
173 inline FlywheelProperties& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
175
177
180 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
181 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
182 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
183 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
185 inline FlywheelProperties& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
187
189
192 inline const Aws::String& GetLatestFlywheelIteration() const{ return m_latestFlywheelIteration; }
193 inline bool LatestFlywheelIterationHasBeenSet() const { return m_latestFlywheelIterationHasBeenSet; }
194 inline void SetLatestFlywheelIteration(const Aws::String& value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration = value; }
195 inline void SetLatestFlywheelIteration(Aws::String&& value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration = std::move(value); }
196 inline void SetLatestFlywheelIteration(const char* value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration.assign(value); }
199 inline FlywheelProperties& WithLatestFlywheelIteration(const char* value) { SetLatestFlywheelIteration(value); return *this;}
201 private:
202
203 Aws::String m_flywheelArn;
204 bool m_flywheelArnHasBeenSet = false;
205
206 Aws::String m_activeModelArn;
207 bool m_activeModelArnHasBeenSet = false;
208
209 Aws::String m_dataAccessRoleArn;
210 bool m_dataAccessRoleArnHasBeenSet = false;
211
212 TaskConfig m_taskConfig;
213 bool m_taskConfigHasBeenSet = false;
214
215 Aws::String m_dataLakeS3Uri;
216 bool m_dataLakeS3UriHasBeenSet = false;
217
218 DataSecurityConfig m_dataSecurityConfig;
219 bool m_dataSecurityConfigHasBeenSet = false;
220
221 FlywheelStatus m_status;
222 bool m_statusHasBeenSet = false;
223
224 ModelType m_modelType;
225 bool m_modelTypeHasBeenSet = false;
226
227 Aws::String m_message;
228 bool m_messageHasBeenSet = false;
229
230 Aws::Utils::DateTime m_creationTime;
231 bool m_creationTimeHasBeenSet = false;
232
233 Aws::Utils::DateTime m_lastModifiedTime;
234 bool m_lastModifiedTimeHasBeenSet = false;
235
236 Aws::String m_latestFlywheelIteration;
237 bool m_latestFlywheelIterationHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace Comprehend
242} // namespace Aws
FlywheelProperties & WithDataSecurityConfig(const DataSecurityConfig &value)
FlywheelProperties & WithDataLakeS3Uri(Aws::String &&value)
FlywheelProperties & WithTaskConfig(TaskConfig &&value)
FlywheelProperties & WithFlywheelArn(const char *value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
FlywheelProperties & WithLatestFlywheelIteration(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
FlywheelProperties & WithActiveModelArn(const char *value)
FlywheelProperties & WithFlywheelArn(const Aws::String &value)
FlywheelProperties & WithModelType(const ModelType &value)
AWS_COMPREHEND_API FlywheelProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataAccessRoleArn(const Aws::String &value)
const Aws::String & GetActiveModelArn() const
void SetStatus(const FlywheelStatus &value)
FlywheelProperties & WithDataSecurityConfig(DataSecurityConfig &&value)
FlywheelProperties & WithDataLakeS3Uri(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetLatestFlywheelIteration() const
FlywheelProperties & WithLastModifiedTime(const Aws::Utils::DateTime &value)
FlywheelProperties & WithStatus(FlywheelStatus &&value)
void SetFlywheelArn(const Aws::String &value)
const DataSecurityConfig & GetDataSecurityConfig() const
FlywheelProperties & WithLastModifiedTime(Aws::Utils::DateTime &&value)
FlywheelProperties & WithActiveModelArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_COMPREHEND_API FlywheelProperties(Aws::Utils::Json::JsonView jsonValue)
void SetDataSecurityConfig(DataSecurityConfig &&value)
void SetDataSecurityConfig(const DataSecurityConfig &value)
FlywheelProperties & WithLatestFlywheelIteration(const Aws::String &value)
const Aws::String & GetDataAccessRoleArn() const
FlywheelProperties & WithModelType(ModelType &&value)
FlywheelProperties & WithDataAccessRoleArn(Aws::String &&value)
FlywheelProperties & WithFlywheelArn(Aws::String &&value)
FlywheelProperties & WithMessage(const char *value)
FlywheelProperties & WithDataAccessRoleArn(const Aws::String &value)
FlywheelProperties & WithDataLakeS3Uri(const char *value)
FlywheelProperties & WithMessage(const Aws::String &value)
void SetDataLakeS3Uri(const Aws::String &value)
void SetTaskConfig(const TaskConfig &value)
FlywheelProperties & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLatestFlywheelIteration(Aws::String &&value)
void SetMessage(const Aws::String &value)
FlywheelProperties & WithCreationTime(const Aws::Utils::DateTime &value)
FlywheelProperties & WithActiveModelArn(const Aws::String &value)
void SetActiveModelArn(const Aws::String &value)
void SetLatestFlywheelIteration(const Aws::String &value)
FlywheelProperties & WithMessage(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
FlywheelProperties & WithTaskConfig(const TaskConfig &value)
FlywheelProperties & WithLatestFlywheelIteration(Aws::String &&value)
FlywheelProperties & WithDataAccessRoleArn(const char *value)
FlywheelProperties & WithStatus(const FlywheelStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue