AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ConverseMetrics.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockRuntime {
17namespace Model {
18
27 public:
28 AWS_BEDROCKRUNTIME_API ConverseMetrics() = default;
31 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline long long GetLatencyMs() const { return m_latencyMs; }
38 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
39 inline void SetLatencyMs(long long value) {
40 m_latencyMsHasBeenSet = true;
41 m_latencyMs = value;
42 }
43 inline ConverseMetrics& WithLatencyMs(long long value) {
44 SetLatencyMs(value);
45 return *this;
46 }
48 private:
49 long long m_latencyMs{0};
50 bool m_latencyMsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace BedrockRuntime
55} // namespace Aws
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ConverseMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
ConverseMetrics & WithLatencyMs(long long value)
AWS_BEDROCKRUNTIME_API ConverseMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ConverseMetrics()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue