// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetChannelSchedule`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`channel_name(impl Into<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name of the channel associated with this Channel Schedule.</p><br>
/// - [`duration_minutes(impl Into<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::duration_minutes) / [`set_duration_minutes(Option<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::set_duration_minutes):<br>required: **false**<br><p>The duration in minutes of the channel schedule.</p><br>
/// - [`max_results(i32)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> channel schedules, use the value of <code>NextToken</code> in the response to get the next page of results.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::set_next_token):<br>required: **false**<br><p>(Optional) If the playback configuration has more than <code>MaxResults</code> channel schedules, use <code>NextToken</code> to get the second and subsequent pages of results.</p> <p>For the first <code>GetChannelScheduleRequest</code> request, omit this value.</p> <p>For the second and subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request.</p> <p>If the previous response didn't include a <code>NextToken</code> element, there are no more channel schedules to get.</p><br>
/// - [`audience(impl Into<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::audience) / [`set_audience(Option<String>)`](crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::set_audience):<br>required: **false**<br><p>The single audience for GetChannelScheduleRequest.</p><br>
/// - On success, responds with [`GetChannelScheduleOutput`](crate::operation::get_channel_schedule::GetChannelScheduleOutput) with field(s):
/// - [`items(Option<Vec::<ScheduleEntry>>)`](crate::operation::get_channel_schedule::GetChannelScheduleOutput::items): <p>A list of schedule entries for the channel.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_channel_schedule::GetChannelScheduleOutput::next_token): <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
/// - On failure, responds with [`SdkError<GetChannelScheduleError>`](crate::operation::get_channel_schedule::GetChannelScheduleError)
pub fn get_channel_schedule(&self) -> crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder {
crate::operation::get_channel_schedule::builders::GetChannelScheduleFluentBuilder::new(self.handle.clone())
}
}