/** * 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 MediaConvert { namespace Model { /** * Accelerated transcoding can significantly speed up jobs with long, visually * complex content.

See Also:

AWS * API Reference

*/ class AWS_MEDIACONVERT_API AccelerationSettings { public: AccelerationSettings(); AccelerationSettings(Aws::Utils::Json::JsonView jsonValue); AccelerationSettings& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * Specify the conditions when the service will run your job with accelerated * transcoding. */ inline const AccelerationMode& GetMode() const{ return m_mode; } /** * Specify the conditions when the service will run your job with accelerated * transcoding. */ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** * Specify the conditions when the service will run your job with accelerated * transcoding. */ inline void SetMode(const AccelerationMode& value) { m_modeHasBeenSet = true; m_mode = value; } /** * Specify the conditions when the service will run your job with accelerated * transcoding. */ inline void SetMode(AccelerationMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** * Specify the conditions when the service will run your job with accelerated * transcoding. */ inline AccelerationSettings& WithMode(const AccelerationMode& value) { SetMode(value); return *this;} /** * Specify the conditions when the service will run your job with accelerated * transcoding. */ inline AccelerationSettings& WithMode(AccelerationMode&& value) { SetMode(std::move(value)); return *this;} private: AccelerationMode m_mode; bool m_modeHasBeenSet; }; } // namespace Model } // namespace MediaConvert } // namespace Aws