7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace BedrockAgentRuntime {
36 template <
typename CreatedAtT = Aws::Utils::DateTime>
38 m_createdAtHasBeenSet =
true;
39 m_createdAt = std::forward<CreatedAtT>(value);
41 template <
typename CreatedAtT = Aws::Utils::DateTime>
53 template <
typename InvocationIdT = Aws::String>
55 m_invocationIdHasBeenSet =
true;
56 m_invocationId = std::forward<InvocationIdT>(value);
58 template <
typename InvocationIdT = Aws::String>
70 template <
typename SessionIdT = Aws::String>
72 m_sessionIdHasBeenSet =
true;
73 m_sessionId = std::forward<SessionIdT>(value);
75 template <
typename SessionIdT = Aws::String>
85 template <
typename RequestIdT = Aws::String>
87 m_requestIdHasBeenSet =
true;
88 m_requestId = std::forward<RequestIdT>(value);
90 template <
typename RequestIdT = Aws::String>
107 bool m_createdAtHasBeenSet =
false;
108 bool m_invocationIdHasBeenSet =
false;
109 bool m_sessionIdHasBeenSet =
false;
110 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateInvocationResult & WithRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
CreateInvocationResult & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSessionId(SessionIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetInvocationId(InvocationIdT &&value)
const Aws::String & GetInvocationId() const
const Aws::String & GetSessionId() const
CreateInvocationResult & WithSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult()=default
CreateInvocationResult & WithInvocationId(InvocationIdT &&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