AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Span.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime
20{
21namespace Model
22{
23
36 class Span
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API Span();
40 AWS_BEDROCKAGENTRUNTIME_API Span(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API Span& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline int GetEnd() const{ return m_end; }
50 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
51 inline void SetEnd(int value) { m_endHasBeenSet = true; m_end = value; }
52 inline Span& WithEnd(int value) { SetEnd(value); return *this;}
54
56
59 inline int GetStart() const{ return m_start; }
60 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
61 inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
62 inline Span& WithStart(int value) { SetStart(value); return *this;}
64 private:
65
66 int m_end;
67 bool m_endHasBeenSet = false;
68
69 int m_start;
70 bool m_startHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace BedrockAgentRuntime
75} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Span()
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Span & WithStart(int value)
Definition Span.h:62
AWS_BEDROCKAGENTRUNTIME_API Span(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Span & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue