AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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