/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The CreatePresetResponse structure.See Also:
* AWS
* API Reference
A section of the response body that provides information about the preset * that is created.
*/ inline const Preset& GetPreset() const{ return m_preset; } /** *A section of the response body that provides information about the preset * that is created.
*/ inline void SetPreset(const Preset& value) { m_preset = value; } /** *A section of the response body that provides information about the preset * that is created.
*/ inline void SetPreset(Preset&& value) { m_preset = std::move(value); } /** *A section of the response body that provides information about the preset * that is created.
*/ inline CreatePresetResult& WithPreset(const Preset& value) { SetPreset(value); return *this;} /** *A section of the response body that provides information about the preset * that is created.
*/ inline CreatePresetResult& WithPreset(Preset&& value) { SetPreset(std::move(value)); return *this;} /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline const Aws::String& GetWarning() const{ return m_warning; } /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline void SetWarning(const Aws::String& value) { m_warning = value; } /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline void SetWarning(Aws::String&& value) { m_warning = std::move(value); } /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline void SetWarning(const char* value) { m_warning.assign(value); } /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline CreatePresetResult& WithWarning(const Aws::String& value) { SetWarning(value); return *this;} /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline CreatePresetResult& WithWarning(Aws::String&& value) { SetWarning(std::move(value)); return *this;} /** *If the preset settings don't comply with the standards for the video codec * but Elastic Transcoder created the preset, this message explains the reason the * preset settings don't meet the standard. Elastic Transcoder created the preset * because the settings might produce acceptable output.
*/ inline CreatePresetResult& WithWarning(const char* value) { SetWarning(value); return *this;} private: Preset m_preset; Aws::String m_warning; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws