AWS SDK for C++  1.9.68
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::AwsApiGatewayMethodSettings Class Reference

#include <AwsApiGatewayMethodSettings.h>

Public Member Functions

 AwsApiGatewayMethodSettings ()
 
 AwsApiGatewayMethodSettings (Aws::Utils::Json::JsonView jsonValue)
 
AwsApiGatewayMethodSettingsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetMetricsEnabled () const
 
bool MetricsEnabledHasBeenSet () const
 
void SetMetricsEnabled (bool value)
 
AwsApiGatewayMethodSettingsWithMetricsEnabled (bool value)
 
const Aws::StringGetLoggingLevel () const
 
bool LoggingLevelHasBeenSet () const
 
void SetLoggingLevel (const Aws::String &value)
 
void SetLoggingLevel (Aws::String &&value)
 
void SetLoggingLevel (const char *value)
 
AwsApiGatewayMethodSettingsWithLoggingLevel (const Aws::String &value)
 
AwsApiGatewayMethodSettingsWithLoggingLevel (Aws::String &&value)
 
AwsApiGatewayMethodSettingsWithLoggingLevel (const char *value)
 
bool GetDataTraceEnabled () const
 
bool DataTraceEnabledHasBeenSet () const
 
void SetDataTraceEnabled (bool value)
 
AwsApiGatewayMethodSettingsWithDataTraceEnabled (bool value)
 
int GetThrottlingBurstLimit () const
 
bool ThrottlingBurstLimitHasBeenSet () const
 
void SetThrottlingBurstLimit (int value)
 
AwsApiGatewayMethodSettingsWithThrottlingBurstLimit (int value)
 
double GetThrottlingRateLimit () const
 
bool ThrottlingRateLimitHasBeenSet () const
 
void SetThrottlingRateLimit (double value)
 
AwsApiGatewayMethodSettingsWithThrottlingRateLimit (double value)
 
bool GetCachingEnabled () const
 
bool CachingEnabledHasBeenSet () const
 
void SetCachingEnabled (bool value)
 
AwsApiGatewayMethodSettingsWithCachingEnabled (bool value)
 
int GetCacheTtlInSeconds () const
 
bool CacheTtlInSecondsHasBeenSet () const
 
void SetCacheTtlInSeconds (int value)
 
AwsApiGatewayMethodSettingsWithCacheTtlInSeconds (int value)
 
bool GetCacheDataEncrypted () const
 
bool CacheDataEncryptedHasBeenSet () const
 
void SetCacheDataEncrypted (bool value)
 
AwsApiGatewayMethodSettingsWithCacheDataEncrypted (bool value)
 
bool GetRequireAuthorizationForCacheControl () const
 
bool RequireAuthorizationForCacheControlHasBeenSet () const
 
void SetRequireAuthorizationForCacheControl (bool value)
 
AwsApiGatewayMethodSettingsWithRequireAuthorizationForCacheControl (bool value)
 
const Aws::StringGetUnauthorizedCacheControlHeaderStrategy () const
 
bool UnauthorizedCacheControlHeaderStrategyHasBeenSet () const
 
void SetUnauthorizedCacheControlHeaderStrategy (const Aws::String &value)
 
void SetUnauthorizedCacheControlHeaderStrategy (Aws::String &&value)
 
void SetUnauthorizedCacheControlHeaderStrategy (const char *value)
 
AwsApiGatewayMethodSettingsWithUnauthorizedCacheControlHeaderStrategy (const Aws::String &value)
 
AwsApiGatewayMethodSettingsWithUnauthorizedCacheControlHeaderStrategy (Aws::String &&value)
 
AwsApiGatewayMethodSettingsWithUnauthorizedCacheControlHeaderStrategy (const char *value)
 
const Aws::StringGetHttpMethod () const
 
bool HttpMethodHasBeenSet () const
 
void SetHttpMethod (const Aws::String &value)
 
void SetHttpMethod (Aws::String &&value)
 
void SetHttpMethod (const char *value)
 
AwsApiGatewayMethodSettingsWithHttpMethod (const Aws::String &value)
 
AwsApiGatewayMethodSettingsWithHttpMethod (Aws::String &&value)
 
AwsApiGatewayMethodSettingsWithHttpMethod (const char *value)
 
const Aws::StringGetResourcePath () const
 
bool ResourcePathHasBeenSet () const
 
void SetResourcePath (const Aws::String &value)
 
void SetResourcePath (Aws::String &&value)
 
void SetResourcePath (const char *value)
 
AwsApiGatewayMethodSettingsWithResourcePath (const Aws::String &value)
 
AwsApiGatewayMethodSettingsWithResourcePath (Aws::String &&value)
 
AwsApiGatewayMethodSettingsWithResourcePath (const char *value)
 

Detailed Description

Defines settings for a method for the stage.

See Also:

AWS API Reference

Definition at line 31 of file AwsApiGatewayMethodSettings.h.

Constructor & Destructor Documentation

◆ AwsApiGatewayMethodSettings() [1/2]

Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::AwsApiGatewayMethodSettings ( )

◆ AwsApiGatewayMethodSettings() [2/2]

Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::AwsApiGatewayMethodSettings ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ CacheDataEncryptedHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::CacheDataEncryptedHasBeenSet ( ) const
inline

Indicates whether the cached responses are encrypted.

Definition at line 267 of file AwsApiGatewayMethodSettings.h.

◆ CacheTtlInSecondsHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::CacheTtlInSecondsHasBeenSet ( ) const
inline

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.

Definition at line 244 of file AwsApiGatewayMethodSettings.h.

◆ CachingEnabledHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::CachingEnabledHasBeenSet ( ) const
inline

Indicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.

Definition at line 219 of file AwsApiGatewayMethodSettings.h.

◆ DataTraceEnabledHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::DataTraceEnabledHasBeenSet ( ) const
inline

Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.

Definition at line 152 of file AwsApiGatewayMethodSettings.h.

◆ GetCacheDataEncrypted()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetCacheDataEncrypted ( ) const
inline

Indicates whether the cached responses are encrypted.

Definition at line 262 of file AwsApiGatewayMethodSettings.h.

◆ GetCacheTtlInSeconds()

int Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetCacheTtlInSeconds ( ) const
inline

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.

Definition at line 238 of file AwsApiGatewayMethodSettings.h.

◆ GetCachingEnabled()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetCachingEnabled ( ) const
inline

Indicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.

Definition at line 213 of file AwsApiGatewayMethodSettings.h.

◆ GetDataTraceEnabled()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetDataTraceEnabled ( ) const
inline

Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.

Definition at line 146 of file AwsApiGatewayMethodSettings.h.

◆ GetHttpMethod()

const Aws::String& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetHttpMethod ( ) const
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 374 of file AwsApiGatewayMethodSettings.h.

◆ GetLoggingLevel()

const Aws::String& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetLoggingLevel ( ) const
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 69 of file AwsApiGatewayMethodSettings.h.

◆ GetMetricsEnabled()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetMetricsEnabled ( ) const
inline

Indicates whether CloudWatch metrics are enabled for the method.

Definition at line 43 of file AwsApiGatewayMethodSettings.h.

◆ GetRequireAuthorizationForCacheControl()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetRequireAuthorizationForCacheControl ( ) const
inline

Indicates whether authorization is required for a cache invalidation request.

Definition at line 284 of file AwsApiGatewayMethodSettings.h.

◆ GetResourcePath()

const Aws::String& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetResourcePath ( ) const
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 427 of file AwsApiGatewayMethodSettings.h.

◆ GetThrottlingBurstLimit()

int Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetThrottlingBurstLimit ( ) const
inline

The throttling burst limit for the method.

Definition at line 170 of file AwsApiGatewayMethodSettings.h.

◆ GetThrottlingRateLimit()

double Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetThrottlingRateLimit ( ) const
inline

The throttling rate limit for the method.

Definition at line 191 of file AwsApiGatewayMethodSettings.h.

◆ GetUnauthorizedCacheControlHeaderStrategy()

const Aws::String& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::GetUnauthorizedCacheControlHeaderStrategy ( ) const
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 311 of file AwsApiGatewayMethodSettings.h.

◆ HttpMethodHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::HttpMethodHasBeenSet ( ) const
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 380 of file AwsApiGatewayMethodSettings.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::Jsonize ( ) const

◆ LoggingLevelHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::LoggingLevelHasBeenSet ( ) const
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 79 of file AwsApiGatewayMethodSettings.h.

◆ MetricsEnabledHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::MetricsEnabledHasBeenSet ( ) const
inline

Indicates whether CloudWatch metrics are enabled for the method.

Definition at line 48 of file AwsApiGatewayMethodSettings.h.

◆ operator=()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RequireAuthorizationForCacheControlHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::RequireAuthorizationForCacheControlHasBeenSet ( ) const
inline

Indicates whether authorization is required for a cache invalidation request.

Definition at line 290 of file AwsApiGatewayMethodSettings.h.

◆ ResourcePathHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::ResourcePathHasBeenSet ( ) const
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 437 of file AwsApiGatewayMethodSettings.h.

◆ SetCacheDataEncrypted()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetCacheDataEncrypted ( bool  value)
inline

Indicates whether the cached responses are encrypted.

Definition at line 272 of file AwsApiGatewayMethodSettings.h.

◆ SetCacheTtlInSeconds()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetCacheTtlInSeconds ( int  value)
inline

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.

Definition at line 250 of file AwsApiGatewayMethodSettings.h.

◆ SetCachingEnabled()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetCachingEnabled ( bool  value)
inline

Indicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.

Definition at line 225 of file AwsApiGatewayMethodSettings.h.

◆ SetDataTraceEnabled()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetDataTraceEnabled ( bool  value)
inline

Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.

Definition at line 158 of file AwsApiGatewayMethodSettings.h.

◆ SetHttpMethod() [1/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetHttpMethod ( Aws::String &&  value)
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 392 of file AwsApiGatewayMethodSettings.h.

◆ SetHttpMethod() [2/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetHttpMethod ( const Aws::String value)
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 386 of file AwsApiGatewayMethodSettings.h.

◆ SetHttpMethod() [3/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetHttpMethod ( const char *  value)
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 398 of file AwsApiGatewayMethodSettings.h.

◆ SetLoggingLevel() [1/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetLoggingLevel ( Aws::String &&  value)
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 99 of file AwsApiGatewayMethodSettings.h.

◆ SetLoggingLevel() [2/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetLoggingLevel ( const Aws::String value)
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 89 of file AwsApiGatewayMethodSettings.h.

◆ SetLoggingLevel() [3/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetLoggingLevel ( const char *  value)
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 109 of file AwsApiGatewayMethodSettings.h.

◆ SetMetricsEnabled()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetMetricsEnabled ( bool  value)
inline

Indicates whether CloudWatch metrics are enabled for the method.

Definition at line 53 of file AwsApiGatewayMethodSettings.h.

◆ SetRequireAuthorizationForCacheControl()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetRequireAuthorizationForCacheControl ( bool  value)
inline

Indicates whether authorization is required for a cache invalidation request.

Definition at line 296 of file AwsApiGatewayMethodSettings.h.

◆ SetResourcePath() [1/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetResourcePath ( Aws::String &&  value)
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 457 of file AwsApiGatewayMethodSettings.h.

◆ SetResourcePath() [2/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetResourcePath ( const Aws::String value)
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 447 of file AwsApiGatewayMethodSettings.h.

◆ SetResourcePath() [3/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetResourcePath ( const char *  value)
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 467 of file AwsApiGatewayMethodSettings.h.

◆ SetThrottlingBurstLimit()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetThrottlingBurstLimit ( int  value)
inline

The throttling burst limit for the method.

Definition at line 180 of file AwsApiGatewayMethodSettings.h.

◆ SetThrottlingRateLimit()

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetThrottlingRateLimit ( double  value)
inline

The throttling rate limit for the method.

Definition at line 201 of file AwsApiGatewayMethodSettings.h.

◆ SetUnauthorizedCacheControlHeaderStrategy() [1/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetUnauthorizedCacheControlHeaderStrategy ( Aws::String &&  value)
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 335 of file AwsApiGatewayMethodSettings.h.

◆ SetUnauthorizedCacheControlHeaderStrategy() [2/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetUnauthorizedCacheControlHeaderStrategy ( const Aws::String value)
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 327 of file AwsApiGatewayMethodSettings.h.

◆ SetUnauthorizedCacheControlHeaderStrategy() [3/3]

void Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::SetUnauthorizedCacheControlHeaderStrategy ( const char *  value)
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 343 of file AwsApiGatewayMethodSettings.h.

◆ ThrottlingBurstLimitHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::ThrottlingBurstLimitHasBeenSet ( ) const
inline

The throttling burst limit for the method.

Definition at line 175 of file AwsApiGatewayMethodSettings.h.

◆ ThrottlingRateLimitHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::ThrottlingRateLimitHasBeenSet ( ) const
inline

The throttling rate limit for the method.

Definition at line 196 of file AwsApiGatewayMethodSettings.h.

◆ UnauthorizedCacheControlHeaderStrategyHasBeenSet()

bool Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::UnauthorizedCacheControlHeaderStrategyHasBeenSet ( ) const
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 319 of file AwsApiGatewayMethodSettings.h.

◆ WithCacheDataEncrypted()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithCacheDataEncrypted ( bool  value)
inline

Indicates whether the cached responses are encrypted.

Definition at line 277 of file AwsApiGatewayMethodSettings.h.

◆ WithCacheTtlInSeconds()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithCacheTtlInSeconds ( int  value)
inline

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.

Definition at line 256 of file AwsApiGatewayMethodSettings.h.

◆ WithCachingEnabled()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithCachingEnabled ( bool  value)
inline

Indicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.

Definition at line 231 of file AwsApiGatewayMethodSettings.h.

◆ WithDataTraceEnabled()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithDataTraceEnabled ( bool  value)
inline

Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.

Definition at line 164 of file AwsApiGatewayMethodSettings.h.

◆ WithHttpMethod() [1/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithHttpMethod ( Aws::String &&  value)
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 410 of file AwsApiGatewayMethodSettings.h.

◆ WithHttpMethod() [2/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithHttpMethod ( const Aws::String value)
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 404 of file AwsApiGatewayMethodSettings.h.

◆ WithHttpMethod() [3/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithHttpMethod ( const char *  value)
inline

The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 416 of file AwsApiGatewayMethodSettings.h.

◆ WithLoggingLevel() [1/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithLoggingLevel ( Aws::String &&  value)
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 129 of file AwsApiGatewayMethodSettings.h.

◆ WithLoggingLevel() [2/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithLoggingLevel ( const Aws::String value)
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 119 of file AwsApiGatewayMethodSettings.h.

◆ WithLoggingLevel() [3/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithLoggingLevel ( const char *  value)
inline

The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.

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

Definition at line 139 of file AwsApiGatewayMethodSettings.h.

◆ WithMetricsEnabled()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithMetricsEnabled ( bool  value)
inline

Indicates whether CloudWatch metrics are enabled for the method.

Definition at line 58 of file AwsApiGatewayMethodSettings.h.

◆ WithRequireAuthorizationForCacheControl()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithRequireAuthorizationForCacheControl ( bool  value)
inline

Indicates whether authorization is required for a cache invalidation request.

Definition at line 302 of file AwsApiGatewayMethodSettings.h.

◆ WithResourcePath() [1/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithResourcePath ( Aws::String &&  value)
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 487 of file AwsApiGatewayMethodSettings.h.

◆ WithResourcePath() [2/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithResourcePath ( const Aws::String value)
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 477 of file AwsApiGatewayMethodSettings.h.

◆ WithResourcePath() [3/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithResourcePath ( const char *  value)
inline

The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.

For example, the path value /resource/subresource must be encoded as /~1resource~1subresource.

To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.

Definition at line 497 of file AwsApiGatewayMethodSettings.h.

◆ WithThrottlingBurstLimit()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithThrottlingBurstLimit ( int  value)
inline

The throttling burst limit for the method.

Definition at line 185 of file AwsApiGatewayMethodSettings.h.

◆ WithThrottlingRateLimit()

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithThrottlingRateLimit ( double  value)
inline

The throttling rate limit for the method.

Definition at line 206 of file AwsApiGatewayMethodSettings.h.

◆ WithUnauthorizedCacheControlHeaderStrategy() [1/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithUnauthorizedCacheControlHeaderStrategy ( Aws::String &&  value)
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 359 of file AwsApiGatewayMethodSettings.h.

◆ WithUnauthorizedCacheControlHeaderStrategy() [2/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithUnauthorizedCacheControlHeaderStrategy ( const Aws::String value)
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 351 of file AwsApiGatewayMethodSettings.h.

◆ WithUnauthorizedCacheControlHeaderStrategy() [3/3]

AwsApiGatewayMethodSettings& Aws::SecurityHub::Model::AwsApiGatewayMethodSettings::WithUnauthorizedCacheControlHeaderStrategy ( const char *  value)
inline

Indicates how to handle unauthorized requests for cache invalidation.

Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER

Definition at line 367 of file AwsApiGatewayMethodSettings.h.


The documentation for this class was generated from the following file: