This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

137 lines
4.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConvert
{
namespace Model
{
/**
* To insert ID3 tags in your output, specify two values. Use ID3 tag (Id3) to
* specify the base 64 encoded string and use Timecode (TimeCode) to specify the
* time when the tag should be inserted. To insert multiple ID3 tags in your
* output, create multiple instances of ID3 insertion (Id3Insertion).<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Id3Insertion">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONVERT_API Id3Insertion
{
public:
Id3Insertion();
Id3Insertion(Aws::Utils::Json::JsonView jsonValue);
Id3Insertion& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline const Aws::String& GetId3() const{ return m_id3; }
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline bool Id3HasBeenSet() const { return m_id3HasBeenSet; }
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline void SetId3(const Aws::String& value) { m_id3HasBeenSet = true; m_id3 = value; }
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline void SetId3(Aws::String&& value) { m_id3HasBeenSet = true; m_id3 = std::move(value); }
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline void SetId3(const char* value) { m_id3HasBeenSet = true; m_id3.assign(value); }
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline Id3Insertion& WithId3(const Aws::String& value) { SetId3(value); return *this;}
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline Id3Insertion& WithId3(Aws::String&& value) { SetId3(std::move(value)); return *this;}
/**
* Use ID3 tag (Id3) to provide a tag value in base64-encode format.
*/
inline Id3Insertion& WithId3(const char* value) { SetId3(value); return *this;}
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline const Aws::String& GetTimecode() const{ return m_timecode; }
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; }
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline void SetTimecode(const Aws::String& value) { m_timecodeHasBeenSet = true; m_timecode = value; }
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline void SetTimecode(Aws::String&& value) { m_timecodeHasBeenSet = true; m_timecode = std::move(value); }
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline void SetTimecode(const char* value) { m_timecodeHasBeenSet = true; m_timecode.assign(value); }
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline Id3Insertion& WithTimecode(const Aws::String& value) { SetTimecode(value); return *this;}
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline Id3Insertion& WithTimecode(Aws::String&& value) { SetTimecode(std::move(value)); return *this;}
/**
* Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
*/
inline Id3Insertion& WithTimecode(const char* value) { SetTimecode(value); return *this;}
private:
Aws::String m_id3;
bool m_id3HasBeenSet;
Aws::String m_timecode;
bool m_timecodeHasBeenSet;
};
} // namespace Model
} // namespace MediaConvert
} // namespace Aws