AWS SDK for C++  1.9.105
AWS SDK for C++
Transition.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 MediaTailor
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
45  inline const RelativePosition& GetRelativePosition() const{ return m_relativePosition; }
46 
51  inline bool RelativePositionHasBeenSet() const { return m_relativePositionHasBeenSet; }
52 
57  inline void SetRelativePosition(const RelativePosition& value) { m_relativePositionHasBeenSet = true; m_relativePosition = value; }
58 
63  inline void SetRelativePosition(RelativePosition&& value) { m_relativePositionHasBeenSet = true; m_relativePosition = std::move(value); }
64 
69  inline Transition& WithRelativePosition(const RelativePosition& value) { SetRelativePosition(value); return *this;}
70 
75  inline Transition& WithRelativePosition(RelativePosition&& value) { SetRelativePosition(std::move(value)); return *this;}
76 
77 
82  inline const Aws::String& GetRelativeProgram() const{ return m_relativeProgram; }
83 
88  inline bool RelativeProgramHasBeenSet() const { return m_relativeProgramHasBeenSet; }
89 
94  inline void SetRelativeProgram(const Aws::String& value) { m_relativeProgramHasBeenSet = true; m_relativeProgram = value; }
95 
100  inline void SetRelativeProgram(Aws::String&& value) { m_relativeProgramHasBeenSet = true; m_relativeProgram = std::move(value); }
101 
106  inline void SetRelativeProgram(const char* value) { m_relativeProgramHasBeenSet = true; m_relativeProgram.assign(value); }
107 
112  inline Transition& WithRelativeProgram(const Aws::String& value) { SetRelativeProgram(value); return *this;}
113 
118  inline Transition& WithRelativeProgram(Aws::String&& value) { SetRelativeProgram(std::move(value)); return *this;}
119 
124  inline Transition& WithRelativeProgram(const char* value) { SetRelativeProgram(value); return *this;}
125 
126 
131  inline long long GetScheduledStartTimeMillis() const{ return m_scheduledStartTimeMillis; }
132 
137  inline bool ScheduledStartTimeMillisHasBeenSet() const { return m_scheduledStartTimeMillisHasBeenSet; }
138 
143  inline void SetScheduledStartTimeMillis(long long value) { m_scheduledStartTimeMillisHasBeenSet = true; m_scheduledStartTimeMillis = value; }
144 
149  inline Transition& WithScheduledStartTimeMillis(long long value) { SetScheduledStartTimeMillis(value); return *this;}
150 
151 
164  inline const Aws::String& GetType() const{ return m_type; }
165 
178  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
179 
192  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
193 
206  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
207 
220  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
221 
234  inline Transition& WithType(const Aws::String& value) { SetType(value); return *this;}
235 
248  inline Transition& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
249 
262  inline Transition& WithType(const char* value) { SetType(value); return *this;}
263 
264  private:
265 
266  RelativePosition m_relativePosition;
267  bool m_relativePositionHasBeenSet;
268 
269  Aws::String m_relativeProgram;
270  bool m_relativeProgramHasBeenSet;
271 
272  long long m_scheduledStartTimeMillis;
273  bool m_scheduledStartTimeMillisHasBeenSet;
274 
275  Aws::String m_type;
276  bool m_typeHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace MediaTailor
281 } // namespace Aws
Aws::MediaTailor::Model::Transition::SetType
void SetType(const char *value)
Definition: Transition.h:220
Aws::MediaTailor::Model::Transition::RelativePositionHasBeenSet
bool RelativePositionHasBeenSet() const
Definition: Transition.h:51
RelativePosition.h
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::Transition::WithRelativeProgram
Transition & WithRelativeProgram(const Aws::String &value)
Definition: Transition.h:112
Aws::MediaTailor::Model::Transition::GetScheduledStartTimeMillis
long long GetScheduledStartTimeMillis() const
Definition: Transition.h:131
Aws::MediaTailor::Model::Transition::GetRelativePosition
const RelativePosition & GetRelativePosition() const
Definition: Transition.h:45
Aws::MediaTailor::Model::RelativePosition
RelativePosition
Definition: RelativePosition.h:17
Aws::MediaTailor::Model::Transition::SetRelativeProgram
void SetRelativeProgram(const char *value)
Definition: Transition.h:106
Aws::MediaTailor::Model::Transition::WithType
Transition & WithType(const char *value)
Definition: Transition.h:262
Aws::MediaTailor::Model::Transition::SetRelativePosition
void SetRelativePosition(const RelativePosition &value)
Definition: Transition.h:57
Aws::MediaTailor::Model::Transition::GetType
const Aws::String & GetType() const
Definition: Transition.h:164
Aws::MediaTailor::Model::Transition::WithType
Transition & WithType(const Aws::String &value)
Definition: Transition.h:234
Aws::MediaTailor::Model::Transition::SetRelativePosition
void SetRelativePosition(RelativePosition &&value)
Definition: Transition.h:63
Aws::MediaTailor::Model::Transition::WithScheduledStartTimeMillis
Transition & WithScheduledStartTimeMillis(long long value)
Definition: Transition.h:149
Aws::MediaTailor::Model::Transition::SetType
void SetType(const Aws::String &value)
Definition: Transition.h:192
Aws::MediaTailor::Model::Transition::ScheduledStartTimeMillisHasBeenSet
bool ScheduledStartTimeMillisHasBeenSet() const
Definition: Transition.h:137
Aws::MediaTailor::Model::Transition::SetRelativeProgram
void SetRelativeProgram(Aws::String &&value)
Definition: Transition.h:100
Aws::MediaTailor::Model::Transition::SetType
void SetType(Aws::String &&value)
Definition: Transition.h:206
Aws::MediaTailor::Model::Transition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::Transition::SetScheduledStartTimeMillis
void SetScheduledStartTimeMillis(long long value)
Definition: Transition.h:143
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MediaTailor::Model::Transition::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Transition.h:178
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::Transition::GetRelativeProgram
const Aws::String & GetRelativeProgram() const
Definition: Transition.h:82
Aws::MediaTailor::Model::Transition::WithType
Transition & WithType(Aws::String &&value)
Definition: Transition.h:248
Aws::MediaTailor::Model::Transition::RelativeProgramHasBeenSet
bool RelativeProgramHasBeenSet() const
Definition: Transition.h:88
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::Transition
Definition: Transition.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::Transition::WithRelativePosition
Transition & WithRelativePosition(const RelativePosition &value)
Definition: Transition.h:69
Aws::MediaTailor::Model::Transition::operator=
Transition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::Transition::WithRelativePosition
Transition & WithRelativePosition(RelativePosition &&value)
Definition: Transition.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::Transition::SetRelativeProgram
void SetRelativeProgram(const Aws::String &value)
Definition: Transition.h:94
Aws::MediaTailor::Model::Transition::WithRelativeProgram
Transition & WithRelativeProgram(const char *value)
Definition: Transition.h:124
Aws::MediaTailor::Model::Transition::Transition
Transition(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::Transition::WithRelativeProgram
Transition & WithRelativeProgram(Aws::String &&value)
Definition: Transition.h:118
Aws::MediaTailor::Model::Transition::Transition
Transition()