7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elastictranscoder/model/CaptionFormat.h>
22namespace ElasticTranscoder
35 AWS_ELASTICTRANSCODER_API
Captions() =
default;
48 template<
typename CaptionFormatsT = Aws::Vector<CaptionFormat>>
49 void SetCaptionFormats(CaptionFormatsT&& value) { m_captionFormatsHasBeenSet =
true; m_captionFormats = std::forward<CaptionFormatsT>(value); }
50 template<
typename CaptionFormatsT = Aws::Vector<CaptionFormat>>
52 template<
typename CaptionFormatsT = CaptionFormat>
53 Captions&
AddCaptionFormats(CaptionFormatsT&& value) { m_captionFormatsHasBeenSet =
true; m_captionFormats.emplace_back(std::forward<CaptionFormatsT>(value));
return *
this; }
58 bool m_captionFormatsHasBeenSet =
false;
Captions & AddCaptionFormats(CaptionFormatsT &&value)
void SetCaptionFormats(CaptionFormatsT &&value)
AWS_ELASTICTRANSCODER_API Captions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Captions()=default
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Captions & WithCaptionFormats(CaptionFormatsT &&value)
bool CaptionFormatsHasBeenSet() const
AWS_ELASTICTRANSCODER_API Captions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CaptionFormat > & GetCaptionFormats() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue