/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaTailor { namespace Model { class AWS_MEDIATAILOR_API DescribeProgramResult { public: DescribeProgramResult(); DescribeProgramResult(const Aws::AmazonWebServiceResult& result); DescribeProgramResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ad break configuration settings.

*/ inline const Aws::Vector& GetAdBreaks() const{ return m_adBreaks; } /** *

The ad break configuration settings.

*/ inline void SetAdBreaks(const Aws::Vector& value) { m_adBreaks = value; } /** *

The ad break configuration settings.

*/ inline void SetAdBreaks(Aws::Vector&& value) { m_adBreaks = std::move(value); } /** *

The ad break configuration settings.

*/ inline DescribeProgramResult& WithAdBreaks(const Aws::Vector& value) { SetAdBreaks(value); return *this;} /** *

The ad break configuration settings.

*/ inline DescribeProgramResult& WithAdBreaks(Aws::Vector&& value) { SetAdBreaks(std::move(value)); return *this;} /** *

The ad break configuration settings.

*/ inline DescribeProgramResult& AddAdBreaks(const AdBreak& value) { m_adBreaks.push_back(value); return *this; } /** *

The ad break configuration settings.

*/ inline DescribeProgramResult& AddAdBreaks(AdBreak&& value) { m_adBreaks.push_back(std::move(value)); return *this; } /** *

The ARN of the program.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the program.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN of the program.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The ARN of the program.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the program.

*/ inline DescribeProgramResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the program.

*/ inline DescribeProgramResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the program.

*/ inline DescribeProgramResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the channel that the program belongs to.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

The name of the channel that the program belongs to.

*/ inline void SetChannelName(const Aws::String& value) { m_channelName = value; } /** *

The name of the channel that the program belongs to.

*/ inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); } /** *

The name of the channel that the program belongs to.

*/ inline void SetChannelName(const char* value) { m_channelName.assign(value); } /** *

The name of the channel that the program belongs to.

*/ inline DescribeProgramResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

The name of the channel that the program belongs to.

*/ inline DescribeProgramResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

The name of the channel that the program belongs to.

*/ inline DescribeProgramResult& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *

The timestamp of when the program was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The timestamp of when the program was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The timestamp of when the program was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The timestamp of when the program was created.

*/ inline DescribeProgramResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The timestamp of when the program was created.

*/ inline DescribeProgramResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The name of the program.

*/ inline const Aws::String& GetProgramName() const{ return m_programName; } /** *

The name of the program.

*/ inline void SetProgramName(const Aws::String& value) { m_programName = value; } /** *

The name of the program.

*/ inline void SetProgramName(Aws::String&& value) { m_programName = std::move(value); } /** *

The name of the program.

*/ inline void SetProgramName(const char* value) { m_programName.assign(value); } /** *

The name of the program.

*/ inline DescribeProgramResult& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;} /** *

The name of the program.

*/ inline DescribeProgramResult& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;} /** *

The name of the program.

*/ inline DescribeProgramResult& WithProgramName(const char* value) { SetProgramName(value); return *this;} /** *

The date and time that the program is scheduled to start in ISO 8601 format * and Coordinated Universal Time (UTC). For example, the value * 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

*/ inline const Aws::Utils::DateTime& GetScheduledStartTime() const{ return m_scheduledStartTime; } /** *

The date and time that the program is scheduled to start in ISO 8601 format * and Coordinated Universal Time (UTC). For example, the value * 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

*/ inline void SetScheduledStartTime(const Aws::Utils::DateTime& value) { m_scheduledStartTime = value; } /** *

The date and time that the program is scheduled to start in ISO 8601 format * and Coordinated Universal Time (UTC). For example, the value * 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

*/ inline void SetScheduledStartTime(Aws::Utils::DateTime&& value) { m_scheduledStartTime = std::move(value); } /** *

The date and time that the program is scheduled to start in ISO 8601 format * and Coordinated Universal Time (UTC). For example, the value * 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

*/ inline DescribeProgramResult& WithScheduledStartTime(const Aws::Utils::DateTime& value) { SetScheduledStartTime(value); return *this;} /** *

The date and time that the program is scheduled to start in ISO 8601 format * and Coordinated Universal Time (UTC). For example, the value * 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

*/ inline DescribeProgramResult& WithScheduledStartTime(Aws::Utils::DateTime&& value) { SetScheduledStartTime(std::move(value)); return *this;} /** *

The source location name.

*/ inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; } /** *

The source location name.

*/ inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; } /** *

The source location name.

*/ inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); } /** *

The source location name.

*/ inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); } /** *

The source location name.

*/ inline DescribeProgramResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;} /** *

The source location name.

*/ inline DescribeProgramResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;} /** *

The source location name.

*/ inline DescribeProgramResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;} /** *

The name that's used to refer to a VOD source.

*/ inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; } /** *

The name that's used to refer to a VOD source.

*/ inline void SetVodSourceName(const Aws::String& value) { m_vodSourceName = value; } /** *

The name that's used to refer to a VOD source.

*/ inline void SetVodSourceName(Aws::String&& value) { m_vodSourceName = std::move(value); } /** *

The name that's used to refer to a VOD source.

*/ inline void SetVodSourceName(const char* value) { m_vodSourceName.assign(value); } /** *

The name that's used to refer to a VOD source.

*/ inline DescribeProgramResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;} /** *

The name that's used to refer to a VOD source.

*/ inline DescribeProgramResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;} /** *

The name that's used to refer to a VOD source.

*/ inline DescribeProgramResult& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;} private: Aws::Vector m_adBreaks; Aws::String m_arn; Aws::String m_channelName; Aws::Utils::DateTime m_creationTime; Aws::String m_programName; Aws::Utils::DateTime m_scheduledStartTime; Aws::String m_sourceLocationName; Aws::String m_vodSourceName; }; } // namespace Model } // namespace MediaTailor } // namespace Aws