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/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace BedrockRuntime {
38 template <
typename InvocationArnT = Aws::String>
40 m_invocationArnHasBeenSet =
true;
41 m_invocationArn = std::forward<InvocationArnT>(value);
43 template <
typename InvocationArnT = Aws::String>
55 template <
typename ModelArnT = Aws::String>
57 m_modelArnHasBeenSet =
true;
58 m_modelArn = std::forward<ModelArnT>(value);
60 template <
typename ModelArnT = Aws::String>
72 template <
typename ClientRequestTokenT = Aws::String>
74 m_clientRequestTokenHasBeenSet =
true;
75 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
77 template <
typename ClientRequestTokenT = Aws::String>
90 m_statusHasBeenSet =
true;
104 template <
typename FailureMessageT = Aws::String>
106 m_failureMessageHasBeenSet =
true;
107 m_failureMessage = std::forward<FailureMessageT>(value);
109 template <
typename FailureMessageT = Aws::String>
121 template <
typename SubmitTimeT = Aws::Utils::DateTime>
123 m_submitTimeHasBeenSet =
true;
124 m_submitTime = std::forward<SubmitTimeT>(value);
126 template <
typename SubmitTimeT = Aws::Utils::DateTime>
138 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
140 m_lastModifiedTimeHasBeenSet =
true;
141 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
143 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
155 template <
typename EndTimeT = Aws::Utils::DateTime>
157 m_endTimeHasBeenSet =
true;
158 m_endTime = std::forward<EndTimeT>(value);
160 template <
typename EndTimeT = Aws::Utils::DateTime>
172 template <
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
174 m_outputDataConfigHasBeenSet =
true;
175 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
177 template <
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
187 template <
typename RequestIdT = Aws::String>
189 m_requestIdHasBeenSet =
true;
190 m_requestId = std::forward<RequestIdT>(value);
192 template <
typename RequestIdT = Aws::String>
217 AsyncInvokeOutputDataConfig m_outputDataConfig;
221 bool m_invocationArnHasBeenSet =
false;
222 bool m_modelArnHasBeenSet =
false;
223 bool m_clientRequestTokenHasBeenSet =
false;
224 bool m_statusHasBeenSet =
false;
225 bool m_failureMessageHasBeenSet =
false;
226 bool m_submitTimeHasBeenSet =
false;
227 bool m_lastModifiedTimeHasBeenSet =
false;
228 bool m_endTimeHasBeenSet =
false;
229 bool m_outputDataConfigHasBeenSet =
false;
230 bool m_requestIdHasBeenSet =
false;
void SetFailureMessage(FailureMessageT &&value)
GetAsyncInvokeResult & WithStatus(AsyncInvokeStatus value)
AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult()=default
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetEndTime(EndTimeT &&value)
AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOutputDataConfig(OutputDataConfigT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAsyncInvokeResult & WithFailureMessage(FailureMessageT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAsyncInvokeResult & WithModelArn(ModelArnT &&value)
GetAsyncInvokeResult & WithRequestId(RequestIdT &&value)
void SetModelArn(ModelArnT &&value)
GetAsyncInvokeResult & WithSubmitTime(SubmitTimeT &&value)
void SetSubmitTime(SubmitTimeT &&value)
void SetInvocationArn(InvocationArnT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetModelArn() const
const Aws::String & GetRequestId() const
void SetStatus(AsyncInvokeStatus value)
GetAsyncInvokeResult & WithInvocationArn(InvocationArnT &&value)
const Aws::String & GetInvocationArn() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetFailureMessage() const
const Aws::Utils::DateTime & GetSubmitTime() const
GetAsyncInvokeResult & WithClientRequestToken(ClientRequestTokenT &&value)
GetAsyncInvokeResult & WithOutputDataConfig(OutputDataConfigT &&value)
const Aws::String & GetClientRequestToken() const
AsyncInvokeStatus GetStatus() const
GetAsyncInvokeResult & WithEndTime(EndTimeT &&value)
GetAsyncInvokeResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const AsyncInvokeOutputDataConfig & GetOutputDataConfig() const
void SetRequestId(RequestIdT &&value)
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