AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AsyncInvokeSummary.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h>
9#include <aws/bedrock-runtime/model/AsyncInvokeStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockRuntime {
23namespace Model {
24
31 public:
32 AWS_BEDROCKRUNTIME_API AsyncInvokeSummary() = default;
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetInvocationArn() const { return m_invocationArn; }
42 inline bool InvocationArnHasBeenSet() const { return m_invocationArnHasBeenSet; }
43 template <typename InvocationArnT = Aws::String>
45 m_invocationArnHasBeenSet = true;
46 m_invocationArn = std::forward<InvocationArnT>(value);
47 }
48 template <typename InvocationArnT = Aws::String>
50 SetInvocationArn(std::forward<InvocationArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetModelArn() const { return m_modelArn; }
60 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
61 template <typename ModelArnT = Aws::String>
62 void SetModelArn(ModelArnT&& value) {
63 m_modelArnHasBeenSet = true;
64 m_modelArn = std::forward<ModelArnT>(value);
65 }
66 template <typename ModelArnT = Aws::String>
68 SetModelArn(std::forward<ModelArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
78 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
79 template <typename ClientRequestTokenT = Aws::String>
81 m_clientRequestTokenHasBeenSet = true;
82 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
83 }
84 template <typename ClientRequestTokenT = Aws::String>
86 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
87 return *this;
88 }
90
92
95 inline AsyncInvokeStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(AsyncInvokeStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106
108
111 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
112 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
113 template <typename FailureMessageT = Aws::String>
115 m_failureMessageHasBeenSet = true;
116 m_failureMessage = std::forward<FailureMessageT>(value);
117 }
118 template <typename FailureMessageT = Aws::String>
120 SetFailureMessage(std::forward<FailureMessageT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
130 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
131 template <typename SubmitTimeT = Aws::Utils::DateTime>
133 m_submitTimeHasBeenSet = true;
134 m_submitTime = std::forward<SubmitTimeT>(value);
135 }
136 template <typename SubmitTimeT = Aws::Utils::DateTime>
138 SetSubmitTime(std::forward<SubmitTimeT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
148 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
149 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
151 m_lastModifiedTimeHasBeenSet = true;
152 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
153 }
154 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
156 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
166 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
167 template <typename EndTimeT = Aws::Utils::DateTime>
168 void SetEndTime(EndTimeT&& value) {
169 m_endTimeHasBeenSet = true;
170 m_endTime = std::forward<EndTimeT>(value);
171 }
172 template <typename EndTimeT = Aws::Utils::DateTime>
174 SetEndTime(std::forward<EndTimeT>(value));
175 return *this;
176 }
178
180
183 inline const AsyncInvokeOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
184 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
185 template <typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
187 m_outputDataConfigHasBeenSet = true;
188 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
189 }
190 template <typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
192 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_invocationArn;
198
199 Aws::String m_modelArn;
200
201 Aws::String m_clientRequestToken;
202
204
205 Aws::String m_failureMessage;
206
207 Aws::Utils::DateTime m_submitTime{};
208
209 Aws::Utils::DateTime m_lastModifiedTime{};
210
211 Aws::Utils::DateTime m_endTime{};
212
213 AsyncInvokeOutputDataConfig m_outputDataConfig;
214 bool m_invocationArnHasBeenSet = false;
215 bool m_modelArnHasBeenSet = false;
216 bool m_clientRequestTokenHasBeenSet = false;
217 bool m_statusHasBeenSet = false;
218 bool m_failureMessageHasBeenSet = false;
219 bool m_submitTimeHasBeenSet = false;
220 bool m_lastModifiedTimeHasBeenSet = false;
221 bool m_endTimeHasBeenSet = false;
222 bool m_outputDataConfigHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace BedrockRuntime
227} // namespace Aws
AsyncInvokeSummary & WithEndTime(EndTimeT &&value)
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary(Aws::Utils::Json::JsonView jsonValue)
AsyncInvokeSummary & WithFailureMessage(FailureMessageT &&value)
AsyncInvokeSummary & WithInvocationArn(InvocationArnT &&value)
const Aws::Utils::DateTime & GetSubmitTime() const
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary()=default
AsyncInvokeSummary & WithModelArn(ModelArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AsyncInvokeSummary & WithStatus(AsyncInvokeStatus value)
AsyncInvokeSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AsyncInvokeSummary & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AsyncInvokeSummary & WithOutputDataConfig(OutputDataConfigT &&value)
AsyncInvokeSummary & WithSubmitTime(SubmitTimeT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const AsyncInvokeOutputDataConfig & GetOutputDataConfig() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue