/** * 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 TranscribeService { namespace Model { /** *

Describes the input media file in a transcription request.

See * Also:

AWS * API Reference

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

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline const Aws::String& GetMediaFileUri() const{ return m_mediaFileUri; } /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline bool MediaFileUriHasBeenSet() const { return m_mediaFileUriHasBeenSet; } /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline void SetMediaFileUri(const Aws::String& value) { m_mediaFileUriHasBeenSet = true; m_mediaFileUri = value; } /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline void SetMediaFileUri(Aws::String&& value) { m_mediaFileUriHasBeenSet = true; m_mediaFileUri = std::move(value); } /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline void SetMediaFileUri(const char* value) { m_mediaFileUriHasBeenSet = true; m_mediaFileUri.assign(value); } /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline Media& WithMediaFileUri(const Aws::String& value) { SetMediaFileUri(value); return *this;} /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline Media& WithMediaFileUri(Aws::String&& value) { SetMediaFileUri(std::move(value)); return *this;} /** *

The S3 object location of the input media file. The URI must be in the same * region as the API endpoint that you are calling. The general form is:

For * example:

For more information about S3 object names, see Object * Keys in the Amazon S3 Developer Guide.

*/ inline Media& WithMediaFileUri(const char* value) { SetMediaFileUri(value); return *this;} private: Aws::String m_mediaFileUri; bool m_mediaFileUriHasBeenSet; }; } // namespace Model } // namespace TranscribeService } // namespace Aws