AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
RateLimiterModuleParameters.h
1
6#pragma once
7#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace RTBFabric {
17namespace Model {
18
25 public:
26 AWS_RTBFABRIC_API RateLimiterModuleParameters() = default;
29 AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline double GetTps() const { return m_tps; }
36 inline bool TpsHasBeenSet() const { return m_tpsHasBeenSet; }
37 inline void SetTps(double value) {
38 m_tpsHasBeenSet = true;
39 m_tps = value;
40 }
41 inline RateLimiterModuleParameters& WithTps(double value) {
42 SetTps(value);
43 return *this;
44 }
46 private:
47 double m_tps{0.0};
48 bool m_tpsHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace RTBFabric
53} // namespace Aws
AWS_RTBFABRIC_API RateLimiterModuleParameters()=default
RateLimiterModuleParameters & WithTps(double value)
AWS_RTBFABRIC_API RateLimiterModuleParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RTBFABRIC_API RateLimiterModuleParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue