AWS SDK for C++  1.9.123
AWS SDK for C++
DASHFragmentSelector.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace KinesisVideoArchivedMedia
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
66  inline const DASHFragmentSelectorType& GetFragmentSelectorType() const{ return m_fragmentSelectorType; }
67 
92  inline bool FragmentSelectorTypeHasBeenSet() const { return m_fragmentSelectorTypeHasBeenSet; }
93 
118  inline void SetFragmentSelectorType(const DASHFragmentSelectorType& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = value; }
119 
144  inline void SetFragmentSelectorType(DASHFragmentSelectorType&& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = std::move(value); }
145 
170  inline DASHFragmentSelector& WithFragmentSelectorType(const DASHFragmentSelectorType& value) { SetFragmentSelectorType(value); return *this;}
171 
196  inline DASHFragmentSelector& WithFragmentSelectorType(DASHFragmentSelectorType&& value) { SetFragmentSelectorType(std::move(value)); return *this;}
197 
198 
204  inline const DASHTimestampRange& GetTimestampRange() const{ return m_timestampRange; }
205 
211  inline bool TimestampRangeHasBeenSet() const { return m_timestampRangeHasBeenSet; }
212 
218  inline void SetTimestampRange(const DASHTimestampRange& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = value; }
219 
225  inline void SetTimestampRange(DASHTimestampRange&& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = std::move(value); }
226 
232  inline DASHFragmentSelector& WithTimestampRange(const DASHTimestampRange& value) { SetTimestampRange(value); return *this;}
233 
239  inline DASHFragmentSelector& WithTimestampRange(DASHTimestampRange&& value) { SetTimestampRange(std::move(value)); return *this;}
240 
241  private:
242 
243  DASHFragmentSelectorType m_fragmentSelectorType;
244  bool m_fragmentSelectorTypeHasBeenSet;
245 
246  DASHTimestampRange m_timestampRange;
247  bool m_timestampRangeHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace KinesisVideoArchivedMedia
252 } // namespace Aws
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::WithFragmentSelectorType
DASHFragmentSelector & WithFragmentSelectorType(DASHFragmentSelectorType &&value)
Definition: DASHFragmentSelector.h:196
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::operator=
DASHFragmentSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::DASHTimestampRange
Definition: DASHTimestampRange.h:37
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::WithTimestampRange
DASHFragmentSelector & WithTimestampRange(DASHTimestampRange &&value)
Definition: DASHFragmentSelector.h:239
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelectorType
DASHFragmentSelectorType
Definition: DASHFragmentSelectorType.h:17
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::SetTimestampRange
void SetTimestampRange(const DASHTimestampRange &value)
Definition: DASHFragmentSelector.h:218
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::DASHFragmentSelector
DASHFragmentSelector()
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::GetFragmentSelectorType
const DASHFragmentSelectorType & GetFragmentSelectorType() const
Definition: DASHFragmentSelector.h:66
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::GetTimestampRange
const DASHTimestampRange & GetTimestampRange() const
Definition: DASHFragmentSelector.h:204
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector
Definition: DASHFragmentSelector.h:34
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::WithFragmentSelectorType
DASHFragmentSelector & WithFragmentSelectorType(const DASHFragmentSelectorType &value)
Definition: DASHFragmentSelector.h:170
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::TimestampRangeHasBeenSet
bool TimestampRangeHasBeenSet() const
Definition: DASHFragmentSelector.h:211
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(const DASHFragmentSelectorType &value)
Definition: DASHFragmentSelector.h:118
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::DASHFragmentSelector
DASHFragmentSelector(Aws::Utils::Json::JsonView jsonValue)
DASHFragmentSelectorType.h
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::FragmentSelectorTypeHasBeenSet
bool FragmentSelectorTypeHasBeenSet() const
Definition: DASHFragmentSelector.h:92
DASHTimestampRange.h
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::WithTimestampRange
DASHFragmentSelector & WithTimestampRange(const DASHTimestampRange &value)
Definition: DASHFragmentSelector.h:232
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::SetTimestampRange
void SetTimestampRange(DASHTimestampRange &&value)
Definition: DASHFragmentSelector.h:225
Aws::KinesisVideoArchivedMedia::Model::DASHFragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(DASHFragmentSelectorType &&value)
Definition: DASHFragmentSelector.h:144