/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaConvert { namespace Model { class AWS_MEDIACONVERT_API CreatePresetResult { public: CreatePresetResult(); CreatePresetResult(const Aws::AmazonWebServiceResult& result); CreatePresetResult& operator=(const Aws::AmazonWebServiceResult& result); /** * A preset is a collection of preconfigured media conversion settings that you * want MediaConvert to apply to the output during the conversion process. */ inline const Preset& GetPreset() const{ return m_preset; } /** * A preset is a collection of preconfigured media conversion settings that you * want MediaConvert to apply to the output during the conversion process. */ inline void SetPreset(const Preset& value) { m_preset = value; } /** * A preset is a collection of preconfigured media conversion settings that you * want MediaConvert to apply to the output during the conversion process. */ inline void SetPreset(Preset&& value) { m_preset = std::move(value); } /** * A preset is a collection of preconfigured media conversion settings that you * want MediaConvert to apply to the output during the conversion process. */ inline CreatePresetResult& WithPreset(const Preset& value) { SetPreset(value); return *this;} /** * A preset is a collection of preconfigured media conversion settings that you * want MediaConvert to apply to the output during the conversion process. */ inline CreatePresetResult& WithPreset(Preset&& value) { SetPreset(std::move(value)); return *this;} private: Preset m_preset; }; } // namespace Model } // namespace MediaConvert } // namespace Aws