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

The SCTE configuration.

See Also:

AWS * API Reference

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

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline const Aws::Vector& GetScteFilter() const{ return m_scteFilter; } /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline bool ScteFilterHasBeenSet() const { return m_scteFilterHasBeenSet; } /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline void SetScteFilter(const Aws::Vector& value) { m_scteFilterHasBeenSet = true; m_scteFilter = value; } /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline void SetScteFilter(Aws::Vector&& value) { m_scteFilterHasBeenSet = true; m_scteFilter = std::move(value); } /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline Scte& WithScteFilter(const Aws::Vector& value) { SetScteFilter(value); return *this;} /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline Scte& WithScteFilter(Aws::Vector&& value) { SetScteFilter(std::move(value)); return *this;} /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline Scte& AddScteFilter(const ScteFilter& value) { m_scteFilterHasBeenSet = true; m_scteFilter.push_back(value); return *this; } /** *

The SCTE-35 message types that you want to be treated as ad markers in the * output.

*/ inline Scte& AddScteFilter(ScteFilter&& value) { m_scteFilterHasBeenSet = true; m_scteFilter.push_back(std::move(value)); return *this; } private: Aws::Vector m_scteFilter; bool m_scteFilterHasBeenSet = false; }; } // namespace Model } // namespace mediapackagev2 } // namespace Aws