AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsApiGatewayV2RouteSettings.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYHUB_API AwsApiGatewayV2RouteSettings() = default;
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetDetailedMetricsEnabled() const { return m_detailedMetricsEnabled; }
45 inline bool DetailedMetricsEnabledHasBeenSet() const { return m_detailedMetricsEnabledHasBeenSet; }
46 inline void SetDetailedMetricsEnabled(bool value) { m_detailedMetricsEnabledHasBeenSet = true; m_detailedMetricsEnabled = value; }
49
51
59 inline const Aws::String& GetLoggingLevel() const { return m_loggingLevel; }
60 inline bool LoggingLevelHasBeenSet() const { return m_loggingLevelHasBeenSet; }
61 template<typename LoggingLevelT = Aws::String>
62 void SetLoggingLevel(LoggingLevelT&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::forward<LoggingLevelT>(value); }
63 template<typename LoggingLevelT = Aws::String>
64 AwsApiGatewayV2RouteSettings& WithLoggingLevel(LoggingLevelT&& value) { SetLoggingLevel(std::forward<LoggingLevelT>(value)); return *this;}
66
68
73 inline bool GetDataTraceEnabled() const { return m_dataTraceEnabled; }
74 inline bool DataTraceEnabledHasBeenSet() const { return m_dataTraceEnabledHasBeenSet; }
75 inline void SetDataTraceEnabled(bool value) { m_dataTraceEnabledHasBeenSet = true; m_dataTraceEnabled = value; }
76 inline AwsApiGatewayV2RouteSettings& WithDataTraceEnabled(bool value) { SetDataTraceEnabled(value); return *this;}
78
80
83 inline int GetThrottlingBurstLimit() const { return m_throttlingBurstLimit; }
84 inline bool ThrottlingBurstLimitHasBeenSet() const { return m_throttlingBurstLimitHasBeenSet; }
85 inline void SetThrottlingBurstLimit(int value) { m_throttlingBurstLimitHasBeenSet = true; m_throttlingBurstLimit = value; }
88
90
93 inline double GetThrottlingRateLimit() const { return m_throttlingRateLimit; }
94 inline bool ThrottlingRateLimitHasBeenSet() const { return m_throttlingRateLimitHasBeenSet; }
95 inline void SetThrottlingRateLimit(double value) { m_throttlingRateLimitHasBeenSet = true; m_throttlingRateLimit = value; }
98 private:
99
100 bool m_detailedMetricsEnabled{false};
101 bool m_detailedMetricsEnabledHasBeenSet = false;
102
103 Aws::String m_loggingLevel;
104 bool m_loggingLevelHasBeenSet = false;
105
106 bool m_dataTraceEnabled{false};
107 bool m_dataTraceEnabledHasBeenSet = false;
108
109 int m_throttlingBurstLimit{0};
110 bool m_throttlingBurstLimitHasBeenSet = false;
111
112 double m_throttlingRateLimit{0.0};
113 bool m_throttlingRateLimitHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SecurityHub
118} // namespace Aws
AWS_SECURITYHUB_API AwsApiGatewayV2RouteSettings(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayV2RouteSettings & WithLoggingLevel(LoggingLevelT &&value)
AWS_SECURITYHUB_API AwsApiGatewayV2RouteSettings()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsApiGatewayV2RouteSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayV2RouteSettings & WithThrottlingRateLimit(double value)
AwsApiGatewayV2RouteSettings & WithDataTraceEnabled(bool value)
AwsApiGatewayV2RouteSettings & WithThrottlingBurstLimit(int value)
AwsApiGatewayV2RouteSettings & WithDetailedMetricsEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue