AWS SDK for C++  1.9.131
AWS SDK for C++
Public Member Functions | List of all members
Aws::MediaTailor::Model::LogConfiguration Class Reference

#include <LogConfiguration.h>

Public Member Functions

 LogConfiguration ()
 
 LogConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
LogConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetPercentEnabled () const
 
bool PercentEnabledHasBeenSet () const
 
void SetPercentEnabled (int value)
 
LogConfigurationWithPercentEnabled (int value)
 

Detailed Description

Returns Amazon CloudWatch log settings for a playback configuration.

See Also:

AWS API Reference

Definition at line 30 of file LogConfiguration.h.

Constructor & Destructor Documentation

◆ LogConfiguration() [1/2]

Aws::MediaTailor::Model::LogConfiguration::LogConfiguration ( )

◆ LogConfiguration() [2/2]

Aws::MediaTailor::Model::LogConfiguration::LogConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetPercentEnabled()

int Aws::MediaTailor::Model::LogConfiguration::GetPercentEnabled ( ) const
inline

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

Definition at line 49 of file LogConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::MediaTailor::Model::LogConfiguration::Jsonize ( ) const

◆ operator=()

LogConfiguration& Aws::MediaTailor::Model::LogConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PercentEnabledHasBeenSet()

bool Aws::MediaTailor::Model::LogConfiguration::PercentEnabledHasBeenSet ( ) const
inline

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

Definition at line 61 of file LogConfiguration.h.

◆ SetPercentEnabled()

void Aws::MediaTailor::Model::LogConfiguration::SetPercentEnabled ( int  value)
inline

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

Definition at line 73 of file LogConfiguration.h.

◆ WithPercentEnabled()

LogConfiguration& Aws::MediaTailor::Model::LogConfiguration::WithPercentEnabled ( int  value)
inline

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

Definition at line 85 of file LogConfiguration.h.


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