AWS SDK for C++  1.9.104
AWS SDK for C++
FragmentSelector.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 
41  {
42  public:
47 
48 
52  inline const FragmentSelectorType& GetFragmentSelectorType() const{ return m_fragmentSelectorType; }
53 
57  inline bool FragmentSelectorTypeHasBeenSet() const { return m_fragmentSelectorTypeHasBeenSet; }
58 
62  inline void SetFragmentSelectorType(const FragmentSelectorType& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = value; }
63 
67  inline void SetFragmentSelectorType(FragmentSelectorType&& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = std::move(value); }
68 
72  inline FragmentSelector& WithFragmentSelectorType(const FragmentSelectorType& value) { SetFragmentSelectorType(value); return *this;}
73 
77  inline FragmentSelector& WithFragmentSelectorType(FragmentSelectorType&& value) { SetFragmentSelectorType(std::move(value)); return *this;}
78 
79 
83  inline const TimestampRange& GetTimestampRange() const{ return m_timestampRange; }
84 
88  inline bool TimestampRangeHasBeenSet() const { return m_timestampRangeHasBeenSet; }
89 
93  inline void SetTimestampRange(const TimestampRange& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = value; }
94 
98  inline void SetTimestampRange(TimestampRange&& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = std::move(value); }
99 
103  inline FragmentSelector& WithTimestampRange(const TimestampRange& value) { SetTimestampRange(value); return *this;}
104 
108  inline FragmentSelector& WithTimestampRange(TimestampRange&& value) { SetTimestampRange(std::move(value)); return *this;}
109 
110  private:
111 
112  FragmentSelectorType m_fragmentSelectorType;
113  bool m_fragmentSelectorTypeHasBeenSet;
114 
115  TimestampRange m_timestampRange;
116  bool m_timestampRangeHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace KinesisVideoArchivedMedia
121 } // namespace Aws
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::SetTimestampRange
void SetTimestampRange(TimestampRange &&value)
Definition: FragmentSelector.h:98
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::GetFragmentSelectorType
const FragmentSelectorType & GetFragmentSelectorType() const
Definition: FragmentSelector.h:52
Aws::KinesisVideoArchivedMedia::Model::FragmentSelectorType
FragmentSelectorType
Definition: FragmentSelectorType.h:17
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::operator=
FragmentSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(const FragmentSelectorType &value)
Definition: FragmentSelector.h:62
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::FragmentSelectorTypeHasBeenSet
bool FragmentSelectorTypeHasBeenSet() const
Definition: FragmentSelector.h:57
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::FragmentSelector
FragmentSelector()
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector
Definition: FragmentSelector.h:41
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::WithFragmentSelectorType
FragmentSelector & WithFragmentSelectorType(const FragmentSelectorType &value)
Definition: FragmentSelector.h:72
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::WithTimestampRange
FragmentSelector & WithTimestampRange(const TimestampRange &value)
Definition: FragmentSelector.h:103
Aws::KinesisVideoArchivedMedia::Model::TimestampRange
Definition: TimestampRange.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::SetTimestampRange
void SetTimestampRange(const TimestampRange &value)
Definition: FragmentSelector.h:93
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::GetTimestampRange
const TimestampRange & GetTimestampRange() const
Definition: FragmentSelector.h:83
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::TimestampRangeHasBeenSet
bool TimestampRangeHasBeenSet() const
Definition: FragmentSelector.h:88
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::WithFragmentSelectorType
FragmentSelector & WithFragmentSelectorType(FragmentSelectorType &&value)
Definition: FragmentSelector.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::FragmentSelector
FragmentSelector(Aws::Utils::Json::JsonView jsonValue)
FragmentSelectorType.h
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::WithTimestampRange
FragmentSelector & WithTimestampRange(TimestampRange &&value)
Definition: FragmentSelector.h:108
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(FragmentSelectorType &&value)
Definition: FragmentSelector.h:67
TimestampRange.h