/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaTailor { namespace Model { /** *

Slate VOD source configuration.

See Also:

AWS * API Reference

*/ class SlateSource { public: AWS_MEDIATAILOR_API SlateSource(); AWS_MEDIATAILOR_API SlateSource(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIATAILOR_API SlateSource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the source location where the slate VOD source is stored.

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

The name of the source location where the slate VOD source is stored.

*/ inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; } /** *

The name of the source location where the slate VOD source is stored.

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

The name of the source location where the slate VOD source is stored.

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

The name of the source location where the slate VOD source is stored.

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

The name of the source location where the slate VOD source is stored.

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

The name of the source location where the slate VOD source is stored.

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

The name of the source location where the slate VOD source is stored.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

*/ inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; } /** *

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

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

The slate VOD source name. The VOD source must already exist in a source * location before it can be used for slate.

*/ inline SlateSource& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;} private: Aws::String m_sourceLocationName; bool m_sourceLocationNameHasBeenSet = false; Aws::String m_vodSourceName; bool m_vodSourceNameHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws