/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaConvert { namespace Model { /** * Settings related to your File output group. MediaConvert uses this group of * settings to generate a single standalone file, rather than a streaming * package.

See Also:

AWS * API Reference

*/ class FileGroupSettings { public: AWS_MEDIACONVERT_API FileGroupSettings(); AWS_MEDIACONVERT_API FileGroupSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API FileGroupSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline const Aws::String& GetDestination() const{ return m_destination; } /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; } /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); } /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline FileGroupSettings& WithDestination(const Aws::String& value) { SetDestination(value); return *this;} /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline FileGroupSettings& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;} /** * Use Destination to specify the S3 output location and the output filename base. * Destination accepts format identifiers. If you do not specify the base filename * in the URI, the service will use the filename of the input file. If your job has * multiple inputs, the service uses the filename of the first input file. */ inline FileGroupSettings& WithDestination(const char* value) { SetDestination(value); return *this;} /** * Settings associated with the destination. Will vary based on the type of * destination */ inline const DestinationSettings& GetDestinationSettings() const{ return m_destinationSettings; } /** * Settings associated with the destination. Will vary based on the type of * destination */ inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; } /** * Settings associated with the destination. Will vary based on the type of * destination */ inline void SetDestinationSettings(const DestinationSettings& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = value; } /** * Settings associated with the destination. Will vary based on the type of * destination */ inline void SetDestinationSettings(DestinationSettings&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::move(value); } /** * Settings associated with the destination. Will vary based on the type of * destination */ inline FileGroupSettings& WithDestinationSettings(const DestinationSettings& value) { SetDestinationSettings(value); return *this;} /** * Settings associated with the destination. Will vary based on the type of * destination */ inline FileGroupSettings& WithDestinationSettings(DestinationSettings&& value) { SetDestinationSettings(std::move(value)); return *this;} private: Aws::String m_destination; bool m_destinationHasBeenSet = false; DestinationSettings m_destinationSettings; bool m_destinationSettingsHasBeenSet = false; }; } // namespace Model } // namespace MediaConvert } // namespace Aws