AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
ModelCustomizationJobSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/ModelCustomizationJobStatus.h>
10#include <aws/bedrock/model/StatusDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/bedrock/model/CustomizationType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Bedrock
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_BEDROCK_API ModelCustomizationJobSummary() = default;
41 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetJobArn() const { return m_jobArn; }
49 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
50 template<typename JobArnT = Aws::String>
51 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
52 template<typename JobArnT = Aws::String>
53 ModelCustomizationJobSummary& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
61 inline bool BaseModelArnHasBeenSet() const { return m_baseModelArnHasBeenSet; }
62 template<typename BaseModelArnT = Aws::String>
63 void SetBaseModelArn(BaseModelArnT&& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = std::forward<BaseModelArnT>(value); }
64 template<typename BaseModelArnT = Aws::String>
65 ModelCustomizationJobSummary& WithBaseModelArn(BaseModelArnT&& value) { SetBaseModelArn(std::forward<BaseModelArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetJobName() const { return m_jobName; }
73 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
74 template<typename JobNameT = Aws::String>
75 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
76 template<typename JobNameT = Aws::String>
77 ModelCustomizationJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
79
81
84 inline ModelCustomizationJobStatus GetStatus() const { return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(ModelCustomizationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
89
91
94 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
95 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
96 template<typename StatusDetailsT = StatusDetails>
97 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::forward<StatusDetailsT>(value); }
98 template<typename StatusDetailsT = StatusDetails>
99 ModelCustomizationJobSummary& WithStatusDetails(StatusDetailsT&& value) { SetStatusDetails(std::forward<StatusDetailsT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
107 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
108 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
109 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 ModelCustomizationJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
119 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 ModelCustomizationJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
131 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
132 template<typename EndTimeT = Aws::Utils::DateTime>
133 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
134 template<typename EndTimeT = Aws::Utils::DateTime>
135 ModelCustomizationJobSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
137
139
142 inline const Aws::String& GetCustomModelArn() const { return m_customModelArn; }
143 inline bool CustomModelArnHasBeenSet() const { return m_customModelArnHasBeenSet; }
144 template<typename CustomModelArnT = Aws::String>
145 void SetCustomModelArn(CustomModelArnT&& value) { m_customModelArnHasBeenSet = true; m_customModelArn = std::forward<CustomModelArnT>(value); }
146 template<typename CustomModelArnT = Aws::String>
147 ModelCustomizationJobSummary& WithCustomModelArn(CustomModelArnT&& value) { SetCustomModelArn(std::forward<CustomModelArnT>(value)); return *this;}
149
151
154 inline const Aws::String& GetCustomModelName() const { return m_customModelName; }
155 inline bool CustomModelNameHasBeenSet() const { return m_customModelNameHasBeenSet; }
156 template<typename CustomModelNameT = Aws::String>
157 void SetCustomModelName(CustomModelNameT&& value) { m_customModelNameHasBeenSet = true; m_customModelName = std::forward<CustomModelNameT>(value); }
158 template<typename CustomModelNameT = Aws::String>
159 ModelCustomizationJobSummary& WithCustomModelName(CustomModelNameT&& value) { SetCustomModelName(std::forward<CustomModelNameT>(value)); return *this;}
161
163
169 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
170 inline bool CustomizationTypeHasBeenSet() const { return m_customizationTypeHasBeenSet; }
171 inline void SetCustomizationType(CustomizationType value) { m_customizationTypeHasBeenSet = true; m_customizationType = value; }
174 private:
175
176 Aws::String m_jobArn;
177 bool m_jobArnHasBeenSet = false;
178
179 Aws::String m_baseModelArn;
180 bool m_baseModelArnHasBeenSet = false;
181
182 Aws::String m_jobName;
183 bool m_jobNameHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
188 StatusDetails m_statusDetails;
189 bool m_statusDetailsHasBeenSet = false;
190
191 Aws::Utils::DateTime m_lastModifiedTime{};
192 bool m_lastModifiedTimeHasBeenSet = false;
193
194 Aws::Utils::DateTime m_creationTime{};
195 bool m_creationTimeHasBeenSet = false;
196
197 Aws::Utils::DateTime m_endTime{};
198 bool m_endTimeHasBeenSet = false;
199
200 Aws::String m_customModelArn;
201 bool m_customModelArnHasBeenSet = false;
202
203 Aws::String m_customModelName;
204 bool m_customModelNameHasBeenSet = false;
205
207 bool m_customizationTypeHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace Bedrock
212} // namespace Aws
AWS_BEDROCK_API ModelCustomizationJobSummary()=default
ModelCustomizationJobSummary & WithCustomModelArn(CustomModelArnT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ModelCustomizationJobSummary & WithStatus(ModelCustomizationJobStatus value)
ModelCustomizationJobSummary & WithJobName(JobNameT &&value)
AWS_BEDROCK_API ModelCustomizationJobSummary(Aws::Utils::Json::JsonView jsonValue)
ModelCustomizationJobSummary & WithCustomModelName(CustomModelNameT &&value)
ModelCustomizationJobSummary & WithBaseModelArn(BaseModelArnT &&value)
ModelCustomizationJobSummary & WithJobArn(JobArnT &&value)
AWS_BEDROCK_API ModelCustomizationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCustomizationJobSummary & WithStatusDetails(StatusDetailsT &&value)
ModelCustomizationJobSummary & WithCustomizationType(CustomizationType value)
ModelCustomizationJobSummary & WithEndTime(EndTimeT &&value)
ModelCustomizationJobSummary & WithCreationTime(CreationTimeT &&value)
ModelCustomizationJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue