/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SecurityHub.Model
{
///
/// Contains route settings for a stage.
///
public partial class AwsApiGatewayV2RouteSettings
{
private bool? _dataTraceEnabled;
private bool? _detailedMetricsEnabled;
private string _loggingLevel;
private int? _throttlingBurstLimit;
private double? _throttlingRateLimit;
///
/// Gets and sets the property DataTraceEnabled.
///
/// Indicates whether data trace logging is enabled. Data trace logging affects the log
/// entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
///
///
public bool DataTraceEnabled
{
get { return this._dataTraceEnabled.GetValueOrDefault(); }
set { this._dataTraceEnabled = value; }
}
// Check to see if DataTraceEnabled property is set
internal bool IsSetDataTraceEnabled()
{
return this._dataTraceEnabled.HasValue;
}
///
/// Gets and sets the property DetailedMetricsEnabled.
///
/// Indicates whether detailed metrics are enabled.
///
///
public bool DetailedMetricsEnabled
{
get { return this._detailedMetricsEnabled.GetValueOrDefault(); }
set { this._detailedMetricsEnabled = value; }
}
// Check to see if DetailedMetricsEnabled property is set
internal bool IsSetDetailedMetricsEnabled()
{
return this._detailedMetricsEnabled.HasValue;
}
///
/// Gets and sets the property LoggingLevel.
///
/// The logging level. The logging level affects the log entries that are pushed to CloudWatch
/// Logs. Supported only for WebSocket APIs.
///
///
///
/// If the logging level is ERROR
, then the logs only include error-level
/// entries.
///
///
///
/// If the logging level is INFO
, then the logs include both ERROR
/// events and extra informational events.
///
///
///
/// Valid values: OFF
| ERROR
| INFO
///
///
public string LoggingLevel
{
get { return this._loggingLevel; }
set { this._loggingLevel = value; }
}
// Check to see if LoggingLevel property is set
internal bool IsSetLoggingLevel()
{
return this._loggingLevel != null;
}
///
/// Gets and sets the property ThrottlingBurstLimit.
///
/// The throttling burst limit.
///
///
public int ThrottlingBurstLimit
{
get { return this._throttlingBurstLimit.GetValueOrDefault(); }
set { this._throttlingBurstLimit = value; }
}
// Check to see if ThrottlingBurstLimit property is set
internal bool IsSetThrottlingBurstLimit()
{
return this._throttlingBurstLimit.HasValue;
}
///
/// Gets and sets the property ThrottlingRateLimit.
///
/// The throttling rate limit.
///
///
public double ThrottlingRateLimit
{
get { return this._throttlingRateLimit.GetValueOrDefault(); }
set { this._throttlingRateLimit = value; }
}
// Check to see if ThrottlingRateLimit property is set
internal bool IsSetThrottlingRateLimit()
{
return this._throttlingRateLimit.HasValue;
}
}
}