AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ModelImportJobSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ModelImportJobStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
23
30 public:
31 AWS_BEDROCK_API ModelImportJobSummary() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetJobArn() const { return m_jobArn; }
41 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
42 template <typename JobArnT = Aws::String>
43 void SetJobArn(JobArnT&& value) {
44 m_jobArnHasBeenSet = true;
45 m_jobArn = std::forward<JobArnT>(value);
46 }
47 template <typename JobArnT = Aws::String>
49 SetJobArn(std::forward<JobArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetJobName() const { return m_jobName; }
59 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
60 template <typename JobNameT = Aws::String>
61 void SetJobName(JobNameT&& value) {
62 m_jobNameHasBeenSet = true;
63 m_jobName = std::forward<JobNameT>(value);
64 }
65 template <typename JobNameT = Aws::String>
67 SetJobName(std::forward<JobNameT>(value));
68 return *this;
69 }
71
73
76 inline ModelImportJobStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(ModelImportJobStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
93 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
94 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
95 void SetLastModifiedTime(LastModifiedTimeT&& value) {
96 m_lastModifiedTimeHasBeenSet = true;
97 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
98 }
99 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
100 ModelImportJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
101 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
111 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
112 template <typename CreationTimeT = Aws::Utils::DateTime>
113 void SetCreationTime(CreationTimeT&& value) {
114 m_creationTimeHasBeenSet = true;
115 m_creationTime = std::forward<CreationTimeT>(value);
116 }
117 template <typename CreationTimeT = Aws::Utils::DateTime>
118 ModelImportJobSummary& WithCreationTime(CreationTimeT&& value) {
119 SetCreationTime(std::forward<CreationTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
129 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
130 template <typename EndTimeT = Aws::Utils::DateTime>
131 void SetEndTime(EndTimeT&& value) {
132 m_endTimeHasBeenSet = true;
133 m_endTime = std::forward<EndTimeT>(value);
134 }
135 template <typename EndTimeT = Aws::Utils::DateTime>
137 SetEndTime(std::forward<EndTimeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetImportedModelArn() const { return m_importedModelArn; }
147 inline bool ImportedModelArnHasBeenSet() const { return m_importedModelArnHasBeenSet; }
148 template <typename ImportedModelArnT = Aws::String>
149 void SetImportedModelArn(ImportedModelArnT&& value) {
150 m_importedModelArnHasBeenSet = true;
151 m_importedModelArn = std::forward<ImportedModelArnT>(value);
152 }
153 template <typename ImportedModelArnT = Aws::String>
154 ModelImportJobSummary& WithImportedModelArn(ImportedModelArnT&& value) {
155 SetImportedModelArn(std::forward<ImportedModelArnT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetImportedModelName() const { return m_importedModelName; }
165 inline bool ImportedModelNameHasBeenSet() const { return m_importedModelNameHasBeenSet; }
166 template <typename ImportedModelNameT = Aws::String>
167 void SetImportedModelName(ImportedModelNameT&& value) {
168 m_importedModelNameHasBeenSet = true;
169 m_importedModelName = std::forward<ImportedModelNameT>(value);
170 }
171 template <typename ImportedModelNameT = Aws::String>
172 ModelImportJobSummary& WithImportedModelName(ImportedModelNameT&& value) {
173 SetImportedModelName(std::forward<ImportedModelNameT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_jobArn;
179 bool m_jobArnHasBeenSet = false;
180
181 Aws::String m_jobName;
182 bool m_jobNameHasBeenSet = false;
183
185 bool m_statusHasBeenSet = false;
186
187 Aws::Utils::DateTime m_lastModifiedTime{};
188 bool m_lastModifiedTimeHasBeenSet = false;
189
190 Aws::Utils::DateTime m_creationTime{};
191 bool m_creationTimeHasBeenSet = false;
192
193 Aws::Utils::DateTime m_endTime{};
194 bool m_endTimeHasBeenSet = false;
195
196 Aws::String m_importedModelArn;
197 bool m_importedModelArnHasBeenSet = false;
198
199 Aws::String m_importedModelName;
200 bool m_importedModelNameHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace Bedrock
205} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
void SetImportedModelArn(ImportedModelArnT &&value)
AWS_BEDROCK_API ModelImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
ModelImportJobSummary & WithEndTime(EndTimeT &&value)
void SetStatus(ModelImportJobStatus value)
AWS_BEDROCK_API ModelImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
ModelImportJobSummary & WithCreationTime(CreationTimeT &&value)
AWS_BEDROCK_API ModelImportJobSummary()=default
ModelImportJobSummary & WithJobName(JobNameT &&value)
const Aws::Utils::DateTime & GetEndTime() const
ModelImportJobSummary & WithImportedModelArn(ImportedModelArnT &&value)
ModelImportJobSummary & WithStatus(ModelImportJobStatus value)
ModelImportJobSummary & WithImportedModelName(ImportedModelNameT &&value)
void SetImportedModelName(ImportedModelNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ModelImportJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ModelImportJobSummary & WithJobArn(JobArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue