AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetModelCopyJobResult.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/ModelCopyJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Bedrock
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BEDROCK_API GetModelCopyJobResult();
37
38
40
43 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
44 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
45 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
46 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
47 inline GetModelCopyJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
48 inline GetModelCopyJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
49 inline GetModelCopyJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
51
53
56 inline const ModelCopyJobStatus& GetStatus() const{ return m_status; }
57 inline void SetStatus(const ModelCopyJobStatus& value) { m_status = value; }
58 inline void SetStatus(ModelCopyJobStatus&& value) { m_status = std::move(value); }
59 inline GetModelCopyJobResult& WithStatus(const ModelCopyJobStatus& value) { SetStatus(value); return *this;}
60 inline GetModelCopyJobResult& WithStatus(ModelCopyJobStatus&& value) { SetStatus(std::move(value)); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
68 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
69 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
70 inline GetModelCopyJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
71 inline GetModelCopyJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetTargetModelArn() const{ return m_targetModelArn; }
79 inline void SetTargetModelArn(const Aws::String& value) { m_targetModelArn = value; }
80 inline void SetTargetModelArn(Aws::String&& value) { m_targetModelArn = std::move(value); }
81 inline void SetTargetModelArn(const char* value) { m_targetModelArn.assign(value); }
82 inline GetModelCopyJobResult& WithTargetModelArn(const Aws::String& value) { SetTargetModelArn(value); return *this;}
83 inline GetModelCopyJobResult& WithTargetModelArn(Aws::String&& value) { SetTargetModelArn(std::move(value)); return *this;}
84 inline GetModelCopyJobResult& WithTargetModelArn(const char* value) { SetTargetModelArn(value); return *this;}
86
88
91 inline const Aws::String& GetTargetModelName() const{ return m_targetModelName; }
92 inline void SetTargetModelName(const Aws::String& value) { m_targetModelName = value; }
93 inline void SetTargetModelName(Aws::String&& value) { m_targetModelName = std::move(value); }
94 inline void SetTargetModelName(const char* value) { m_targetModelName.assign(value); }
95 inline GetModelCopyJobResult& WithTargetModelName(const Aws::String& value) { SetTargetModelName(value); return *this;}
96 inline GetModelCopyJobResult& WithTargetModelName(Aws::String&& value) { SetTargetModelName(std::move(value)); return *this;}
97 inline GetModelCopyJobResult& WithTargetModelName(const char* value) { SetTargetModelName(value); return *this;}
99
101
105 inline const Aws::String& GetSourceAccountId() const{ return m_sourceAccountId; }
106 inline void SetSourceAccountId(const Aws::String& value) { m_sourceAccountId = value; }
107 inline void SetSourceAccountId(Aws::String&& value) { m_sourceAccountId = std::move(value); }
108 inline void SetSourceAccountId(const char* value) { m_sourceAccountId.assign(value); }
109 inline GetModelCopyJobResult& WithSourceAccountId(const Aws::String& value) { SetSourceAccountId(value); return *this;}
110 inline GetModelCopyJobResult& WithSourceAccountId(Aws::String&& value) { SetSourceAccountId(std::move(value)); return *this;}
111 inline GetModelCopyJobResult& WithSourceAccountId(const char* value) { SetSourceAccountId(value); return *this;}
113
115
118 inline const Aws::String& GetSourceModelArn() const{ return m_sourceModelArn; }
119 inline void SetSourceModelArn(const Aws::String& value) { m_sourceModelArn = value; }
120 inline void SetSourceModelArn(Aws::String&& value) { m_sourceModelArn = std::move(value); }
121 inline void SetSourceModelArn(const char* value) { m_sourceModelArn.assign(value); }
122 inline GetModelCopyJobResult& WithSourceModelArn(const Aws::String& value) { SetSourceModelArn(value); return *this;}
123 inline GetModelCopyJobResult& WithSourceModelArn(Aws::String&& value) { SetSourceModelArn(std::move(value)); return *this;}
124 inline GetModelCopyJobResult& WithSourceModelArn(const char* value) { SetSourceModelArn(value); return *this;}
126
128
132 inline const Aws::String& GetTargetModelKmsKeyArn() const{ return m_targetModelKmsKeyArn; }
133 inline void SetTargetModelKmsKeyArn(const Aws::String& value) { m_targetModelKmsKeyArn = value; }
134 inline void SetTargetModelKmsKeyArn(Aws::String&& value) { m_targetModelKmsKeyArn = std::move(value); }
135 inline void SetTargetModelKmsKeyArn(const char* value) { m_targetModelKmsKeyArn.assign(value); }
137 inline GetModelCopyJobResult& WithTargetModelKmsKeyArn(Aws::String&& value) { SetTargetModelKmsKeyArn(std::move(value)); return *this;}
138 inline GetModelCopyJobResult& WithTargetModelKmsKeyArn(const char* value) { SetTargetModelKmsKeyArn(value); return *this;}
140
142
145 inline const Aws::Vector<Tag>& GetTargetModelTags() const{ return m_targetModelTags; }
146 inline void SetTargetModelTags(const Aws::Vector<Tag>& value) { m_targetModelTags = value; }
147 inline void SetTargetModelTags(Aws::Vector<Tag>&& value) { m_targetModelTags = std::move(value); }
149 inline GetModelCopyJobResult& WithTargetModelTags(Aws::Vector<Tag>&& value) { SetTargetModelTags(std::move(value)); return *this;}
150 inline GetModelCopyJobResult& AddTargetModelTags(const Tag& value) { m_targetModelTags.push_back(value); return *this; }
151 inline GetModelCopyJobResult& AddTargetModelTags(Tag&& value) { m_targetModelTags.push_back(std::move(value)); return *this; }
153
155
158 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
159 inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; }
160 inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); }
161 inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); }
162 inline GetModelCopyJobResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
163 inline GetModelCopyJobResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
164 inline GetModelCopyJobResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
166
168
171 inline const Aws::String& GetSourceModelName() const{ return m_sourceModelName; }
172 inline void SetSourceModelName(const Aws::String& value) { m_sourceModelName = value; }
173 inline void SetSourceModelName(Aws::String&& value) { m_sourceModelName = std::move(value); }
174 inline void SetSourceModelName(const char* value) { m_sourceModelName.assign(value); }
175 inline GetModelCopyJobResult& WithSourceModelName(const Aws::String& value) { SetSourceModelName(value); return *this;}
176 inline GetModelCopyJobResult& WithSourceModelName(Aws::String&& value) { SetSourceModelName(std::move(value)); return *this;}
177 inline GetModelCopyJobResult& WithSourceModelName(const char* value) { SetSourceModelName(value); return *this;}
179
181
182 inline const Aws::String& GetRequestId() const{ return m_requestId; }
183 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
184 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
185 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
186 inline GetModelCopyJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
187 inline GetModelCopyJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
188 inline GetModelCopyJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
190 private:
191
192 Aws::String m_jobArn;
193
194 ModelCopyJobStatus m_status;
195
196 Aws::Utils::DateTime m_creationTime;
197
198 Aws::String m_targetModelArn;
199
200 Aws::String m_targetModelName;
201
202 Aws::String m_sourceAccountId;
203
204 Aws::String m_sourceModelArn;
205
206 Aws::String m_targetModelKmsKeyArn;
207
208 Aws::Vector<Tag> m_targetModelTags;
209
210 Aws::String m_failureMessage;
211
212 Aws::String m_sourceModelName;
213
214 Aws::String m_requestId;
215 };
216
217} // namespace Model
218} // namespace Bedrock
219} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
GetModelCopyJobResult & WithSourceModelName(const Aws::String &value)
GetModelCopyJobResult & WithTargetModelKmsKeyArn(Aws::String &&value)
void SetTargetModelKmsKeyArn(const Aws::String &value)
GetModelCopyJobResult & WithSourceModelArn(const char *value)
GetModelCopyJobResult & WithSourceAccountId(const char *value)
void SetSourceAccountId(const Aws::String &value)
GetModelCopyJobResult & WithTargetModelArn(Aws::String &&value)
void SetStatus(const ModelCopyJobStatus &value)
GetModelCopyJobResult & WithTargetModelName(Aws::String &&value)
GetModelCopyJobResult & AddTargetModelTags(Tag &&value)
GetModelCopyJobResult & WithFailureMessage(const Aws::String &value)
AWS_BEDROCK_API GetModelCopyJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCopyJobResult & WithTargetModelKmsKeyArn(const char *value)
GetModelCopyJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetModelCopyJobResult & WithSourceModelArn(const Aws::String &value)
const ModelCopyJobStatus & GetStatus() const
GetModelCopyJobResult & WithTargetModelTags(Aws::Vector< Tag > &&value)
void SetSourceModelArn(const Aws::String &value)
GetModelCopyJobResult & WithTargetModelKmsKeyArn(const Aws::String &value)
GetModelCopyJobResult & WithJobArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetModelCopyJobResult & WithSourceModelName(const char *value)
GetModelCopyJobResult & WithJobArn(Aws::String &&value)
GetModelCopyJobResult & WithFailureMessage(Aws::String &&value)
void SetTargetModelName(const Aws::String &value)
GetModelCopyJobResult & WithStatus(const ModelCopyJobStatus &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Tag > & GetTargetModelTags() const
void SetStatus(ModelCopyJobStatus &&value)
GetModelCopyJobResult & AddTargetModelTags(const Tag &value)
GetModelCopyJobResult & WithFailureMessage(const char *value)
void SetTargetModelArn(const Aws::String &value)
GetModelCopyJobResult & WithSourceAccountId(Aws::String &&value)
GetModelCopyJobResult & WithTargetModelArn(const Aws::String &value)
GetModelCopyJobResult & WithTargetModelName(const Aws::String &value)
void SetFailureMessage(const Aws::String &value)
GetModelCopyJobResult & WithTargetModelArn(const char *value)
GetModelCopyJobResult & WithRequestId(const Aws::String &value)
GetModelCopyJobResult & WithRequestId(Aws::String &&value)
void SetTargetModelTags(const Aws::Vector< Tag > &value)
GetModelCopyJobResult & WithStatus(ModelCopyJobStatus &&value)
AWS_BEDROCK_API GetModelCopyJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCopyJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetModelCopyJobResult & WithJobArn(const Aws::String &value)
GetModelCopyJobResult & WithRequestId(const char *value)
GetModelCopyJobResult & WithSourceModelArn(Aws::String &&value)
GetModelCopyJobResult & WithSourceAccountId(const Aws::String &value)
GetModelCopyJobResult & WithTargetModelName(const char *value)
GetModelCopyJobResult & WithTargetModelTags(const Aws::Vector< Tag > &value)
GetModelCopyJobResult & WithSourceModelName(Aws::String &&value)
void SetSourceModelName(const Aws::String &value)
void SetTargetModelTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue