/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the input media file in a transcription request.See
* Also:
AWS
* API Reference
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