AWS SDK for C++  1.9.159
AWS SDK for C++
HLSFragmentSelector.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 HLSFragmentSelectorType& GetFragmentSelectorType() const{ return m_fragmentSelectorType; }
67 
92  inline bool FragmentSelectorTypeHasBeenSet() const { return m_fragmentSelectorTypeHasBeenSet; }
93 
118  inline void SetFragmentSelectorType(const HLSFragmentSelectorType& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = value; }
119 
144  inline void SetFragmentSelectorType(HLSFragmentSelectorType&& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = std::move(value); }
145 
170  inline HLSFragmentSelector& WithFragmentSelectorType(const HLSFragmentSelectorType& value) { SetFragmentSelectorType(value); return *this;}
171 
196  inline HLSFragmentSelector& WithFragmentSelectorType(HLSFragmentSelectorType&& value) { SetFragmentSelectorType(std::move(value)); return *this;}
197 
198 
204  inline const HLSTimestampRange& GetTimestampRange() const{ return m_timestampRange; }
205 
211  inline bool TimestampRangeHasBeenSet() const { return m_timestampRangeHasBeenSet; }
212 
218  inline void SetTimestampRange(const HLSTimestampRange& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = value; }
219 
225  inline void SetTimestampRange(HLSTimestampRange&& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = std::move(value); }
226 
232  inline HLSFragmentSelector& WithTimestampRange(const HLSTimestampRange& value) { SetTimestampRange(value); return *this;}
233 
239  inline HLSFragmentSelector& WithTimestampRange(HLSTimestampRange&& value) { SetTimestampRange(std::move(value)); return *this;}
240 
241  private:
242 
243  HLSFragmentSelectorType m_fragmentSelectorType;
244  bool m_fragmentSelectorTypeHasBeenSet;
245 
246  HLSTimestampRange m_timestampRange;
247  bool m_timestampRangeHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace KinesisVideoArchivedMedia
252 } // namespace Aws
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::TimestampRangeHasBeenSet
bool TimestampRangeHasBeenSet() const
Definition: HLSFragmentSelector.h:211
HLSFragmentSelectorType.h
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::FragmentSelectorTypeHasBeenSet
bool FragmentSelectorTypeHasBeenSet() const
Definition: HLSFragmentSelector.h:92
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::SetTimestampRange
void SetTimestampRange(HLSTimestampRange &&value)
Definition: HLSFragmentSelector.h:225
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelectorType
HLSFragmentSelectorType
Definition: HLSFragmentSelectorType.h:17
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::WithTimestampRange
HLSFragmentSelector & WithTimestampRange(HLSTimestampRange &&value)
Definition: HLSFragmentSelector.h:239
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::WithFragmentSelectorType
HLSFragmentSelector & WithFragmentSelectorType(const HLSFragmentSelectorType &value)
Definition: HLSFragmentSelector.h:170
HLSTimestampRange.h
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::GetTimestampRange
const HLSTimestampRange & GetTimestampRange() const
Definition: HLSFragmentSelector.h:204
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::SetTimestampRange
void SetTimestampRange(const HLSTimestampRange &value)
Definition: HLSFragmentSelector.h:218
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::WithTimestampRange
HLSFragmentSelector & WithTimestampRange(const HLSTimestampRange &value)
Definition: HLSFragmentSelector.h:232
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::operator=
HLSFragmentSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::HLSTimestampRange
Definition: HLSTimestampRange.h:34
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::HLSFragmentSelector
HLSFragmentSelector()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::HLSFragmentSelector
HLSFragmentSelector(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::WithFragmentSelectorType
HLSFragmentSelector & WithFragmentSelectorType(HLSFragmentSelectorType &&value)
Definition: HLSFragmentSelector.h:196
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector
Definition: HLSFragmentSelector.h:34
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(const HLSFragmentSelectorType &value)
Definition: HLSFragmentSelector.h:118
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(HLSFragmentSelectorType &&value)
Definition: HLSFragmentSelector.h:144
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::GetFragmentSelectorType
const HLSFragmentSelectorType & GetFragmentSelectorType() const
Definition: HLSFragmentSelector.h:66
Aws::KinesisVideoArchivedMedia::Model::HLSFragmentSelector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const