/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configures Amazon CloudWatch log settings for a playback
* configuration.See Also:
AWS
* API Reference
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
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
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
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
The name of the playback configuration.
*/ inline const Aws::String& GetPlaybackConfigurationName() const{ return m_playbackConfigurationName; } /** *The name of the playback configuration.
*/ inline bool PlaybackConfigurationNameHasBeenSet() const { return m_playbackConfigurationNameHasBeenSet; } /** *The name of the playback configuration.
*/ inline void SetPlaybackConfigurationName(const Aws::String& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = value; } /** *The name of the playback configuration.
*/ inline void SetPlaybackConfigurationName(Aws::String&& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = std::move(value); } /** *The name of the playback configuration.
*/ inline void SetPlaybackConfigurationName(const char* value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName.assign(value); } /** *The name of the playback configuration.
*/ inline ConfigureLogsForPlaybackConfigurationRequest& WithPlaybackConfigurationName(const Aws::String& value) { SetPlaybackConfigurationName(value); return *this;} /** *The name of the playback configuration.
*/ inline ConfigureLogsForPlaybackConfigurationRequest& WithPlaybackConfigurationName(Aws::String&& value) { SetPlaybackConfigurationName(std::move(value)); return *this;} /** *The name of the playback configuration.
*/ inline ConfigureLogsForPlaybackConfigurationRequest& WithPlaybackConfigurationName(const char* value) { SetPlaybackConfigurationName(value); return *this;} private: int m_percentEnabled; bool m_percentEnabledHasBeenSet = false; Aws::String m_playbackConfigurationName; bool m_playbackConfigurationNameHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws