AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvocationSummary.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API InvocationSummary() = default;
40 AWS_BEDROCKAGENTRUNTIME_API InvocationSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API InvocationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
50 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
53 template<typename CreatedAtT = Aws::Utils::DateTime>
54 InvocationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
56
58
61 inline const Aws::String& GetInvocationId() const { return m_invocationId; }
62 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
63 template<typename InvocationIdT = Aws::String>
64 void SetInvocationId(InvocationIdT&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::forward<InvocationIdT>(value); }
65 template<typename InvocationIdT = Aws::String>
66 InvocationSummary& WithInvocationId(InvocationIdT&& value) { SetInvocationId(std::forward<InvocationIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetSessionId() const { return m_sessionId; }
74 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
75 template<typename SessionIdT = Aws::String>
76 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
77 template<typename SessionIdT = Aws::String>
78 InvocationSummary& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
80 private:
81
82 Aws::Utils::DateTime m_createdAt{};
83 bool m_createdAtHasBeenSet = false;
84
85 Aws::String m_invocationId;
86 bool m_invocationIdHasBeenSet = false;
87
88 Aws::String m_sessionId;
89 bool m_sessionIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace BedrockAgentRuntime
94} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API InvocationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InvocationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InvocationSummary()=default
InvocationSummary & WithSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
InvocationSummary & WithInvocationId(InvocationIdT &&value)
InvocationSummary & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue