AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Transition.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/RelativePosition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIATAILOR_API Transition();
36 AWS_MEDIATAILOR_API Transition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIATAILOR_API Transition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetDurationMillis() const{ return m_durationMillis; }
46 inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; }
47 inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; }
48 inline Transition& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;}
50
52
56 inline const RelativePosition& GetRelativePosition() const{ return m_relativePosition; }
57 inline bool RelativePositionHasBeenSet() const { return m_relativePositionHasBeenSet; }
58 inline void SetRelativePosition(const RelativePosition& value) { m_relativePositionHasBeenSet = true; m_relativePosition = value; }
59 inline void SetRelativePosition(RelativePosition&& value) { m_relativePositionHasBeenSet = true; m_relativePosition = std::move(value); }
60 inline Transition& WithRelativePosition(const RelativePosition& value) { SetRelativePosition(value); return *this;}
61 inline Transition& WithRelativePosition(RelativePosition&& value) { SetRelativePosition(std::move(value)); return *this;}
63
65
69 inline const Aws::String& GetRelativeProgram() const{ return m_relativeProgram; }
70 inline bool RelativeProgramHasBeenSet() const { return m_relativeProgramHasBeenSet; }
71 inline void SetRelativeProgram(const Aws::String& value) { m_relativeProgramHasBeenSet = true; m_relativeProgram = value; }
72 inline void SetRelativeProgram(Aws::String&& value) { m_relativeProgramHasBeenSet = true; m_relativeProgram = std::move(value); }
73 inline void SetRelativeProgram(const char* value) { m_relativeProgramHasBeenSet = true; m_relativeProgram.assign(value); }
74 inline Transition& WithRelativeProgram(const Aws::String& value) { SetRelativeProgram(value); return *this;}
75 inline Transition& WithRelativeProgram(Aws::String&& value) { SetRelativeProgram(std::move(value)); return *this;}
76 inline Transition& WithRelativeProgram(const char* value) { SetRelativeProgram(value); return *this;}
78
80
84 inline long long GetScheduledStartTimeMillis() const{ return m_scheduledStartTimeMillis; }
85 inline bool ScheduledStartTimeMillisHasBeenSet() const { return m_scheduledStartTimeMillisHasBeenSet; }
86 inline void SetScheduledStartTimeMillis(long long value) { m_scheduledStartTimeMillisHasBeenSet = true; m_scheduledStartTimeMillis = value; }
87 inline Transition& WithScheduledStartTimeMillis(long long value) { SetScheduledStartTimeMillis(value); return *this;}
89
91
105 inline const Aws::String& GetType() const{ return m_type; }
106 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
107 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
108 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
109 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
110 inline Transition& WithType(const Aws::String& value) { SetType(value); return *this;}
111 inline Transition& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
112 inline Transition& WithType(const char* value) { SetType(value); return *this;}
114 private:
115
116 long long m_durationMillis;
117 bool m_durationMillisHasBeenSet = false;
118
119 RelativePosition m_relativePosition;
120 bool m_relativePositionHasBeenSet = false;
121
122 Aws::String m_relativeProgram;
123 bool m_relativeProgramHasBeenSet = false;
124
125 long long m_scheduledStartTimeMillis;
126 bool m_scheduledStartTimeMillisHasBeenSet = false;
127
128 Aws::String m_type;
129 bool m_typeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace MediaTailor
134} // namespace Aws
long long GetScheduledStartTimeMillis() const
Definition Transition.h:84
Transition & WithRelativePosition(const RelativePosition &value)
Definition Transition.h:60
const Aws::String & GetType() const
Definition Transition.h:105
void SetRelativeProgram(const Aws::String &value)
Definition Transition.h:71
Transition & WithType(Aws::String &&value)
Definition Transition.h:111
const RelativePosition & GetRelativePosition() const
Definition Transition.h:56
Transition & WithRelativeProgram(const char *value)
Definition Transition.h:76
void SetType(const Aws::String &value)
Definition Transition.h:107
Transition & WithRelativeProgram(const Aws::String &value)
Definition Transition.h:74
void SetRelativePosition(const RelativePosition &value)
Definition Transition.h:58
Transition & WithScheduledStartTimeMillis(long long value)
Definition Transition.h:87
AWS_MEDIATAILOR_API Transition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const char *value)
Definition Transition.h:109
const Aws::String & GetRelativeProgram() const
Definition Transition.h:69
Transition & WithDurationMillis(long long value)
Definition Transition.h:48
void SetRelativePosition(RelativePosition &&value)
Definition Transition.h:59
long long GetDurationMillis() const
Definition Transition.h:45
void SetType(Aws::String &&value)
Definition Transition.h:108
void SetScheduledStartTimeMillis(long long value)
Definition Transition.h:86
AWS_MEDIATAILOR_API Transition(Aws::Utils::Json::JsonView jsonValue)
Transition & WithType(const char *value)
Definition Transition.h:112
Transition & WithRelativePosition(RelativePosition &&value)
Definition Transition.h:61
void SetDurationMillis(long long value)
Definition Transition.h:47
void SetRelativeProgram(const char *value)
Definition Transition.h:73
Transition & WithType(const Aws::String &value)
Definition Transition.h:110
AWS_MEDIATAILOR_API Transition()
Transition & WithRelativeProgram(Aws::String &&value)
Definition Transition.h:75
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRelativeProgram(Aws::String &&value)
Definition Transition.h:72
bool ScheduledStartTimeMillisHasBeenSet() const
Definition Transition.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue