AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLoggingLevel(const Aws::String& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = value; }
62 inline void SetLoggingLevel(Aws::String&& value) { m_loggingLevelHasBeenSet = true; m_loggingLevel = std::move(value); }
63 inline void SetLoggingLevel(const char* value) { m_loggingLevelHasBeenSet = true; m_loggingLevel.assign(value); }
64 inline AwsApiGatewayV2RouteSettings& WithLoggingLevel(const Aws::String& value) { SetLoggingLevel(value); return *this;}
65 inline AwsApiGatewayV2RouteSettings& WithLoggingLevel(Aws::String&& value) { SetLoggingLevel(std::move(value)); return *this;}
66 inline AwsApiGatewayV2RouteSettings& WithLoggingLevel(const char* value) { SetLoggingLevel(value); return *this;}
68
70
75 inline bool GetDataTraceEnabled() const{ return m_dataTraceEnabled; }
76 inline bool DataTraceEnabledHasBeenSet() const { return m_dataTraceEnabledHasBeenSet; }
77 inline void SetDataTraceEnabled(bool value) { m_dataTraceEnabledHasBeenSet = true; m_dataTraceEnabled = value; }
78 inline AwsApiGatewayV2RouteSettings& WithDataTraceEnabled(bool value) { SetDataTraceEnabled(value); return *this;}
80
82
85 inline int GetThrottlingBurstLimit() const{ return m_throttlingBurstLimit; }
86 inline bool ThrottlingBurstLimitHasBeenSet() const { return m_throttlingBurstLimitHasBeenSet; }
87 inline void SetThrottlingBurstLimit(int value) { m_throttlingBurstLimitHasBeenSet = true; m_throttlingBurstLimit = value; }
90
92
95 inline double GetThrottlingRateLimit() const{ return m_throttlingRateLimit; }
96 inline bool ThrottlingRateLimitHasBeenSet() const { return m_throttlingRateLimitHasBeenSet; }
97 inline void SetThrottlingRateLimit(double value) { m_throttlingRateLimitHasBeenSet = true; m_throttlingRateLimit = value; }
100 private:
101
102 bool m_detailedMetricsEnabled;
103 bool m_detailedMetricsEnabledHasBeenSet = false;
104
105 Aws::String m_loggingLevel;
106 bool m_loggingLevelHasBeenSet = false;
107
108 bool m_dataTraceEnabled;
109 bool m_dataTraceEnabledHasBeenSet = false;
110
111 int m_throttlingBurstLimit;
112 bool m_throttlingBurstLimitHasBeenSet = false;
113
114 double m_throttlingRateLimit;
115 bool m_throttlingRateLimitHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SecurityHub
120} // namespace Aws
AWS_SECURITYHUB_API AwsApiGatewayV2RouteSettings(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayV2RouteSettings & WithLoggingLevel(const char *value)
AwsApiGatewayV2RouteSettings & WithLoggingLevel(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsApiGatewayV2RouteSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayV2RouteSettings & WithThrottlingRateLimit(double value)
AwsApiGatewayV2RouteSettings & WithLoggingLevel(Aws::String &&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