AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PerformanceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/PerformanceConfigLatency.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
28 public:
29 AWS_BEDROCKRUNTIME_API PerformanceConfiguration() = default;
32 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline PerformanceConfigLatency GetLatency() const { return m_latency; }
40 inline bool LatencyHasBeenSet() const { return m_latencyHasBeenSet; }
42 m_latencyHasBeenSet = true;
43 m_latency = value;
44 }
46 SetLatency(value);
47 return *this;
48 }
50 private:
52 bool m_latencyHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace BedrockRuntime
57} // namespace Aws
AWS_BEDROCKRUNTIME_API PerformanceConfiguration()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API PerformanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API PerformanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PerformanceConfiguration & WithLatency(PerformanceConfigLatency value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue