AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
CollaborationTrainedModelSummary.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/IncrementalTrainingDataChannelOutput.h>
9#include <aws/cleanroomsml/model/TrainedModelStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRoomsML {
24namespace Model {
25
33 public:
34 AWS_CLEANROOMSML_API CollaborationTrainedModelSummary() = default;
37 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
44 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
45 template <typename CreateTimeT = Aws::Utils::DateTime>
46 void SetCreateTime(CreateTimeT&& value) {
47 m_createTimeHasBeenSet = true;
48 m_createTime = std::forward<CreateTimeT>(value);
49 }
50 template <typename CreateTimeT = Aws::Utils::DateTime>
52 SetCreateTime(std::forward<CreateTimeT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
62 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
63 template <typename UpdateTimeT = Aws::Utils::DateTime>
64 void SetUpdateTime(UpdateTimeT&& value) {
65 m_updateTimeHasBeenSet = true;
66 m_updateTime = std::forward<UpdateTimeT>(value);
67 }
68 template <typename UpdateTimeT = Aws::Utils::DateTime>
70 SetUpdateTime(std::forward<UpdateTimeT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetTrainedModelArn() const { return m_trainedModelArn; }
80 inline bool TrainedModelArnHasBeenSet() const { return m_trainedModelArnHasBeenSet; }
81 template <typename TrainedModelArnT = Aws::String>
82 void SetTrainedModelArn(TrainedModelArnT&& value) {
83 m_trainedModelArnHasBeenSet = true;
84 m_trainedModelArn = std::forward<TrainedModelArnT>(value);
85 }
86 template <typename TrainedModelArnT = Aws::String>
88 SetTrainedModelArn(std::forward<TrainedModelArnT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template <typename NameT = Aws::String>
100 void SetName(NameT&& value) {
101 m_nameHasBeenSet = true;
102 m_name = std::forward<NameT>(value);
103 }
104 template <typename NameT = Aws::String>
106 SetName(std::forward<NameT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetVersionIdentifier() const { return m_versionIdentifier; }
116 inline bool VersionIdentifierHasBeenSet() const { return m_versionIdentifierHasBeenSet; }
117 template <typename VersionIdentifierT = Aws::String>
118 void SetVersionIdentifier(VersionIdentifierT&& value) {
119 m_versionIdentifierHasBeenSet = true;
120 m_versionIdentifier = std::forward<VersionIdentifierT>(value);
121 }
122 template <typename VersionIdentifierT = Aws::String>
124 SetVersionIdentifier(std::forward<VersionIdentifierT>(value));
125 return *this;
126 }
128
130
135 return m_incrementalTrainingDataChannels;
136 }
137 inline bool IncrementalTrainingDataChannelsHasBeenSet() const { return m_incrementalTrainingDataChannelsHasBeenSet; }
138 template <typename IncrementalTrainingDataChannelsT = Aws::Vector<IncrementalTrainingDataChannelOutput>>
139 void SetIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT&& value) {
140 m_incrementalTrainingDataChannelsHasBeenSet = true;
141 m_incrementalTrainingDataChannels = std::forward<IncrementalTrainingDataChannelsT>(value);
142 }
143 template <typename IncrementalTrainingDataChannelsT = Aws::Vector<IncrementalTrainingDataChannelOutput>>
145 SetIncrementalTrainingDataChannels(std::forward<IncrementalTrainingDataChannelsT>(value));
146 return *this;
147 }
148 template <typename IncrementalTrainingDataChannelsT = IncrementalTrainingDataChannelOutput>
149 CollaborationTrainedModelSummary& AddIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT&& value) {
150 m_incrementalTrainingDataChannelsHasBeenSet = true;
151 m_incrementalTrainingDataChannels.emplace_back(std::forward<IncrementalTrainingDataChannelsT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::String& GetDescription() const { return m_description; }
161 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
162 template <typename DescriptionT = Aws::String>
163 void SetDescription(DescriptionT&& value) {
164 m_descriptionHasBeenSet = true;
165 m_description = std::forward<DescriptionT>(value);
166 }
167 template <typename DescriptionT = Aws::String>
169 SetDescription(std::forward<DescriptionT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
179 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
180 template <typename MembershipIdentifierT = Aws::String>
181 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
182 m_membershipIdentifierHasBeenSet = true;
183 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
184 }
185 template <typename MembershipIdentifierT = Aws::String>
187 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
198 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
199 template <typename CollaborationIdentifierT = Aws::String>
200 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) {
201 m_collaborationIdentifierHasBeenSet = true;
202 m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value);
203 }
204 template <typename CollaborationIdentifierT = Aws::String>
206 SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value));
207 return *this;
208 }
210
212
215 inline TrainedModelStatus GetStatus() const { return m_status; }
216 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
217 inline void SetStatus(TrainedModelStatus value) {
218 m_statusHasBeenSet = true;
219 m_status = value;
220 }
222 SetStatus(value);
223 return *this;
224 }
226
228
232 inline const Aws::String& GetConfiguredModelAlgorithmAssociationArn() const { return m_configuredModelAlgorithmAssociationArn; }
233 inline bool ConfiguredModelAlgorithmAssociationArnHasBeenSet() const { return m_configuredModelAlgorithmAssociationArnHasBeenSet; }
234 template <typename ConfiguredModelAlgorithmAssociationArnT = Aws::String>
235 void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT&& value) {
236 m_configuredModelAlgorithmAssociationArnHasBeenSet = true;
237 m_configuredModelAlgorithmAssociationArn = std::forward<ConfiguredModelAlgorithmAssociationArnT>(value);
238 }
239 template <typename ConfiguredModelAlgorithmAssociationArnT = Aws::String>
240 CollaborationTrainedModelSummary& WithConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT&& value) {
241 SetConfiguredModelAlgorithmAssociationArn(std::forward<ConfiguredModelAlgorithmAssociationArnT>(value));
242 return *this;
243 }
245
247
250 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
251 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
252 template <typename CreatorAccountIdT = Aws::String>
253 void SetCreatorAccountId(CreatorAccountIdT&& value) {
254 m_creatorAccountIdHasBeenSet = true;
255 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
256 }
257 template <typename CreatorAccountIdT = Aws::String>
259 SetCreatorAccountId(std::forward<CreatorAccountIdT>(value));
260 return *this;
261 }
263
265
269 inline const Aws::String& GetMlModelTrainingPayerAccountId() const { return m_mlModelTrainingPayerAccountId; }
270 inline bool MlModelTrainingPayerAccountIdHasBeenSet() const { return m_mlModelTrainingPayerAccountIdHasBeenSet; }
271 template <typename MlModelTrainingPayerAccountIdT = Aws::String>
272 void SetMlModelTrainingPayerAccountId(MlModelTrainingPayerAccountIdT&& value) {
273 m_mlModelTrainingPayerAccountIdHasBeenSet = true;
274 m_mlModelTrainingPayerAccountId = std::forward<MlModelTrainingPayerAccountIdT>(value);
275 }
276 template <typename MlModelTrainingPayerAccountIdT = Aws::String>
278 SetMlModelTrainingPayerAccountId(std::forward<MlModelTrainingPayerAccountIdT>(value));
279 return *this;
280 }
282 private:
283 Aws::Utils::DateTime m_createTime{};
284
285 Aws::Utils::DateTime m_updateTime{};
286
287 Aws::String m_trainedModelArn;
288
289 Aws::String m_name;
290
291 Aws::String m_versionIdentifier;
292
293 Aws::Vector<IncrementalTrainingDataChannelOutput> m_incrementalTrainingDataChannels;
294
295 Aws::String m_description;
296
297 Aws::String m_membershipIdentifier;
298
299 Aws::String m_collaborationIdentifier;
300
302
303 Aws::String m_configuredModelAlgorithmAssociationArn;
304
305 Aws::String m_creatorAccountId;
306
307 Aws::String m_mlModelTrainingPayerAccountId;
308 bool m_createTimeHasBeenSet = false;
309 bool m_updateTimeHasBeenSet = false;
310 bool m_trainedModelArnHasBeenSet = false;
311 bool m_nameHasBeenSet = false;
312 bool m_versionIdentifierHasBeenSet = false;
313 bool m_incrementalTrainingDataChannelsHasBeenSet = false;
314 bool m_descriptionHasBeenSet = false;
315 bool m_membershipIdentifierHasBeenSet = false;
316 bool m_collaborationIdentifierHasBeenSet = false;
317 bool m_statusHasBeenSet = false;
318 bool m_configuredModelAlgorithmAssociationArnHasBeenSet = false;
319 bool m_creatorAccountIdHasBeenSet = false;
320 bool m_mlModelTrainingPayerAccountIdHasBeenSet = false;
321};
322
323} // namespace Model
324} // namespace CleanRoomsML
325} // namespace Aws
CollaborationTrainedModelSummary & AddIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT &&value)
CollaborationTrainedModelSummary & WithUpdateTime(UpdateTimeT &&value)
void SetMlModelTrainingPayerAccountId(MlModelTrainingPayerAccountIdT &&value)
CollaborationTrainedModelSummary & WithMembershipIdentifier(MembershipIdentifierT &&value)
AWS_CLEANROOMSML_API CollaborationTrainedModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CollaborationTrainedModelSummary & WithTrainedModelArn(TrainedModelArnT &&value)
CollaborationTrainedModelSummary & WithStatus(TrainedModelStatus value)
CollaborationTrainedModelSummary & WithCreatorAccountId(CreatorAccountIdT &&value)
CollaborationTrainedModelSummary & WithDescription(DescriptionT &&value)
CollaborationTrainedModelSummary & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
CollaborationTrainedModelSummary & WithMlModelTrainingPayerAccountId(MlModelTrainingPayerAccountIdT &&value)
const Aws::Vector< IncrementalTrainingDataChannelOutput > & GetIncrementalTrainingDataChannels() const
AWS_CLEANROOMSML_API CollaborationTrainedModelSummary(Aws::Utils::Json::JsonView jsonValue)
void SetIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT &&value)
AWS_CLEANROOMSML_API CollaborationTrainedModelSummary()=default
void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
CollaborationTrainedModelSummary & WithIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT &&value)
CollaborationTrainedModelSummary & WithCollaborationIdentifier(CollaborationIdentifierT &&value)
CollaborationTrainedModelSummary & WithConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
CollaborationTrainedModelSummary & WithVersionIdentifier(VersionIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue