AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProgramResult.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediatailor/model/ClipRange.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/mediatailor/model/AdBreak.h>
13#include <aws/mediatailor/model/AudienceMedia.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MediaTailor
29{
30namespace Model
31{
33 {
34 public:
35 AWS_MEDIATAILOR_API UpdateProgramResult();
38
39
41
44 inline const Aws::Vector<AdBreak>& GetAdBreaks() const{ return m_adBreaks; }
45 inline void SetAdBreaks(const Aws::Vector<AdBreak>& value) { m_adBreaks = value; }
46 inline void SetAdBreaks(Aws::Vector<AdBreak>&& value) { m_adBreaks = std::move(value); }
47 inline UpdateProgramResult& WithAdBreaks(const Aws::Vector<AdBreak>& value) { SetAdBreaks(value); return *this;}
48 inline UpdateProgramResult& WithAdBreaks(Aws::Vector<AdBreak>&& value) { SetAdBreaks(std::move(value)); return *this;}
49 inline UpdateProgramResult& AddAdBreaks(const AdBreak& value) { m_adBreaks.push_back(value); return *this; }
50 inline UpdateProgramResult& AddAdBreaks(AdBreak&& value) { m_adBreaks.push_back(std::move(value)); return *this; }
52
54
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline void SetArn(const Aws::String& value) { m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arn.assign(value); }
61 inline UpdateProgramResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline UpdateProgramResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline UpdateProgramResult& WithArn(const char* value) { SetArn(value); return *this;}
65
67
70 inline const Aws::Vector<AudienceMedia>& GetAudienceMedia() const{ return m_audienceMedia; }
71 inline void SetAudienceMedia(const Aws::Vector<AudienceMedia>& value) { m_audienceMedia = value; }
72 inline void SetAudienceMedia(Aws::Vector<AudienceMedia>&& value) { m_audienceMedia = std::move(value); }
74 inline UpdateProgramResult& WithAudienceMedia(Aws::Vector<AudienceMedia>&& value) { SetAudienceMedia(std::move(value)); return *this;}
75 inline UpdateProgramResult& AddAudienceMedia(const AudienceMedia& value) { m_audienceMedia.push_back(value); return *this; }
76 inline UpdateProgramResult& AddAudienceMedia(AudienceMedia&& value) { m_audienceMedia.push_back(std::move(value)); return *this; }
78
80
83 inline const Aws::String& GetChannelName() const{ return m_channelName; }
84 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
85 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
86 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
87 inline UpdateProgramResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
88 inline UpdateProgramResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
89 inline UpdateProgramResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
91
93
96 inline const ClipRange& GetClipRange() const{ return m_clipRange; }
97 inline void SetClipRange(const ClipRange& value) { m_clipRange = value; }
98 inline void SetClipRange(ClipRange&& value) { m_clipRange = std::move(value); }
99 inline UpdateProgramResult& WithClipRange(const ClipRange& value) { SetClipRange(value); return *this;}
100 inline UpdateProgramResult& WithClipRange(ClipRange&& value) { SetClipRange(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
108 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
109 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
110 inline UpdateProgramResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
111 inline UpdateProgramResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
113
115
118 inline long long GetDurationMillis() const{ return m_durationMillis; }
119 inline void SetDurationMillis(long long value) { m_durationMillis = value; }
120 inline UpdateProgramResult& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;}
122
124
127 inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; }
128 inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceName = value; }
129 inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceName = std::move(value); }
130 inline void SetLiveSourceName(const char* value) { m_liveSourceName.assign(value); }
131 inline UpdateProgramResult& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;}
132 inline UpdateProgramResult& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;}
133 inline UpdateProgramResult& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;}
135
137
140 inline const Aws::String& GetProgramName() const{ return m_programName; }
141 inline void SetProgramName(const Aws::String& value) { m_programName = value; }
142 inline void SetProgramName(Aws::String&& value) { m_programName = std::move(value); }
143 inline void SetProgramName(const char* value) { m_programName.assign(value); }
144 inline UpdateProgramResult& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
145 inline UpdateProgramResult& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
146 inline UpdateProgramResult& WithProgramName(const char* value) { SetProgramName(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetScheduledStartTime() const{ return m_scheduledStartTime; }
154 inline void SetScheduledStartTime(const Aws::Utils::DateTime& value) { m_scheduledStartTime = value; }
155 inline void SetScheduledStartTime(Aws::Utils::DateTime&& value) { m_scheduledStartTime = std::move(value); }
159
161
164 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
165 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
166 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
167 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
169 inline UpdateProgramResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
170 inline UpdateProgramResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
172
174
177 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
178 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceName = value; }
179 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceName = std::move(value); }
180 inline void SetVodSourceName(const char* value) { m_vodSourceName.assign(value); }
181 inline UpdateProgramResult& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
182 inline UpdateProgramResult& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
183 inline UpdateProgramResult& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline UpdateProgramResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline UpdateProgramResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline UpdateProgramResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::Vector<AdBreak> m_adBreaks;
199
200 Aws::String m_arn;
201
202 Aws::Vector<AudienceMedia> m_audienceMedia;
203
204 Aws::String m_channelName;
205
206 ClipRange m_clipRange;
207
208 Aws::Utils::DateTime m_creationTime;
209
210 long long m_durationMillis;
211
212 Aws::String m_liveSourceName;
213
214 Aws::String m_programName;
215
216 Aws::Utils::DateTime m_scheduledStartTime;
217
218 Aws::String m_sourceLocationName;
219
220 Aws::String m_vodSourceName;
221
222 Aws::String m_requestId;
223 };
224
225} // namespace Model
226} // namespace MediaTailor
227} // namespace Aws
void SetScheduledStartTime(Aws::Utils::DateTime &&value)
UpdateProgramResult & WithLiveSourceName(Aws::String &&value)
void SetSourceLocationName(const Aws::String &value)
UpdateProgramResult & WithAudienceMedia(const Aws::Vector< AudienceMedia > &value)
UpdateProgramResult & WithProgramName(const char *value)
const Aws::Utils::DateTime & GetScheduledStartTime() const
UpdateProgramResult & WithChannelName(Aws::String &&value)
void SetAdBreaks(Aws::Vector< AdBreak > &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateProgramResult & WithScheduledStartTime(const Aws::Utils::DateTime &value)
void SetChannelName(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdateProgramResult & AddAudienceMedia(const AudienceMedia &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API UpdateProgramResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProgramResult & WithRequestId(Aws::String &&value)
UpdateProgramResult & WithSourceLocationName(const Aws::String &value)
UpdateProgramResult & WithRequestId(const Aws::String &value)
UpdateProgramResult & WithAdBreaks(Aws::Vector< AdBreak > &&value)
UpdateProgramResult & AddAdBreaks(AdBreak &&value)
UpdateProgramResult & WithArn(Aws::String &&value)
UpdateProgramResult & WithLiveSourceName(const Aws::String &value)
UpdateProgramResult & AddAdBreaks(const AdBreak &value)
void SetScheduledStartTime(const Aws::Utils::DateTime &value)
UpdateProgramResult & AddAudienceMedia(AudienceMedia &&value)
UpdateProgramResult & WithVodSourceName(const char *value)
void SetAudienceMedia(Aws::Vector< AudienceMedia > &&value)
UpdateProgramResult & WithLiveSourceName(const char *value)
UpdateProgramResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateProgramResult & WithChannelName(const char *value)
UpdateProgramResult & WithVodSourceName(const Aws::String &value)
UpdateProgramResult & WithArn(const Aws::String &value)
UpdateProgramResult & WithChannelName(const Aws::String &value)
void SetAdBreaks(const Aws::Vector< AdBreak > &value)
void SetLiveSourceName(const Aws::String &value)
UpdateProgramResult & WithArn(const char *value)
UpdateProgramResult & WithDurationMillis(long long value)
UpdateProgramResult & WithSourceLocationName(Aws::String &&value)
UpdateProgramResult & WithAdBreaks(const Aws::Vector< AdBreak > &value)
UpdateProgramResult & WithClipRange(const ClipRange &value)
UpdateProgramResult & WithScheduledStartTime(Aws::Utils::DateTime &&value)
UpdateProgramResult & WithProgramName(const Aws::String &value)
UpdateProgramResult & WithRequestId(const char *value)
UpdateProgramResult & WithAudienceMedia(Aws::Vector< AudienceMedia > &&value)
const Aws::Vector< AudienceMedia > & GetAudienceMedia() const
void SetAudienceMedia(const Aws::Vector< AudienceMedia > &value)
AWS_MEDIATAILOR_API UpdateProgramResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProgramResult & WithSourceLocationName(const char *value)
UpdateProgramResult & WithVodSourceName(Aws::String &&value)
void SetVodSourceName(const Aws::String &value)
UpdateProgramResult & WithClipRange(ClipRange &&value)
const Aws::Vector< AdBreak > & GetAdBreaks() const
UpdateProgramResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateProgramResult & WithProgramName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue