AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConverseStreamMetrics.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_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 BedrockRuntime
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_BEDROCKRUNTIME_API ConverseStreamMetrics();
33 AWS_BEDROCKRUNTIME_API ConverseStreamMetrics(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetLatencyMs() const{ return m_latencyMs; }
43 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
44 inline void SetLatencyMs(long long value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
45 inline ConverseStreamMetrics& WithLatencyMs(long long value) { SetLatencyMs(value); return *this;}
47 private:
48
49 long long m_latencyMs;
50 bool m_latencyMsHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace BedrockRuntime
55} // namespace Aws
ConverseStreamMetrics & WithLatencyMs(long long value)
AWS_BEDROCKRUNTIME_API ConverseStreamMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ConverseStreamMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue