AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
49 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
50 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
51 inline ModelImportJobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
52 inline ModelImportJobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
53 inline ModelImportJobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
55
57
60 inline const Aws::String& GetJobName() const{ return m_jobName; }
61 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
62 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
63 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
64 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
65 inline ModelImportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
66 inline ModelImportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
67 inline ModelImportJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
69
71
74 inline const ModelImportJobStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const ModelImportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(ModelImportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline ModelImportJobSummary& WithStatus(const ModelImportJobStatus& value) { SetStatus(value); return *this;}
79 inline ModelImportJobSummary& WithStatus(ModelImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
87 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
88 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
89 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
91 inline ModelImportJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
99 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
100 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
101 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
102 inline ModelImportJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
103 inline ModelImportJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
111 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
112 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
113 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
114 inline ModelImportJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
115 inline ModelImportJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetImportedModelArn() const{ return m_importedModelArn; }
123 inline bool ImportedModelArnHasBeenSet() const { return m_importedModelArnHasBeenSet; }
124 inline void SetImportedModelArn(const Aws::String& value) { m_importedModelArnHasBeenSet = true; m_importedModelArn = value; }
125 inline void SetImportedModelArn(Aws::String&& value) { m_importedModelArnHasBeenSet = true; m_importedModelArn = std::move(value); }
126 inline void SetImportedModelArn(const char* value) { m_importedModelArnHasBeenSet = true; m_importedModelArn.assign(value); }
127 inline ModelImportJobSummary& WithImportedModelArn(const Aws::String& value) { SetImportedModelArn(value); return *this;}
128 inline ModelImportJobSummary& WithImportedModelArn(Aws::String&& value) { SetImportedModelArn(std::move(value)); return *this;}
129 inline ModelImportJobSummary& WithImportedModelArn(const char* value) { SetImportedModelArn(value); return *this;}
131
133
136 inline const Aws::String& GetImportedModelName() const{ return m_importedModelName; }
137 inline bool ImportedModelNameHasBeenSet() const { return m_importedModelNameHasBeenSet; }
138 inline void SetImportedModelName(const Aws::String& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = value; }
139 inline void SetImportedModelName(Aws::String&& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = std::move(value); }
140 inline void SetImportedModelName(const char* value) { m_importedModelNameHasBeenSet = true; m_importedModelName.assign(value); }
142 inline ModelImportJobSummary& WithImportedModelName(Aws::String&& value) { SetImportedModelName(std::move(value)); return *this;}
143 inline ModelImportJobSummary& WithImportedModelName(const char* value) { SetImportedModelName(value); return *this;}
145 private:
146
147 Aws::String m_jobArn;
148 bool m_jobArnHasBeenSet = false;
149
150 Aws::String m_jobName;
151 bool m_jobNameHasBeenSet = false;
152
153 ModelImportJobStatus m_status;
154 bool m_statusHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastModifiedTime;
157 bool m_lastModifiedTimeHasBeenSet = false;
158
159 Aws::Utils::DateTime m_creationTime;
160 bool m_creationTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_endTime;
163 bool m_endTimeHasBeenSet = false;
164
165 Aws::String m_importedModelArn;
166 bool m_importedModelArnHasBeenSet = false;
167
168 Aws::String m_importedModelName;
169 bool m_importedModelNameHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace Bedrock
174} // namespace Aws
ModelImportJobSummary & WithImportedModelArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelImportJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetImportedModelArn(const Aws::String &value)
ModelImportJobSummary & WithImportedModelName(const Aws::String &value)
ModelImportJobSummary & WithEndTime(Aws::Utils::DateTime &&value)
ModelImportJobSummary & WithJobArn(Aws::String &&value)
void SetStatus(const ModelImportJobStatus &value)
AWS_BEDROCK_API ModelImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(Aws::Utils::DateTime &&value)
AWS_BEDROCK_API ModelImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelImportJobSummary & WithJobArn(const Aws::String &value)
ModelImportJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetImportedModelName(const Aws::String &value)
ModelImportJobSummary & WithStatus(ModelImportJobStatus &&value)
ModelImportJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ModelImportJobSummary & WithJobName(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ModelImportJobSummary & WithStatus(const ModelImportJobStatus &value)
const Aws::Utils::DateTime & GetEndTime() const
ModelImportJobSummary & WithImportedModelArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetStatus(ModelImportJobStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelImportJobSummary & WithImportedModelName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelImportJobSummary & WithJobArn(const char *value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const ModelImportJobStatus & GetStatus() const
ModelImportJobSummary & WithJobName(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ModelImportJobSummary & WithJobName(const char *value)
ModelImportJobSummary & WithImportedModelArn(const char *value)
ModelImportJobSummary & WithImportedModelName(Aws::String &&value)
ModelImportJobSummary & WithEndTime(const Aws::Utils::DateTime &value)
ModelImportJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue