AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetrieveTraceEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveTraceEventAttributes.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEvent() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AgenticRetrieveTraceEventAttributes& GetAttributes() const { return m_attributes; }
41 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
42 template <typename AttributesT = AgenticRetrieveTraceEventAttributes>
43 void SetAttributes(AttributesT&& value) {
44 m_attributesHasBeenSet = true;
45 m_attributes = std::forward<AttributesT>(value);
46 }
47 template <typename AttributesT = AgenticRetrieveTraceEventAttributes>
49 SetAttributes(std::forward<AttributesT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline long long GetTimestamp() const { return m_timestamp; }
77 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
78 inline void SetTimestamp(long long value) {
79 m_timestampHasBeenSet = true;
80 m_timestamp = value;
81 }
82 inline AgenticRetrieveTraceEvent& WithTimestamp(long long value) {
83 SetTimestamp(value);
84 return *this;
85 }
87 private:
89
90 Aws::String m_id;
91
92 long long m_timestamp{0};
93 bool m_attributesHasBeenSet = false;
94 bool m_idHasBeenSet = false;
95 bool m_timestampHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace BedrockAgentRuntime
100} // namespace Aws
const AgenticRetrieveTraceEventAttributes & GetAttributes() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEvent(Aws::Utils::Json::JsonView jsonValue)
AgenticRetrieveTraceEvent & WithTimestamp(long long value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveTraceEvent()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AgenticRetrieveTraceEvent & WithAttributes(AttributesT &&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