AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HLSFragmentSelector.h
1
6#pragma once
7#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMedia_EXPORTS.h>
8#include <aws/kinesis-video-archived-media/model/HLSFragmentSelectorType.h>
9#include <aws/kinesis-video-archived-media/model/HLSTimestampRange.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 KinesisVideoArchivedMedia
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSFragmentSelector();
37 AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSFragmentSelector(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSFragmentSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
67 inline const HLSFragmentSelectorType& GetFragmentSelectorType() const{ return m_fragmentSelectorType; }
68 inline bool FragmentSelectorTypeHasBeenSet() const { return m_fragmentSelectorTypeHasBeenSet; }
69 inline void SetFragmentSelectorType(const HLSFragmentSelectorType& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = value; }
70 inline void SetFragmentSelectorType(HLSFragmentSelectorType&& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = std::move(value); }
74
76
81 inline const HLSTimestampRange& GetTimestampRange() const{ return m_timestampRange; }
82 inline bool TimestampRangeHasBeenSet() const { return m_timestampRangeHasBeenSet; }
83 inline void SetTimestampRange(const HLSTimestampRange& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = value; }
84 inline void SetTimestampRange(HLSTimestampRange&& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = std::move(value); }
85 inline HLSFragmentSelector& WithTimestampRange(const HLSTimestampRange& value) { SetTimestampRange(value); return *this;}
86 inline HLSFragmentSelector& WithTimestampRange(HLSTimestampRange&& value) { SetTimestampRange(std::move(value)); return *this;}
88 private:
89
90 HLSFragmentSelectorType m_fragmentSelectorType;
91 bool m_fragmentSelectorTypeHasBeenSet = false;
92
93 HLSTimestampRange m_timestampRange;
94 bool m_timestampRangeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace KinesisVideoArchivedMedia
99} // namespace Aws
HLSFragmentSelector & WithTimestampRange(const HLSTimestampRange &value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSFragmentSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSFragmentSelector()
void SetFragmentSelectorType(HLSFragmentSelectorType &&value)
HLSFragmentSelector & WithFragmentSelectorType(const HLSFragmentSelectorType &value)
const HLSFragmentSelectorType & GetFragmentSelectorType() const
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
HLSFragmentSelector & WithFragmentSelectorType(HLSFragmentSelectorType &&value)
void SetFragmentSelectorType(const HLSFragmentSelectorType &value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API HLSFragmentSelector(Aws::Utils::Json::JsonView jsonValue)
HLSFragmentSelector & WithTimestampRange(HLSTimestampRange &&value)
Aws::Utils::Json::JsonValue JsonValue