AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/DateTime.h>
11#include <aws/bedrock/model/CustomizationType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Bedrock
25{
26namespace Model
27{
28
35 {
36 public:
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
48 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
49 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
50 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
51 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
52 inline ModelCustomizationJobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
53 inline ModelCustomizationJobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
54 inline ModelCustomizationJobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
56
58
61 inline const Aws::String& GetBaseModelArn() const{ return m_baseModelArn; }
62 inline bool BaseModelArnHasBeenSet() const { return m_baseModelArnHasBeenSet; }
63 inline void SetBaseModelArn(const Aws::String& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = value; }
64 inline void SetBaseModelArn(Aws::String&& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = std::move(value); }
65 inline void SetBaseModelArn(const char* value) { m_baseModelArnHasBeenSet = true; m_baseModelArn.assign(value); }
66 inline ModelCustomizationJobSummary& WithBaseModelArn(const Aws::String& value) { SetBaseModelArn(value); return *this;}
67 inline ModelCustomizationJobSummary& WithBaseModelArn(Aws::String&& value) { SetBaseModelArn(std::move(value)); return *this;}
68 inline ModelCustomizationJobSummary& WithBaseModelArn(const char* value) { SetBaseModelArn(value); return *this;}
70
72
75 inline const Aws::String& GetJobName() const{ return m_jobName; }
76 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
77 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
78 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
79 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
80 inline ModelCustomizationJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
81 inline ModelCustomizationJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
82 inline ModelCustomizationJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
84
86
89 inline const ModelCustomizationJobStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const ModelCustomizationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(ModelCustomizationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline ModelCustomizationJobSummary& WithStatus(ModelCustomizationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
102 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
103 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
104 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
108
110
113 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
114 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
115 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
116 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
118 inline ModelCustomizationJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
126 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
127 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
128 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
129 inline ModelCustomizationJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
130 inline ModelCustomizationJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetCustomModelArn() const{ return m_customModelArn; }
138 inline bool CustomModelArnHasBeenSet() const { return m_customModelArnHasBeenSet; }
139 inline void SetCustomModelArn(const Aws::String& value) { m_customModelArnHasBeenSet = true; m_customModelArn = value; }
140 inline void SetCustomModelArn(Aws::String&& value) { m_customModelArnHasBeenSet = true; m_customModelArn = std::move(value); }
141 inline void SetCustomModelArn(const char* value) { m_customModelArnHasBeenSet = true; m_customModelArn.assign(value); }
143 inline ModelCustomizationJobSummary& WithCustomModelArn(Aws::String&& value) { SetCustomModelArn(std::move(value)); return *this;}
144 inline ModelCustomizationJobSummary& WithCustomModelArn(const char* value) { SetCustomModelArn(value); return *this;}
146
148
151 inline const Aws::String& GetCustomModelName() const{ return m_customModelName; }
152 inline bool CustomModelNameHasBeenSet() const { return m_customModelNameHasBeenSet; }
153 inline void SetCustomModelName(const Aws::String& value) { m_customModelNameHasBeenSet = true; m_customModelName = value; }
154 inline void SetCustomModelName(Aws::String&& value) { m_customModelNameHasBeenSet = true; m_customModelName = std::move(value); }
155 inline void SetCustomModelName(const char* value) { m_customModelNameHasBeenSet = true; m_customModelName.assign(value); }
157 inline ModelCustomizationJobSummary& WithCustomModelName(Aws::String&& value) { SetCustomModelName(std::move(value)); return *this;}
158 inline ModelCustomizationJobSummary& WithCustomModelName(const char* value) { SetCustomModelName(value); return *this;}
160
162
168 inline const CustomizationType& GetCustomizationType() const{ return m_customizationType; }
169 inline bool CustomizationTypeHasBeenSet() const { return m_customizationTypeHasBeenSet; }
170 inline void SetCustomizationType(const CustomizationType& value) { m_customizationTypeHasBeenSet = true; m_customizationType = value; }
171 inline void SetCustomizationType(CustomizationType&& value) { m_customizationTypeHasBeenSet = true; m_customizationType = std::move(value); }
175 private:
176
177 Aws::String m_jobArn;
178 bool m_jobArnHasBeenSet = false;
179
180 Aws::String m_baseModelArn;
181 bool m_baseModelArnHasBeenSet = false;
182
183 Aws::String m_jobName;
184 bool m_jobNameHasBeenSet = false;
185
187 bool m_statusHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastModifiedTime;
190 bool m_lastModifiedTimeHasBeenSet = false;
191
192 Aws::Utils::DateTime m_creationTime;
193 bool m_creationTimeHasBeenSet = false;
194
195 Aws::Utils::DateTime m_endTime;
196 bool m_endTimeHasBeenSet = false;
197
198 Aws::String m_customModelArn;
199 bool m_customModelArnHasBeenSet = false;
200
201 Aws::String m_customModelName;
202 bool m_customModelNameHasBeenSet = false;
203
204 CustomizationType m_customizationType;
205 bool m_customizationTypeHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace Bedrock
210} // namespace Aws
ModelCustomizationJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ModelCustomizationJobSummary & WithStatus(const ModelCustomizationJobStatus &value)
ModelCustomizationJobSummary & WithBaseModelArn(Aws::String &&value)
ModelCustomizationJobSummary & WithBaseModelArn(const char *value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ModelCustomizationJobSummary & WithCustomModelArn(Aws::String &&value)
ModelCustomizationJobSummary & WithBaseModelArn(const Aws::String &value)
void SetStatus(const ModelCustomizationJobStatus &value)
AWS_BEDROCK_API ModelCustomizationJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ModelCustomizationJobSummary & WithStatus(ModelCustomizationJobStatus &&value)
ModelCustomizationJobSummary & WithJobName(const char *value)
ModelCustomizationJobSummary & WithCustomModelName(Aws::String &&value)
ModelCustomizationJobSummary & WithEndTime(Aws::Utils::DateTime &&value)
const ModelCustomizationJobStatus & GetStatus() const
ModelCustomizationJobSummary & WithCustomModelArn(const char *value)
ModelCustomizationJobSummary & WithCustomModelName(const Aws::String &value)
ModelCustomizationJobSummary & WithEndTime(const Aws::Utils::DateTime &value)
ModelCustomizationJobSummary & WithJobName(Aws::String &&value)
ModelCustomizationJobSummary & WithJobArn(const char *value)
ModelCustomizationJobSummary & WithCustomModelArn(const Aws::String &value)
ModelCustomizationJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ModelCustomizationJobSummary & WithCustomizationType(CustomizationType &&value)
ModelCustomizationJobSummary & WithJobName(const Aws::String &value)
ModelCustomizationJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ModelCustomizationJobSummary & WithCustomizationType(const CustomizationType &value)
AWS_BEDROCK_API ModelCustomizationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ModelCustomizationJobStatus &&value)
ModelCustomizationJobSummary & WithCustomModelName(const char *value)
ModelCustomizationJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ModelCustomizationJobSummary & WithJobArn(Aws::String &&value)
ModelCustomizationJobSummary & WithJobArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue