AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateInvocationResult.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgentRuntime
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult() = default;
34
35
37
40 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
41 template<typename CreatedAtT = Aws::Utils::DateTime>
42 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
43 template<typename CreatedAtT = Aws::Utils::DateTime>
44 CreateInvocationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
46
48
51 inline const Aws::String& GetInvocationId() const { return m_invocationId; }
52 template<typename InvocationIdT = Aws::String>
53 void SetInvocationId(InvocationIdT&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::forward<InvocationIdT>(value); }
54 template<typename InvocationIdT = Aws::String>
55 CreateInvocationResult& WithInvocationId(InvocationIdT&& value) { SetInvocationId(std::forward<InvocationIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetSessionId() const { return m_sessionId; }
63 template<typename SessionIdT = Aws::String>
64 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
65 template<typename SessionIdT = Aws::String>
66 CreateInvocationResult& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreateInvocationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::Utils::DateTime m_createdAt{};
80 bool m_createdAtHasBeenSet = false;
81
82 Aws::String m_invocationId;
83 bool m_invocationIdHasBeenSet = false;
84
85 Aws::String m_sessionId;
86 bool m_sessionIdHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace BedrockAgentRuntime
94} // namespace Aws
CreateInvocationResult & WithRequestId(RequestIdT &&value)
CreateInvocationResult & WithCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInvocationResult & WithSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationResult()=default
CreateInvocationResult & WithInvocationId(InvocationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue