7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/AsyncInvokeStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace BedrockRuntime
43 template<
typename InvocationArnT = Aws::String>
44 void SetInvocationArn(InvocationArnT&& value) { m_invocationArnHasBeenSet =
true; m_invocationArn = std::forward<InvocationArnT>(value); }
45 template<
typename InvocationArnT = Aws::String>
54 template<
typename ModelArnT = Aws::String>
55 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
56 template<
typename ModelArnT = Aws::String>
65 template<
typename ClientRequestTokenT = Aws::String>
66 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
67 template<
typename ClientRequestTokenT = Aws::String>
85 template<
typename FailureMessageT = Aws::String>
86 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
87 template<
typename FailureMessageT = Aws::String>
96 template<
typename SubmitTimeT = Aws::Utils::DateTime>
97 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet =
true; m_submitTime = std::forward<SubmitTimeT>(value); }
98 template<
typename SubmitTimeT = Aws::Utils::DateTime>
107 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
108 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
109 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
118 template<
typename EndTimeT = Aws::Utils::DateTime>
119 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
120 template<
typename EndTimeT = Aws::Utils::DateTime>
129 template<
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
130 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
131 template<
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
138 template<
typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
140 template<
typename RequestIdT = Aws::String>
146 bool m_invocationArnHasBeenSet =
false;
149 bool m_modelArnHasBeenSet =
false;
152 bool m_clientRequestTokenHasBeenSet =
false;
155 bool m_statusHasBeenSet =
false;
158 bool m_failureMessageHasBeenSet =
false;
161 bool m_submitTimeHasBeenSet =
false;
164 bool m_lastModifiedTimeHasBeenSet =
false;
167 bool m_endTimeHasBeenSet =
false;
169 AsyncInvokeOutputDataConfig m_outputDataConfig;
170 bool m_outputDataConfigHasBeenSet =
false;
173 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)
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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue