AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CustomOrchestrationTrace.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/CustomOrchestrationTraceEvent.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 CustomOrchestrationTrace() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const CustomOrchestrationTraceEvent& GetEvent() const { return m_event; }
41 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
42 template <typename EventT = CustomOrchestrationTraceEvent>
43 void SetEvent(EventT&& value) {
44 m_eventHasBeenSet = true;
45 m_event = std::forward<EventT>(value);
46 }
47 template <typename EventT = CustomOrchestrationTraceEvent>
49 SetEvent(std::forward<EventT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTraceId() const { return m_traceId; }
59 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
60 template <typename TraceIdT = Aws::String>
61 void SetTraceId(TraceIdT&& value) {
62 m_traceIdHasBeenSet = true;
63 m_traceId = std::forward<TraceIdT>(value);
64 }
65 template <typename TraceIdT = Aws::String>
67 SetTraceId(std::forward<TraceIdT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_traceId;
75 bool m_eventHasBeenSet = false;
76 bool m_traceIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgentRuntime
81} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace()=default
const CustomOrchestrationTraceEvent & GetEvent() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(Aws::Utils::Json::JsonView jsonValue)
CustomOrchestrationTrace & WithTraceId(TraceIdT &&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