AWS SDK for C++  1.9.160
AWS SDK for C++
ClipFragmentSelector.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 
40  {
41  public:
46 
47 
51  inline const ClipFragmentSelectorType& GetFragmentSelectorType() const{ return m_fragmentSelectorType; }
52 
56  inline bool FragmentSelectorTypeHasBeenSet() const { return m_fragmentSelectorTypeHasBeenSet; }
57 
61  inline void SetFragmentSelectorType(const ClipFragmentSelectorType& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = value; }
62 
66  inline void SetFragmentSelectorType(ClipFragmentSelectorType&& value) { m_fragmentSelectorTypeHasBeenSet = true; m_fragmentSelectorType = std::move(value); }
67 
71  inline ClipFragmentSelector& WithFragmentSelectorType(const ClipFragmentSelectorType& value) { SetFragmentSelectorType(value); return *this;}
72 
76  inline ClipFragmentSelector& WithFragmentSelectorType(ClipFragmentSelectorType&& value) { SetFragmentSelectorType(std::move(value)); return *this;}
77 
78 
82  inline const ClipTimestampRange& GetTimestampRange() const{ return m_timestampRange; }
83 
87  inline bool TimestampRangeHasBeenSet() const { return m_timestampRangeHasBeenSet; }
88 
92  inline void SetTimestampRange(const ClipTimestampRange& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = value; }
93 
97  inline void SetTimestampRange(ClipTimestampRange&& value) { m_timestampRangeHasBeenSet = true; m_timestampRange = std::move(value); }
98 
102  inline ClipFragmentSelector& WithTimestampRange(const ClipTimestampRange& value) { SetTimestampRange(value); return *this;}
103 
107  inline ClipFragmentSelector& WithTimestampRange(ClipTimestampRange&& value) { SetTimestampRange(std::move(value)); return *this;}
108 
109  private:
110 
111  ClipFragmentSelectorType m_fragmentSelectorType;
112  bool m_fragmentSelectorTypeHasBeenSet;
113 
114  ClipTimestampRange m_timestampRange;
115  bool m_timestampRangeHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace KinesisVideoArchivedMedia
120 } // namespace Aws
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::SetTimestampRange
void SetTimestampRange(const ClipTimestampRange &value)
Definition: ClipFragmentSelector.h:92
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::WithFragmentSelectorType
ClipFragmentSelector & WithFragmentSelectorType(ClipFragmentSelectorType &&value)
Definition: ClipFragmentSelector.h:76
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::WithFragmentSelectorType
ClipFragmentSelector & WithFragmentSelectorType(const ClipFragmentSelectorType &value)
Definition: ClipFragmentSelector.h:71
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(ClipFragmentSelectorType &&value)
Definition: ClipFragmentSelector.h:66
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::GetTimestampRange
const ClipTimestampRange & GetTimestampRange() const
Definition: ClipFragmentSelector.h:82
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::WithTimestampRange
ClipFragmentSelector & WithTimestampRange(ClipTimestampRange &&value)
Definition: ClipFragmentSelector.h:107
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector
Definition: ClipFragmentSelector.h:40
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::ClipFragmentSelector
ClipFragmentSelector()
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::SetTimestampRange
void SetTimestampRange(ClipTimestampRange &&value)
Definition: ClipFragmentSelector.h:97
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::GetFragmentSelectorType
const ClipFragmentSelectorType & GetFragmentSelectorType() const
Definition: ClipFragmentSelector.h:51
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::SetFragmentSelectorType
void SetFragmentSelectorType(const ClipFragmentSelectorType &value)
Definition: ClipFragmentSelector.h:61
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::WithTimestampRange
ClipFragmentSelector & WithTimestampRange(const ClipTimestampRange &value)
Definition: ClipFragmentSelector.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::TimestampRangeHasBeenSet
bool TimestampRangeHasBeenSet() const
Definition: ClipFragmentSelector.h:87
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ClipTimestampRange.h
Aws::KinesisVideoArchivedMedia::Model::ClipTimestampRange
Definition: ClipTimestampRange.h:33
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::FragmentSelectorTypeHasBeenSet
bool FragmentSelectorTypeHasBeenSet() const
Definition: ClipFragmentSelector.h:56
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::operator=
ClipFragmentSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelectorType
ClipFragmentSelectorType
Definition: ClipFragmentSelectorType.h:17
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector::ClipFragmentSelector
ClipFragmentSelector(Aws::Utils::Json::JsonView jsonValue)
ClipFragmentSelectorType.h