AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConverseMetrics.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
32 {
33 public:
34 AWS_BEDROCKRUNTIME_API ConverseMetrics();
35 AWS_BEDROCKRUNTIME_API ConverseMetrics(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKRUNTIME_API ConverseMetrics& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetLatencyMs() const{ return m_latencyMs; }
45 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
46 inline void SetLatencyMs(long long value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
47 inline ConverseMetrics& WithLatencyMs(long long value) { SetLatencyMs(value); return *this;}
49 private:
50
51 long long m_latencyMs;
52 bool m_latencyMsHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace BedrockRuntime
57} // namespace Aws
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ConverseMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ConverseMetrics()
ConverseMetrics & WithLatencyMs(long long value)
AWS_BEDROCKRUNTIME_API ConverseMetrics(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue