/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The CreatePresetRequest
structure.See Also:
AWS
* API Reference
The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline CreatePresetRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline CreatePresetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the preset. We recommend that the name be unique within the AWS * account, but uniqueness is not enforced.
*/ inline CreatePresetRequest& WithName(const char* value) { SetName(value); return *this;} /** *A description of the preset.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the preset.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the preset.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the preset.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the preset.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the preset.
*/ inline CreatePresetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the preset.
*/ inline CreatePresetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the preset.
*/ inline CreatePresetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
The container type for the output file. Valid values include
* flac
, flv
, fmp4
, gif
,
* mp3
, mp4
, mpg
, mxf
,
* oga
, ogg
, ts
, and webm
.
A section of the request body that specifies the video parameters.
*/ inline const VideoParameters& GetVideo() const{ return m_video; } /** *A section of the request body that specifies the video parameters.
*/ inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; } /** *A section of the request body that specifies the video parameters.
*/ inline void SetVideo(const VideoParameters& value) { m_videoHasBeenSet = true; m_video = value; } /** *A section of the request body that specifies the video parameters.
*/ inline void SetVideo(VideoParameters&& value) { m_videoHasBeenSet = true; m_video = std::move(value); } /** *A section of the request body that specifies the video parameters.
*/ inline CreatePresetRequest& WithVideo(const VideoParameters& value) { SetVideo(value); return *this;} /** *A section of the request body that specifies the video parameters.
*/ inline CreatePresetRequest& WithVideo(VideoParameters&& value) { SetVideo(std::move(value)); return *this;} /** *A section of the request body that specifies the audio parameters.
*/ inline const AudioParameters& GetAudio() const{ return m_audio; } /** *A section of the request body that specifies the audio parameters.
*/ inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; } /** *A section of the request body that specifies the audio parameters.
*/ inline void SetAudio(const AudioParameters& value) { m_audioHasBeenSet = true; m_audio = value; } /** *A section of the request body that specifies the audio parameters.
*/ inline void SetAudio(AudioParameters&& value) { m_audioHasBeenSet = true; m_audio = std::move(value); } /** *A section of the request body that specifies the audio parameters.
*/ inline CreatePresetRequest& WithAudio(const AudioParameters& value) { SetAudio(value); return *this;} /** *A section of the request body that specifies the audio parameters.
*/ inline CreatePresetRequest& WithAudio(AudioParameters&& value) { SetAudio(std::move(value)); return *this;} /** *A section of the request body that specifies the thumbnail parameters, if * any.
*/ inline const Thumbnails& GetThumbnails() const{ return m_thumbnails; } /** *A section of the request body that specifies the thumbnail parameters, if * any.
*/ inline bool ThumbnailsHasBeenSet() const { return m_thumbnailsHasBeenSet; } /** *A section of the request body that specifies the thumbnail parameters, if * any.
*/ inline void SetThumbnails(const Thumbnails& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = value; } /** *A section of the request body that specifies the thumbnail parameters, if * any.
*/ inline void SetThumbnails(Thumbnails&& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = std::move(value); } /** *A section of the request body that specifies the thumbnail parameters, if * any.
*/ inline CreatePresetRequest& WithThumbnails(const Thumbnails& value) { SetThumbnails(value); return *this;} /** *A section of the request body that specifies the thumbnail parameters, if * any.
*/ inline CreatePresetRequest& WithThumbnails(Thumbnails&& value) { SetThumbnails(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_container; bool m_containerHasBeenSet = false; VideoParameters m_video; bool m_videoHasBeenSet = false; AudioParameters m_audio; bool m_audioHasBeenSet = false; Thumbnails m_thumbnails; bool m_thumbnailsHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws