AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteSettings.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/LoggingLevel.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApiGatewayV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APIGATEWAYV2_API RouteSettings();
35 AWS_APIGATEWAYV2_API RouteSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APIGATEWAYV2_API RouteSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline bool GetDataTraceEnabled() const{ return m_dataTraceEnabled; }
47 inline bool DataTraceEnabledHasBeenSet() const { return m_dataTraceEnabledHasBeenSet; }
48 inline void SetDataTraceEnabled(bool value) { m_dataTraceEnabledHasBeenSet = true; m_dataTraceEnabled = value; }
49 inline RouteSettings& WithDataTraceEnabled(bool value) { SetDataTraceEnabled(value); return *this;}
51
53
56 inline bool GetDetailedMetricsEnabled() const{ return m_detailedMetricsEnabled; }
57 inline bool DetailedMetricsEnabledHasBeenSet() const { return m_detailedMetricsEnabledHasBeenSet; }
58 inline void SetDetailedMetricsEnabled(bool value) { m_detailedMetricsEnabledHasBeenSet = true; m_detailedMetricsEnabled = value; }
59 inline RouteSettings& WithDetailedMetricsEnabled(bool value) { SetDetailedMetricsEnabled(value); return *this;}
61
63
68 inline const LoggingLevel& GetLoggingLevel() const{ return m_loggingLevel; }
69 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
70 inline void SetLoggingLevel(const LoggingLevel& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
71 inline void SetLoggingLevel(LoggingLevel&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
72 inline RouteSettings& WithLoggingLevel(const LoggingLevel& value) { SetLoggingLevel(value); return *this;}
73 inline RouteSettings& WithLoggingLevel(LoggingLevel&& value) { SetLoggingLevel(std::move(value)); return *this;}
75
77
80 inline int GetThrottlingBurstLimit() const{ return m_throttlingBurstLimit; }
81 inline bool ThrottlingBurstLimitHasBeenSet() const { return m_throttlingBurstLimitHasBeenSet; }
82 inline void SetThrottlingBurstLimit(int value) { m_throttlingBurstLimitHasBeenSet = true; m_throttlingBurstLimit = value; }
83 inline RouteSettings& WithThrottlingBurstLimit(int value) { SetThrottlingBurstLimit(value); return *this;}
85
87
90 inline double GetThrottlingRateLimit() const{ return m_throttlingRateLimit; }
91 inline bool ThrottlingRateLimitHasBeenSet() const { return m_throttlingRateLimitHasBeenSet; }
92 inline void SetThrottlingRateLimit(double value) { m_throttlingRateLimitHasBeenSet = true; m_throttlingRateLimit = value; }
93 inline RouteSettings& WithThrottlingRateLimit(double value) { SetThrottlingRateLimit(value); return *this;}
95 private:
96
97 bool m_dataTraceEnabled;
98 bool m_dataTraceEnabledHasBeenSet = false;
99
100 bool m_detailedMetricsEnabled;
101 bool m_detailedMetricsEnabledHasBeenSet = false;
102
103 LoggingLevel m_loggingLevel;
104 bool m_loggingLevelHasBeenSet = false;
105
106 int m_throttlingBurstLimit;
107 bool m_throttlingBurstLimitHasBeenSet = false;
108
109 double m_throttlingRateLimit;
110 bool m_throttlingRateLimitHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ApiGatewayV2
115} // namespace Aws
RouteSettings & WithThrottlingRateLimit(double value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
RouteSettings & WithLoggingLevel(LoggingLevel &&value)
AWS_APIGATEWAYV2_API RouteSettings(Aws::Utils::Json::JsonView jsonValue)
void SetLoggingLevel(const LoggingLevel &value)
RouteSettings & WithDetailedMetricsEnabled(bool value)
void SetLoggingLevel(LoggingLevel &&value)
RouteSettings & WithThrottlingBurstLimit(int value)
AWS_APIGATEWAYV2_API RouteSettings()
RouteSettings & WithLoggingLevel(const LoggingLevel &value)
AWS_APIGATEWAYV2_API RouteSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteSettings & WithDataTraceEnabled(bool value)
const LoggingLevel & GetLoggingLevel() const
Aws::Utils::Json::JsonValue JsonValue