AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::APIGateway::Model::MethodSnapshot Class Reference

#include <MethodSnapshot.h>

Public Member Functions

 MethodSnapshot ()
 
 MethodSnapshot (Aws::Utils::Json::JsonView jsonValue)
 
MethodSnapshotoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetAuthorizationType () const
 
bool AuthorizationTypeHasBeenSet () const
 
void SetAuthorizationType (const Aws::String &value)
 
void SetAuthorizationType (Aws::String &&value)
 
void SetAuthorizationType (const char *value)
 
MethodSnapshotWithAuthorizationType (const Aws::String &value)
 
MethodSnapshotWithAuthorizationType (Aws::String &&value)
 
MethodSnapshotWithAuthorizationType (const char *value)
 
bool GetApiKeyRequired () const
 
bool ApiKeyRequiredHasBeenSet () const
 
void SetApiKeyRequired (bool value)
 
MethodSnapshotWithApiKeyRequired (bool value)
 

Detailed Description

Represents a summary of a Method resource, given a particular date and time.

See Also:

AWS API Reference

Definition at line 32 of file MethodSnapshot.h.

Constructor & Destructor Documentation

◆ MethodSnapshot() [1/2]

Aws::APIGateway::Model::MethodSnapshot::MethodSnapshot ( )

◆ MethodSnapshot() [2/2]

Aws::APIGateway::Model::MethodSnapshot::MethodSnapshot ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ApiKeyRequiredHasBeenSet()

bool Aws::APIGateway::Model::MethodSnapshot::ApiKeyRequiredHasBeenSet ( ) const
inline

Specifies whether the method requires a valid ApiKey.

Definition at line 114 of file MethodSnapshot.h.

◆ AuthorizationTypeHasBeenSet()

bool Aws::APIGateway::Model::MethodSnapshot::AuthorizationTypeHasBeenSet ( ) const
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 55 of file MethodSnapshot.h.

◆ GetApiKeyRequired()

bool Aws::APIGateway::Model::MethodSnapshot::GetApiKeyRequired ( ) const
inline

Specifies whether the method requires a valid ApiKey.

Definition at line 109 of file MethodSnapshot.h.

◆ GetAuthorizationType()

const Aws::String& Aws::APIGateway::Model::MethodSnapshot::GetAuthorizationType ( ) const
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 47 of file MethodSnapshot.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::APIGateway::Model::MethodSnapshot::Jsonize ( ) const

◆ operator=()

MethodSnapshot& Aws::APIGateway::Model::MethodSnapshot::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetApiKeyRequired()

void Aws::APIGateway::Model::MethodSnapshot::SetApiKeyRequired ( bool  value)
inline

Specifies whether the method requires a valid ApiKey.

Definition at line 119 of file MethodSnapshot.h.

◆ SetAuthorizationType() [1/3]

void Aws::APIGateway::Model::MethodSnapshot::SetAuthorizationType ( Aws::String &&  value)
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 71 of file MethodSnapshot.h.

◆ SetAuthorizationType() [2/3]

void Aws::APIGateway::Model::MethodSnapshot::SetAuthorizationType ( const Aws::String value)
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 63 of file MethodSnapshot.h.

◆ SetAuthorizationType() [3/3]

void Aws::APIGateway::Model::MethodSnapshot::SetAuthorizationType ( const char *  value)
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 79 of file MethodSnapshot.h.

◆ WithApiKeyRequired()

MethodSnapshot& Aws::APIGateway::Model::MethodSnapshot::WithApiKeyRequired ( bool  value)
inline

Specifies whether the method requires a valid ApiKey.

Definition at line 124 of file MethodSnapshot.h.

◆ WithAuthorizationType() [1/3]

MethodSnapshot& Aws::APIGateway::Model::MethodSnapshot::WithAuthorizationType ( Aws::String &&  value)
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 95 of file MethodSnapshot.h.

◆ WithAuthorizationType() [2/3]

MethodSnapshot& Aws::APIGateway::Model::MethodSnapshot::WithAuthorizationType ( const Aws::String value)
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 87 of file MethodSnapshot.h.

◆ WithAuthorizationType() [3/3]

MethodSnapshot& Aws::APIGateway::Model::MethodSnapshot::WithAuthorizationType ( const char *  value)
inline

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

Definition at line 103 of file MethodSnapshot.h.


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