AWS SDK for C++  1.9.104
AWS SDK for C++
AdBreak.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaTailor
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const MessageType& GetMessageType() const{ return m_messageType; }
46 
50  inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; }
51 
55  inline void SetMessageType(const MessageType& value) { m_messageTypeHasBeenSet = true; m_messageType = value; }
56 
60  inline void SetMessageType(MessageType&& value) { m_messageTypeHasBeenSet = true; m_messageType = std::move(value); }
61 
65  inline AdBreak& WithMessageType(const MessageType& value) { SetMessageType(value); return *this;}
66 
70  inline AdBreak& WithMessageType(MessageType&& value) { SetMessageType(std::move(value)); return *this;}
71 
72 
78  inline long long GetOffsetMillis() const{ return m_offsetMillis; }
79 
85  inline bool OffsetMillisHasBeenSet() const { return m_offsetMillisHasBeenSet; }
86 
92  inline void SetOffsetMillis(long long value) { m_offsetMillisHasBeenSet = true; m_offsetMillis = value; }
93 
99  inline AdBreak& WithOffsetMillis(long long value) { SetOffsetMillis(value); return *this;}
100 
101 
105  inline const SlateSource& GetSlate() const{ return m_slate; }
106 
110  inline bool SlateHasBeenSet() const { return m_slateHasBeenSet; }
111 
115  inline void SetSlate(const SlateSource& value) { m_slateHasBeenSet = true; m_slate = value; }
116 
120  inline void SetSlate(SlateSource&& value) { m_slateHasBeenSet = true; m_slate = std::move(value); }
121 
125  inline AdBreak& WithSlate(const SlateSource& value) { SetSlate(value); return *this;}
126 
130  inline AdBreak& WithSlate(SlateSource&& value) { SetSlate(std::move(value)); return *this;}
131 
132 
138  inline const SpliceInsertMessage& GetSpliceInsertMessage() const{ return m_spliceInsertMessage; }
139 
145  inline bool SpliceInsertMessageHasBeenSet() const { return m_spliceInsertMessageHasBeenSet; }
146 
152  inline void SetSpliceInsertMessage(const SpliceInsertMessage& value) { m_spliceInsertMessageHasBeenSet = true; m_spliceInsertMessage = value; }
153 
159  inline void SetSpliceInsertMessage(SpliceInsertMessage&& value) { m_spliceInsertMessageHasBeenSet = true; m_spliceInsertMessage = std::move(value); }
160 
166  inline AdBreak& WithSpliceInsertMessage(const SpliceInsertMessage& value) { SetSpliceInsertMessage(value); return *this;}
167 
173  inline AdBreak& WithSpliceInsertMessage(SpliceInsertMessage&& value) { SetSpliceInsertMessage(std::move(value)); return *this;}
174 
175  private:
176 
177  MessageType m_messageType;
178  bool m_messageTypeHasBeenSet;
179 
180  long long m_offsetMillis;
181  bool m_offsetMillisHasBeenSet;
182 
183  SlateSource m_slate;
184  bool m_slateHasBeenSet;
185 
186  SpliceInsertMessage m_spliceInsertMessage;
187  bool m_spliceInsertMessageHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace MediaTailor
192 } // namespace Aws
Aws::MediaTailor::Model::AdBreak::WithOffsetMillis
AdBreak & WithOffsetMillis(long long value)
Definition: AdBreak.h:99
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::AdBreak::SetMessageType
void SetMessageType(MessageType &&value)
Definition: AdBreak.h:60
SpliceInsertMessage.h
Aws::MediaTailor::Model::AdBreak::GetOffsetMillis
long long GetOffsetMillis() const
Definition: AdBreak.h:78
Aws::MediaTailor::Model::AdBreak::AdBreak
AdBreak(Aws::Utils::Json::JsonView jsonValue)
SlateSource.h
Aws::MediaTailor::Model::AdBreak::SlateHasBeenSet
bool SlateHasBeenSet() const
Definition: AdBreak.h:110
Aws::MediaTailor::Model::AdBreak::operator=
AdBreak & operator=(Aws::Utils::Json::JsonView jsonValue)
MessageType.h
Aws::MediaTailor::Model::AdBreak
Definition: AdBreak.h:34
Aws::MediaTailor::Model::AdBreak::SetSlate
void SetSlate(SlateSource &&value)
Definition: AdBreak.h:120
Aws::MediaTailor::Model::AdBreak::GetSlate
const SlateSource & GetSlate() const
Definition: AdBreak.h:105
Aws::MediaTailor::Model::AdBreak::SetMessageType
void SetMessageType(const MessageType &value)
Definition: AdBreak.h:55
Aws::MediaTailor::Model::AdBreak::SetOffsetMillis
void SetOffsetMillis(long long value)
Definition: AdBreak.h:92
Aws::MediaTailor::Model::AdBreak::GetSpliceInsertMessage
const SpliceInsertMessage & GetSpliceInsertMessage() const
Definition: AdBreak.h:138
Aws::MediaTailor::Model::AdBreak::WithMessageType
AdBreak & WithMessageType(const MessageType &value)
Definition: AdBreak.h:65
Aws::MediaTailor::Model::MessageType
MessageType
Definition: MessageType.h:17
Aws::MediaTailor::Model::AdBreak::GetMessageType
const MessageType & GetMessageType() const
Definition: AdBreak.h:45
Aws::MediaTailor::Model::AdBreak::OffsetMillisHasBeenSet
bool OffsetMillisHasBeenSet() const
Definition: AdBreak.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaTailor::Model::AdBreak::SpliceInsertMessageHasBeenSet
bool SpliceInsertMessageHasBeenSet() const
Definition: AdBreak.h:145
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::AdBreak::WithSlate
AdBreak & WithSlate(SlateSource &&value)
Definition: AdBreak.h:130
Aws::MediaTailor::Model::SpliceInsertMessage
Definition: SpliceInsertMessage.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SlateSource
Definition: SlateSource.h:32
Aws::MediaTailor::Model::AdBreak::AdBreak
AdBreak()
Aws::MediaTailor::Model::AdBreak::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::AdBreak::WithSpliceInsertMessage
AdBreak & WithSpliceInsertMessage(const SpliceInsertMessage &value)
Definition: AdBreak.h:166
Aws::MediaTailor::Model::AdBreak::SetSpliceInsertMessage
void SetSpliceInsertMessage(SpliceInsertMessage &&value)
Definition: AdBreak.h:159
Aws::MediaTailor::Model::AdBreak::WithSlate
AdBreak & WithSlate(const SlateSource &value)
Definition: AdBreak.h:125
Aws::MediaTailor::Model::AdBreak::SetSpliceInsertMessage
void SetSpliceInsertMessage(const SpliceInsertMessage &value)
Definition: AdBreak.h:152
Aws::MediaTailor::Model::AdBreak::MessageTypeHasBeenSet
bool MessageTypeHasBeenSet() const
Definition: AdBreak.h:50
Aws::MediaTailor::Model::AdBreak::SetSlate
void SetSlate(const SlateSource &value)
Definition: AdBreak.h:115
Aws::MediaTailor::Model::AdBreak::WithSpliceInsertMessage
AdBreak & WithSpliceInsertMessage(SpliceInsertMessage &&value)
Definition: AdBreak.h:173
Aws::MediaTailor::Model::AdBreak::WithMessageType
AdBreak & WithMessageType(MessageType &&value)
Definition: AdBreak.h:70