/** * 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 Amazon S3 location of the media file you want to use in your * request.

For information on supported media formats, refer to the MediaFormat * parameter or the Media * formats section in the Amazon S3 Developer Guide.

See Also:

* AWS * API Reference

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to transcribe. For * example:

  • * s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • * s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac

  • *

Note that the Amazon S3 bucket that contains your input media must be * located in the same Amazon Web Services Region where you're making your * transcription request.

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

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

*/ inline const Aws::String& GetRedactedMediaFileUri() const{ return m_redactedMediaFileUri; } /** *

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

*/ inline bool RedactedMediaFileUriHasBeenSet() const { return m_redactedMediaFileUriHasBeenSet; } /** *

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

*/ inline void SetRedactedMediaFileUri(const Aws::String& value) { m_redactedMediaFileUriHasBeenSet = true; m_redactedMediaFileUri = value; } /** *

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

*/ inline void SetRedactedMediaFileUri(Aws::String&& value) { m_redactedMediaFileUriHasBeenSet = true; m_redactedMediaFileUri = std::move(value); } /** *

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

*/ inline void SetRedactedMediaFileUri(const char* value) { m_redactedMediaFileUriHasBeenSet = true; m_redactedMediaFileUri.assign(value); } /** *

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

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

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

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

The Amazon S3 location of the media file you want to redact. For example:

*
  • s3://DOC-EXAMPLE-BUCKET/my-media-file.flac

  • *
  • s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac *

Note that the Amazon S3 bucket that contains your input * media must be located in the same Amazon Web Services Region where you're making * your transcription request.

* RedactedMediaFileUri produces a redacted audio file in addition to * a redacted transcript. It is only supported for Call Analytics * (StartCallAnalyticsJob) transcription requests.

*/ inline Media& WithRedactedMediaFileUri(const char* value) { SetRedactedMediaFileUri(value); return *this;} private: Aws::String m_mediaFileUri; bool m_mediaFileUriHasBeenSet = false; Aws::String m_redactedMediaFileUri; bool m_redactedMediaFileUriHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws