AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
ModelImportJobSummary.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/ModelImportJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCK_API ModelImportJobSummary() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetJobArn() const { return m_jobArn; }
47 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
48 template<typename JobArnT = Aws::String>
49 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
50 template<typename JobArnT = Aws::String>
51 ModelImportJobSummary& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
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) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
62 template<typename JobNameT = Aws::String>
63 ModelImportJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
65
67
70 inline ModelImportJobStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(ModelImportJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline ModelImportJobSummary& WithStatus(ModelImportJobStatus value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
81 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
82 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
83 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
84 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
85 ModelImportJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template<typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
96 template<typename CreationTimeT = Aws::Utils::DateTime>
97 ModelImportJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
105 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
106 template<typename EndTimeT = Aws::Utils::DateTime>
107 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
108 template<typename EndTimeT = Aws::Utils::DateTime>
109 ModelImportJobSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetImportedModelArn() const { return m_importedModelArn; }
117 inline bool ImportedModelArnHasBeenSet() const { return m_importedModelArnHasBeenSet; }
118 template<typename ImportedModelArnT = Aws::String>
119 void SetImportedModelArn(ImportedModelArnT&& value) { m_importedModelArnHasBeenSet = true; m_importedModelArn = std::forward<ImportedModelArnT>(value); }
120 template<typename ImportedModelArnT = Aws::String>
121 ModelImportJobSummary& WithImportedModelArn(ImportedModelArnT&& value) { SetImportedModelArn(std::forward<ImportedModelArnT>(value)); return *this;}
123
125
128 inline const Aws::String& GetImportedModelName() const { return m_importedModelName; }
129 inline bool ImportedModelNameHasBeenSet() const { return m_importedModelNameHasBeenSet; }
130 template<typename ImportedModelNameT = Aws::String>
131 void SetImportedModelName(ImportedModelNameT&& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = std::forward<ImportedModelNameT>(value); }
132 template<typename ImportedModelNameT = Aws::String>
133 ModelImportJobSummary& WithImportedModelName(ImportedModelNameT&& value) { SetImportedModelName(std::forward<ImportedModelNameT>(value)); return *this;}
135 private:
136
137 Aws::String m_jobArn;
138 bool m_jobArnHasBeenSet = false;
139
140 Aws::String m_jobName;
141 bool m_jobNameHasBeenSet = false;
142
144 bool m_statusHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastModifiedTime{};
147 bool m_lastModifiedTimeHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTime{};
150 bool m_creationTimeHasBeenSet = false;
151
152 Aws::Utils::DateTime m_endTime{};
153 bool m_endTimeHasBeenSet = false;
154
155 Aws::String m_importedModelArn;
156 bool m_importedModelArnHasBeenSet = false;
157
158 Aws::String m_importedModelName;
159 bool m_importedModelNameHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Bedrock
164} // 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