/** * 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 { /** * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to * FILE_GROUP_SETTINGS.

See Also:

AWS * API Reference

*/ class AWS_MEDIACONVERT_API FileGroupSettings { public: FileGroupSettings(); FileGroupSettings(Aws::Utils::Json::JsonView jsonValue); FileGroupSettings& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * Use Destination (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 (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 (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 (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 (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 (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 (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 (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; DestinationSettings m_destinationSettings; bool m_destinationSettingsHasBeenSet; }; } // namespace Model } // namespace MediaConvert } // namespace Aws