AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace() = default;
37 AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API CustomOrchestrationTrace& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CustomOrchestrationTraceEvent& GetEvent() const { return m_event; }
47 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
48 template<typename EventT = CustomOrchestrationTraceEvent>
49 void SetEvent(EventT&& value) { m_eventHasBeenSet = true; m_event = std::forward<EventT>(value); }
50 template<typename EventT = CustomOrchestrationTraceEvent>
51 CustomOrchestrationTrace& WithEvent(EventT&& value) { SetEvent(std::forward<EventT>(value)); return *this;}
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) { m_traceIdHasBeenSet = true; m_traceId = std::forward<TraceIdT>(value); }
62 template<typename TraceIdT = Aws::String>
63 CustomOrchestrationTrace& WithTraceId(TraceIdT&& value) { SetTraceId(std::forward<TraceIdT>(value)); return *this;}
65 private:
66
68 bool m_eventHasBeenSet = false;
69
70 Aws::String m_traceId;
71 bool m_traceIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgentRuntime
76} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue