AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsPlaylistSettings.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediatailor/model/AdMarkupType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIATAILOR_API HlsPlaylistSettings();
36 AWS_MEDIATAILOR_API HlsPlaylistSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::Vector<AdMarkupType>& GetAdMarkupType() const{ return m_adMarkupType; }
49 inline bool AdMarkupTypeHasBeenSet() const { return m_adMarkupTypeHasBeenSet; }
50 inline void SetAdMarkupType(const Aws::Vector<AdMarkupType>& value) { m_adMarkupTypeHasBeenSet = true; m_adMarkupType = value; }
51 inline void SetAdMarkupType(Aws::Vector<AdMarkupType>&& value) { m_adMarkupTypeHasBeenSet = true; m_adMarkupType = std::move(value); }
53 inline HlsPlaylistSettings& WithAdMarkupType(Aws::Vector<AdMarkupType>&& value) { SetAdMarkupType(std::move(value)); return *this;}
54 inline HlsPlaylistSettings& AddAdMarkupType(const AdMarkupType& value) { m_adMarkupTypeHasBeenSet = true; m_adMarkupType.push_back(value); return *this; }
55 inline HlsPlaylistSettings& AddAdMarkupType(AdMarkupType&& value) { m_adMarkupTypeHasBeenSet = true; m_adMarkupType.push_back(std::move(value)); return *this; }
57
59
63 inline int GetManifestWindowSeconds() const{ return m_manifestWindowSeconds; }
64 inline bool ManifestWindowSecondsHasBeenSet() const { return m_manifestWindowSecondsHasBeenSet; }
65 inline void SetManifestWindowSeconds(int value) { m_manifestWindowSecondsHasBeenSet = true; m_manifestWindowSeconds = value; }
68 private:
69
70 Aws::Vector<AdMarkupType> m_adMarkupType;
71 bool m_adMarkupTypeHasBeenSet = false;
72
73 int m_manifestWindowSeconds;
74 bool m_manifestWindowSecondsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaTailor
79} // namespace Aws
HlsPlaylistSettings & AddAdMarkupType(AdMarkupType &&value)
HlsPlaylistSettings & WithManifestWindowSeconds(int value)
HlsPlaylistSettings & AddAdMarkupType(const AdMarkupType &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIATAILOR_API HlsPlaylistSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdMarkupType(const Aws::Vector< AdMarkupType > &value)
AWS_MEDIATAILOR_API HlsPlaylistSettings(Aws::Utils::Json::JsonView jsonValue)
HlsPlaylistSettings & WithAdMarkupType(Aws::Vector< AdMarkupType > &&value)
void SetAdMarkupType(Aws::Vector< AdMarkupType > &&value)
const Aws::Vector< AdMarkupType > & GetAdMarkupType() const
HlsPlaylistSettings & WithAdMarkupType(const Aws::Vector< AdMarkupType > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue