AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FragmentSelector.h
1
6#pragma once
7#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMedia_EXPORTS.h>
8#include <aws/kinesis-video-archived-media/model/FragmentSelectorType.h>
9#include <aws/kinesis-video-archived-media/model/TimestampRange.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
41 {
42 public:
43 AWS_KINESISVIDEOARCHIVEDMEDIA_API FragmentSelector();
44 AWS_KINESISVIDEOARCHIVEDMEDIA_API FragmentSelector(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISVIDEOARCHIVEDMEDIA_API FragmentSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const FragmentSelectorType& GetFragmentSelectorType() const{ return m_fragmentSelectorType; }
54 inline bool FragmentSelectorTypeHasBeenSet() const { return m_fragmentSelectorTypeHasBeenSet; }
55 inline void SetFragmentSelectorType(const FragmentSelectorType& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = value; }
56 inline void SetFragmentSelectorType(FragmentSelectorType&& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = std::move(value); }
60
62
65 inline const TimestampRange& GetTimestampRange() const{ return m_timestampRange; }
66 inline bool TimestampRangeHasBeenSet() const { return m_timestampRangeHasBeenSet; }
67 inline void SetTimestampRange(const TimestampRange& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = value; }
68 inline void SetTimestampRange(TimestampRange&& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = std::move(value); }
69 inline FragmentSelector& WithTimestampRange(const TimestampRange& value) { SetTimestampRange(value); return *this;}
70 inline FragmentSelector& WithTimestampRange(TimestampRange&& value) { SetTimestampRange(std::move(value)); return *this;}
72 private:
73
74 FragmentSelectorType m_fragmentSelectorType;
75 bool m_fragmentSelectorTypeHasBeenSet = false;
76
77 TimestampRange m_timestampRange;
78 bool m_timestampRangeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace KinesisVideoArchivedMedia
83} // namespace Aws
AWS_KINESISVIDEOARCHIVEDMEDIA_API FragmentSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
FragmentSelector & WithFragmentSelectorType(const FragmentSelectorType &value)
FragmentSelector & WithTimestampRange(const TimestampRange &value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
FragmentSelector & WithFragmentSelectorType(FragmentSelectorType &&value)
void SetFragmentSelectorType(const FragmentSelectorType &value)
void SetFragmentSelectorType(FragmentSelectorType &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API FragmentSelector()
AWS_KINESISVIDEOARCHIVEDMEDIA_API FragmentSelector(Aws::Utils::Json::JsonView jsonValue)
FragmentSelector & WithTimestampRange(TimestampRange &&value)
const FragmentSelectorType & GetFragmentSelectorType() const
Aws::Utils::Json::JsonValue JsonValue