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>
24namespace BedrockRuntime
49 template<
typename InvocationArnT = Aws::String>
50 void SetInvocationArn(InvocationArnT&& value) { m_invocationArnHasBeenSet =
true; m_invocationArn = std::forward<InvocationArnT>(value); }
51 template<
typename InvocationArnT = Aws::String>
61 template<
typename ModelArnT = Aws::String>
62 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
63 template<
typename ModelArnT = Aws::String>
73 template<
typename ClientRequestTokenT = Aws::String>
74 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
75 template<
typename ClientRequestTokenT = Aws::String>
95 template<
typename FailureMessageT = Aws::String>
96 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
97 template<
typename FailureMessageT = Aws::String>
107 template<
typename SubmitTimeT = Aws::Utils::DateTime>
108 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet =
true; m_submitTime = std::forward<SubmitTimeT>(value); }
109 template<
typename SubmitTimeT = Aws::Utils::DateTime>
119 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
120 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
121 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
131 template<
typename EndTimeT = Aws::Utils::DateTime>
132 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
133 template<
typename EndTimeT = Aws::Utils::DateTime>
143 template<
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
144 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
145 template<
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
151 bool m_invocationArnHasBeenSet =
false;
154 bool m_modelArnHasBeenSet =
false;
157 bool m_clientRequestTokenHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
163 bool m_failureMessageHasBeenSet =
false;
166 bool m_submitTimeHasBeenSet =
false;
169 bool m_lastModifiedTimeHasBeenSet =
false;
172 bool m_endTimeHasBeenSet =
false;
174 AsyncInvokeOutputDataConfig m_outputDataConfig;
175 bool m_outputDataConfigHasBeenSet =
false;
AsyncInvokeSummary & WithEndTime(EndTimeT &&value)
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInvocationArn() const
AsyncInvokeSummary & WithFailureMessage(FailureMessageT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetFailureMessage() const
bool EndTimeHasBeenSet() const
const Aws::String & GetModelArn() const
AsyncInvokeSummary & WithInvocationArn(InvocationArnT &&value)
const Aws::Utils::DateTime & GetSubmitTime() const
bool SubmitTimeHasBeenSet() const
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(AsyncInvokeStatus value)
bool LastModifiedTimeHasBeenSet() const
void SetFailureMessage(FailureMessageT &&value)
AWS_BEDROCKRUNTIME_API AsyncInvokeSummary()=default
AsyncInvokeSummary & WithModelArn(ModelArnT &&value)
void SetSubmitTime(SubmitTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool ModelArnHasBeenSet() const
bool InvocationArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AsyncInvokeSummary & WithStatus(AsyncInvokeStatus value)
AsyncInvokeSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
AsyncInvokeStatus GetStatus() const
void SetModelArn(ModelArnT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool StatusHasBeenSet() const
AsyncInvokeSummary & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AsyncInvokeSummary & WithOutputDataConfig(OutputDataConfigT &&value)
bool OutputDataConfigHasBeenSet() const
void SetInvocationArn(InvocationArnT &&value)
bool FailureMessageHasBeenSet() const
AsyncInvokeSummary & WithSubmitTime(SubmitTimeT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
bool ClientRequestTokenHasBeenSet() const
const Aws::String & GetClientRequestToken() const
const AsyncInvokeOutputDataConfig & GetOutputDataConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue