AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeProgramResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace MediaTailor
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<AdBreak>& GetAdBreaks() const{ return m_adBreaks; }
42 
46  inline void SetAdBreaks(const Aws::Vector<AdBreak>& value) { m_adBreaks = value; }
47 
51  inline void SetAdBreaks(Aws::Vector<AdBreak>&& value) { m_adBreaks = std::move(value); }
52 
56  inline DescribeProgramResult& WithAdBreaks(const Aws::Vector<AdBreak>& value) { SetAdBreaks(value); return *this;}
57 
61  inline DescribeProgramResult& WithAdBreaks(Aws::Vector<AdBreak>&& value) { SetAdBreaks(std::move(value)); return *this;}
62 
66  inline DescribeProgramResult& AddAdBreaks(const AdBreak& value) { m_adBreaks.push_back(value); return *this; }
67 
71  inline DescribeProgramResult& AddAdBreaks(AdBreak&& value) { m_adBreaks.push_back(std::move(value)); return *this; }
72 
73 
77  inline const Aws::String& GetArn() const{ return m_arn; }
78 
82  inline void SetArn(const Aws::String& value) { m_arn = value; }
83 
87  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
88 
92  inline void SetArn(const char* value) { m_arn.assign(value); }
93 
97  inline DescribeProgramResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
98 
102  inline DescribeProgramResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
103 
107  inline DescribeProgramResult& WithArn(const char* value) { SetArn(value); return *this;}
108 
109 
113  inline const Aws::String& GetChannelName() const{ return m_channelName; }
114 
118  inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
119 
123  inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
124 
128  inline void SetChannelName(const char* value) { m_channelName.assign(value); }
129 
133  inline DescribeProgramResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
134 
138  inline DescribeProgramResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
139 
143  inline DescribeProgramResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
144 
145 
149  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
150 
154  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
155 
159  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
160 
164  inline DescribeProgramResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
165 
169  inline DescribeProgramResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
170 
171 
175  inline const Aws::String& GetProgramName() const{ return m_programName; }
176 
180  inline void SetProgramName(const Aws::String& value) { m_programName = value; }
181 
185  inline void SetProgramName(Aws::String&& value) { m_programName = std::move(value); }
186 
190  inline void SetProgramName(const char* value) { m_programName.assign(value); }
191 
195  inline DescribeProgramResult& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
196 
200  inline DescribeProgramResult& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
201 
205  inline DescribeProgramResult& WithProgramName(const char* value) { SetProgramName(value); return *this;}
206 
207 
213  inline const Aws::Utils::DateTime& GetScheduledStartTime() const{ return m_scheduledStartTime; }
214 
220  inline void SetScheduledStartTime(const Aws::Utils::DateTime& value) { m_scheduledStartTime = value; }
221 
227  inline void SetScheduledStartTime(Aws::Utils::DateTime&& value) { m_scheduledStartTime = std::move(value); }
228 
234  inline DescribeProgramResult& WithScheduledStartTime(const Aws::Utils::DateTime& value) { SetScheduledStartTime(value); return *this;}
235 
241  inline DescribeProgramResult& WithScheduledStartTime(Aws::Utils::DateTime&& value) { SetScheduledStartTime(std::move(value)); return *this;}
242 
243 
247  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
248 
252  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
253 
257  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
258 
262  inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
263 
267  inline DescribeProgramResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
268 
272  inline DescribeProgramResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
273 
277  inline DescribeProgramResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
278 
279 
283  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
284 
288  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceName = value; }
289 
293  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceName = std::move(value); }
294 
298  inline void SetVodSourceName(const char* value) { m_vodSourceName.assign(value); }
299 
303  inline DescribeProgramResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
304 
308  inline DescribeProgramResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
309 
313  inline DescribeProgramResult& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
314 
315  private:
316 
317  Aws::Vector<AdBreak> m_adBreaks;
318 
319  Aws::String m_arn;
320 
321  Aws::String m_channelName;
322 
323  Aws::Utils::DateTime m_creationTime;
324 
325  Aws::String m_programName;
326 
327  Aws::Utils::DateTime m_scheduledStartTime;
328 
329  Aws::String m_sourceLocationName;
330 
331  Aws::String m_vodSourceName;
332  };
333 
334 } // namespace Model
335 } // namespace MediaTailor
336 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::DescribeProgramResult::SetChannelName
void SetChannelName(const char *value)
Definition: DescribeProgramResult.h:128
Aws::MediaTailor::Model::DescribeProgramResult::WithCreationTime
DescribeProgramResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeProgramResult.h:169
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::DescribeProgramResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeProgramResult.h:87
Aws::MediaTailor::Model::DescribeProgramResult::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: DescribeProgramResult.h:293
Aws::MediaTailor::Model::DescribeProgramResult::WithAdBreaks
DescribeProgramResult & WithAdBreaks(const Aws::Vector< AdBreak > &value)
Definition: DescribeProgramResult.h:56
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DescribeProgramResult::WithArn
DescribeProgramResult & WithArn(Aws::String &&value)
Definition: DescribeProgramResult.h:102
Aws::MediaTailor::Model::DescribeProgramResult::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: DescribeProgramResult.h:118
Aws::MediaTailor::Model::DescribeProgramResult::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: DescribeProgramResult.h:257
Aws::MediaTailor::Model::DescribeProgramResult::WithArn
DescribeProgramResult & WithArn(const Aws::String &value)
Definition: DescribeProgramResult.h:97
Aws::MediaTailor::Model::DescribeProgramResult::SetAdBreaks
void SetAdBreaks(const Aws::Vector< AdBreak > &value)
Definition: DescribeProgramResult.h:46
Aws::MediaTailor::Model::DescribeProgramResult::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: DescribeProgramResult.h:288
Aws::MediaTailor::Model::DescribeProgramResult::WithArn
DescribeProgramResult & WithArn(const char *value)
Definition: DescribeProgramResult.h:107
DateTime.h
Aws::MediaTailor::Model::DescribeProgramResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeProgramResult.h:154
Aws::MediaTailor::Model::DescribeProgramResult::GetScheduledStartTime
const Aws::Utils::DateTime & GetScheduledStartTime() const
Definition: DescribeProgramResult.h:213
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::DescribeProgramResult::SetArn
void SetArn(const char *value)
Definition: DescribeProgramResult.h:92
Aws::MediaTailor::Model::AdBreak
Definition: AdBreak.h:34
Aws::MediaTailor::Model::DescribeProgramResult::WithAdBreaks
DescribeProgramResult & WithAdBreaks(Aws::Vector< AdBreak > &&value)
Definition: DescribeProgramResult.h:61
AWSVector.h
Aws::MediaTailor::Model::DescribeProgramResult::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: DescribeProgramResult.h:252
Aws::MediaTailor::Model::DescribeProgramResult::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: DescribeProgramResult.h:283
Aws::MediaTailor::Model::DescribeProgramResult::WithProgramName
DescribeProgramResult & WithProgramName(Aws::String &&value)
Definition: DescribeProgramResult.h:200
Aws::MediaTailor::Model::DescribeProgramResult::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: DescribeProgramResult.h:298
Aws::MediaTailor::Model::DescribeProgramResult::GetChannelName
const Aws::String & GetChannelName() const
Definition: DescribeProgramResult.h:113
Aws::MediaTailor::Model::DescribeProgramResult::SetAdBreaks
void SetAdBreaks(Aws::Vector< AdBreak > &&value)
Definition: DescribeProgramResult.h:51
Aws::MediaTailor::Model::DescribeProgramResult::WithChannelName
DescribeProgramResult & WithChannelName(Aws::String &&value)
Definition: DescribeProgramResult.h:138
Aws::MediaTailor::Model::DescribeProgramResult::WithProgramName
DescribeProgramResult & WithProgramName(const Aws::String &value)
Definition: DescribeProgramResult.h:195
Aws::MediaTailor::Model::DescribeProgramResult::SetScheduledStartTime
void SetScheduledStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeProgramResult.h:220
Aws::MediaTailor::Model::DescribeProgramResult::SetProgramName
void SetProgramName(const Aws::String &value)
Definition: DescribeProgramResult.h:180
Aws::MediaTailor::Model::DescribeProgramResult::SetProgramName
void SetProgramName(const char *value)
Definition: DescribeProgramResult.h:190
Aws::MediaTailor::Model::DescribeProgramResult::WithScheduledStartTime
DescribeProgramResult & WithScheduledStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeProgramResult.h:241
Aws::MediaTailor::Model::DescribeProgramResult::WithScheduledStartTime
DescribeProgramResult & WithScheduledStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeProgramResult.h:234
Aws::MediaTailor::Model::DescribeProgramResult::SetProgramName
void SetProgramName(Aws::String &&value)
Definition: DescribeProgramResult.h:185
Aws::MediaTailor::Model::DescribeProgramResult::SetScheduledStartTime
void SetScheduledStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeProgramResult.h:227
Aws::MediaTailor::Model::DescribeProgramResult::WithSourceLocationName
DescribeProgramResult & WithSourceLocationName(const char *value)
Definition: DescribeProgramResult.h:277
Aws::MediaTailor::Model::DescribeProgramResult::AddAdBreaks
DescribeProgramResult & AddAdBreaks(AdBreak &&value)
Definition: DescribeProgramResult.h:71
Aws::MediaTailor::Model::DescribeProgramResult::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: DescribeProgramResult.h:123
AWSString.h
Aws::MediaTailor::Model::DescribeProgramResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeProgramResult.h:77
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DescribeProgramResult::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: DescribeProgramResult.h:262
Aws::MediaTailor::Model::DescribeProgramResult::WithProgramName
DescribeProgramResult & WithProgramName(const char *value)
Definition: DescribeProgramResult.h:205
Aws::MediaTailor::Model::DescribeProgramResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeProgramResult.h:82
AdBreak.h
Aws::MediaTailor::Model::DescribeProgramResult::GetProgramName
const Aws::String & GetProgramName() const
Definition: DescribeProgramResult.h:175
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DescribeProgramResult
Definition: DescribeProgramResult.h:31
Aws::MediaTailor::Model::DescribeProgramResult::AddAdBreaks
DescribeProgramResult & AddAdBreaks(const AdBreak &value)
Definition: DescribeProgramResult.h:66
Aws::MediaTailor::Model::DescribeProgramResult::WithChannelName
DescribeProgramResult & WithChannelName(const char *value)
Definition: DescribeProgramResult.h:143
Aws::MediaTailor::Model::DescribeProgramResult::operator=
DescribeProgramResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeProgramResult::GetAdBreaks
const Aws::Vector< AdBreak > & GetAdBreaks() const
Definition: DescribeProgramResult.h:41
Aws::MediaTailor::Model::DescribeProgramResult::WithVodSourceName
DescribeProgramResult & WithVodSourceName(const char *value)
Definition: DescribeProgramResult.h:313
Aws::MediaTailor::Model::DescribeProgramResult::WithSourceLocationName
DescribeProgramResult & WithSourceLocationName(Aws::String &&value)
Definition: DescribeProgramResult.h:272
Aws::MediaTailor::Model::DescribeProgramResult::DescribeProgramResult
DescribeProgramResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DescribeProgramResult::WithSourceLocationName
DescribeProgramResult & WithSourceLocationName(const Aws::String &value)
Definition: DescribeProgramResult.h:267
Aws::MediaTailor::Model::DescribeProgramResult::DescribeProgramResult
DescribeProgramResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeProgramResult::WithVodSourceName
DescribeProgramResult & WithVodSourceName(const Aws::String &value)
Definition: DescribeProgramResult.h:303
Aws::MediaTailor::Model::DescribeProgramResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeProgramResult.h:149
Aws::MediaTailor::Model::DescribeProgramResult::WithVodSourceName
DescribeProgramResult & WithVodSourceName(Aws::String &&value)
Definition: DescribeProgramResult.h:308
Aws::MediaTailor::Model::DescribeProgramResult::WithCreationTime
DescribeProgramResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeProgramResult.h:164
Aws::MediaTailor::Model::DescribeProgramResult::WithChannelName
DescribeProgramResult & WithChannelName(const Aws::String &value)
Definition: DescribeProgramResult.h:133
Aws::MediaTailor::Model::DescribeProgramResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeProgramResult.h:159
Aws::MediaTailor::Model::DescribeProgramResult::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: DescribeProgramResult.h:247