AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppSync::Model::LogConfig Class Reference

#include <LogConfig.h>

Public Member Functions

 LogConfig ()
 
 LogConfig (Aws::Utils::Json::JsonView jsonValue)
 
LogConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const FieldLogLevelGetFieldLogLevel () const
 
bool FieldLogLevelHasBeenSet () const
 
void SetFieldLogLevel (const FieldLogLevel &value)
 
void SetFieldLogLevel (FieldLogLevel &&value)
 
LogConfigWithFieldLogLevel (const FieldLogLevel &value)
 
LogConfigWithFieldLogLevel (FieldLogLevel &&value)
 
const Aws::StringGetCloudWatchLogsRoleArn () const
 
bool CloudWatchLogsRoleArnHasBeenSet () const
 
void SetCloudWatchLogsRoleArn (const Aws::String &value)
 
void SetCloudWatchLogsRoleArn (Aws::String &&value)
 
void SetCloudWatchLogsRoleArn (const char *value)
 
LogConfigWithCloudWatchLogsRoleArn (const Aws::String &value)
 
LogConfigWithCloudWatchLogsRoleArn (Aws::String &&value)
 
LogConfigWithCloudWatchLogsRoleArn (const char *value)
 
bool GetExcludeVerboseContent () const
 
bool ExcludeVerboseContentHasBeenSet () const
 
void SetExcludeVerboseContent (bool value)
 
LogConfigWithExcludeVerboseContent (bool value)
 

Detailed Description

The CloudWatch Logs configuration.

See Also:

AWS API Reference

Definition at line 32 of file LogConfig.h.

Constructor & Destructor Documentation

◆ LogConfig() [1/2]

Aws::AppSync::Model::LogConfig::LogConfig ( )

◆ LogConfig() [2/2]

Aws::AppSync::Model::LogConfig::LogConfig ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ CloudWatchLogsRoleArnHasBeenSet()

bool Aws::AppSync::Model::LogConfig::CloudWatchLogsRoleArnHasBeenSet ( ) const
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 136 of file LogConfig.h.

◆ ExcludeVerboseContentHasBeenSet()

bool Aws::AppSync::Model::LogConfig::ExcludeVerboseContentHasBeenSet ( ) const
inline

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Definition at line 185 of file LogConfig.h.

◆ FieldLogLevelHasBeenSet()

bool Aws::AppSync::Model::LogConfig::FieldLogLevelHasBeenSet ( ) const
inline

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Definition at line 67 of file LogConfig.h.

◆ GetCloudWatchLogsRoleArn()

const Aws::String& Aws::AppSync::Model::LogConfig::GetCloudWatchLogsRoleArn ( ) const
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 130 of file LogConfig.h.

◆ GetExcludeVerboseContent()

bool Aws::AppSync::Model::LogConfig::GetExcludeVerboseContent ( ) const
inline

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Definition at line 179 of file LogConfig.h.

◆ GetFieldLogLevel()

const FieldLogLevel& Aws::AppSync::Model::LogConfig::GetFieldLogLevel ( ) const
inline

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Definition at line 53 of file LogConfig.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AppSync::Model::LogConfig::Jsonize ( ) const

◆ operator=()

LogConfig& Aws::AppSync::Model::LogConfig::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetCloudWatchLogsRoleArn() [1/3]

void Aws::AppSync::Model::LogConfig::SetCloudWatchLogsRoleArn ( const Aws::String value)
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 142 of file LogConfig.h.

◆ SetCloudWatchLogsRoleArn() [2/3]

void Aws::AppSync::Model::LogConfig::SetCloudWatchLogsRoleArn ( Aws::String &&  value)
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 148 of file LogConfig.h.

◆ SetCloudWatchLogsRoleArn() [3/3]

void Aws::AppSync::Model::LogConfig::SetCloudWatchLogsRoleArn ( const char *  value)
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 154 of file LogConfig.h.

◆ SetExcludeVerboseContent()

void Aws::AppSync::Model::LogConfig::SetExcludeVerboseContent ( bool  value)
inline

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Definition at line 191 of file LogConfig.h.

◆ SetFieldLogLevel() [1/2]

void Aws::AppSync::Model::LogConfig::SetFieldLogLevel ( const FieldLogLevel value)
inline

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Definition at line 81 of file LogConfig.h.

◆ SetFieldLogLevel() [2/2]

void Aws::AppSync::Model::LogConfig::SetFieldLogLevel ( FieldLogLevel &&  value)
inline

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Definition at line 95 of file LogConfig.h.

◆ WithCloudWatchLogsRoleArn() [1/3]

LogConfig& Aws::AppSync::Model::LogConfig::WithCloudWatchLogsRoleArn ( const Aws::String value)
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 160 of file LogConfig.h.

◆ WithCloudWatchLogsRoleArn() [2/3]

LogConfig& Aws::AppSync::Model::LogConfig::WithCloudWatchLogsRoleArn ( Aws::String &&  value)
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 166 of file LogConfig.h.

◆ WithCloudWatchLogsRoleArn() [3/3]

LogConfig& Aws::AppSync::Model::LogConfig::WithCloudWatchLogsRoleArn ( const char *  value)
inline

The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.

Definition at line 172 of file LogConfig.h.

◆ WithExcludeVerboseContent()

LogConfig& Aws::AppSync::Model::LogConfig::WithExcludeVerboseContent ( bool  value)
inline

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Definition at line 197 of file LogConfig.h.

◆ WithFieldLogLevel() [1/2]

LogConfig& Aws::AppSync::Model::LogConfig::WithFieldLogLevel ( const FieldLogLevel value)
inline

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Definition at line 109 of file LogConfig.h.

◆ WithFieldLogLevel() [2/2]

LogConfig& Aws::AppSync::Model::LogConfig::WithFieldLogLevel ( FieldLogLevel &&  value)
inline

The field logging level. Values can be NONE, ERROR, or ALL.

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Definition at line 123 of file LogConfig.h.


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