AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Clip.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/model/TimeSpan.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticTranscoder
22{
23namespace Model
24{
25
32 class Clip
33 {
34 public:
35 AWS_ELASTICTRANSCODER_API Clip();
36 AWS_ELASTICTRANSCODER_API Clip(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICTRANSCODER_API Clip& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TimeSpan& GetTimeSpan() const{ return m_timeSpan; }
46 inline bool TimeSpanHasBeenSet() const { return m_timeSpanHasBeenSet; }
47 inline void SetTimeSpan(const TimeSpan& value) { m_timeSpanHasBeenSet = true; m_timeSpan = value; }
48 inline void SetTimeSpan(TimeSpan&& value) { m_timeSpanHasBeenSet = true; m_timeSpan = std::move(value); }
49 inline Clip& WithTimeSpan(const TimeSpan& value) { SetTimeSpan(value); return *this;}
50 inline Clip& WithTimeSpan(TimeSpan&& value) { SetTimeSpan(std::move(value)); return *this;}
52 private:
53
54 TimeSpan m_timeSpan;
55 bool m_timeSpanHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace ElasticTranscoder
60} // namespace Aws
void SetTimeSpan(TimeSpan &&value)
Definition Clip.h:48
AWS_ELASTICTRANSCODER_API Clip & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICTRANSCODER_API Clip(Aws::Utils::Json::JsonView jsonValue)
Clip & WithTimeSpan(TimeSpan &&value)
Definition Clip.h:50
Clip & WithTimeSpan(const TimeSpan &value)
Definition Clip.h:49
AWS_ELASTICTRANSCODER_API Clip()
void SetTimeSpan(const TimeSpan &value)
Definition Clip.h:47
const TimeSpan & GetTimeSpan() const
Definition Clip.h:45
Aws::Utils::Json::JsonValue JsonValue