AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FlywheelArnT = Aws::String>
52 void SetFlywheelArn(FlywheelArnT&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::forward<FlywheelArnT>(value); }
53 template<typename FlywheelArnT = Aws::String>
54 FlywheelProperties& WithFlywheelArn(FlywheelArnT&& value) { SetFlywheelArn(std::forward<FlywheelArnT>(value)); return *this;}
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) { m_activeModelArnHasBeenSet = true; m_activeModelArn = std::forward<ActiveModelArnT>(value); }
65 template<typename ActiveModelArnT = Aws::String>
66 FlywheelProperties& WithActiveModelArn(ActiveModelArnT&& value) { SetActiveModelArn(std::forward<ActiveModelArnT>(value)); return *this;}
68
70
74 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
75 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
76 template<typename DataAccessRoleArnT = Aws::String>
77 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
78 template<typename DataAccessRoleArnT = Aws::String>
79 FlywheelProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
81
83
86 inline const TaskConfig& GetTaskConfig() const { return m_taskConfig; }
87 inline bool TaskConfigHasBeenSet() const { return m_taskConfigHasBeenSet; }
88 template<typename TaskConfigT = TaskConfig>
89 void SetTaskConfig(TaskConfigT&& value) { m_taskConfigHasBeenSet = true; m_taskConfig = std::forward<TaskConfigT>(value); }
90 template<typename TaskConfigT = TaskConfig>
91 FlywheelProperties& WithTaskConfig(TaskConfigT&& value) { SetTaskConfig(std::forward<TaskConfigT>(value)); return *this;}
93
95
98 inline const Aws::String& GetDataLakeS3Uri() const { return m_dataLakeS3Uri; }
99 inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; }
100 template<typename DataLakeS3UriT = Aws::String>
101 void SetDataLakeS3Uri(DataLakeS3UriT&& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = std::forward<DataLakeS3UriT>(value); }
102 template<typename DataLakeS3UriT = Aws::String>
103 FlywheelProperties& WithDataLakeS3Uri(DataLakeS3UriT&& value) { SetDataLakeS3Uri(std::forward<DataLakeS3UriT>(value)); return *this;}
105
107
110 inline const DataSecurityConfig& GetDataSecurityConfig() const { return m_dataSecurityConfig; }
111 inline bool DataSecurityConfigHasBeenSet() const { return m_dataSecurityConfigHasBeenSet; }
112 template<typename DataSecurityConfigT = DataSecurityConfig>
113 void SetDataSecurityConfig(DataSecurityConfigT&& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = std::forward<DataSecurityConfigT>(value); }
114 template<typename DataSecurityConfigT = DataSecurityConfig>
115 FlywheelProperties& WithDataSecurityConfig(DataSecurityConfigT&& value) { SetDataSecurityConfig(std::forward<DataSecurityConfigT>(value)); return *this;}
117
119
122 inline FlywheelStatus GetStatus() const { return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(FlywheelStatus value) { m_statusHasBeenSet = true; m_status = value; }
125 inline FlywheelProperties& WithStatus(FlywheelStatus value) { SetStatus(value); return *this;}
127
129
132 inline ModelType GetModelType() const { return m_modelType; }
133 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
134 inline void SetModelType(ModelType value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
135 inline FlywheelProperties& WithModelType(ModelType value) { SetModelType(value); return *this;}
137
139
142 inline const Aws::String& GetMessage() const { return m_message; }
143 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
144 template<typename MessageT = Aws::String>
145 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
146 template<typename MessageT = Aws::String>
147 FlywheelProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
155 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
156 template<typename CreationTimeT = Aws::Utils::DateTime>
157 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
158 template<typename CreationTimeT = Aws::Utils::DateTime>
159 FlywheelProperties& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
167 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
168 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
169 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
170 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
171 FlywheelProperties& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
173
175
178 inline const Aws::String& GetLatestFlywheelIteration() const { return m_latestFlywheelIteration; }
179 inline bool LatestFlywheelIterationHasBeenSet() const { return m_latestFlywheelIterationHasBeenSet; }
180 template<typename LatestFlywheelIterationT = Aws::String>
181 void SetLatestFlywheelIteration(LatestFlywheelIterationT&& value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration = std::forward<LatestFlywheelIterationT>(value); }
182 template<typename LatestFlywheelIterationT = Aws::String>
183 FlywheelProperties& WithLatestFlywheelIteration(LatestFlywheelIterationT&& value) { SetLatestFlywheelIteration(std::forward<LatestFlywheelIterationT>(value)); return *this;}
185 private:
186
187 Aws::String m_flywheelArn;
188 bool m_flywheelArnHasBeenSet = false;
189
190 Aws::String m_activeModelArn;
191 bool m_activeModelArnHasBeenSet = false;
192
193 Aws::String m_dataAccessRoleArn;
194 bool m_dataAccessRoleArnHasBeenSet = false;
195
196 TaskConfig m_taskConfig;
197 bool m_taskConfigHasBeenSet = false;
198
199 Aws::String m_dataLakeS3Uri;
200 bool m_dataLakeS3UriHasBeenSet = false;
201
202 DataSecurityConfig m_dataSecurityConfig;
203 bool m_dataSecurityConfigHasBeenSet = false;
204
206 bool m_statusHasBeenSet = false;
207
208 ModelType m_modelType{ModelType::NOT_SET};
209 bool m_modelTypeHasBeenSet = false;
210
211 Aws::String m_message;
212 bool m_messageHasBeenSet = false;
213
214 Aws::Utils::DateTime m_creationTime{};
215 bool m_creationTimeHasBeenSet = false;
216
217 Aws::Utils::DateTime m_lastModifiedTime{};
218 bool m_lastModifiedTimeHasBeenSet = false;
219
220 Aws::String m_latestFlywheelIteration;
221 bool m_latestFlywheelIterationHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace Comprehend
226} // 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