AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChannelResult.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediatailor/model/ChannelState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/mediatailor/model/SlateSource.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/mediatailor/model/TimeShiftConfiguration.h>
15#include <aws/mediatailor/model/ResponseOutputItem.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace MediaTailor
31{
32namespace Model
33{
35 {
36 public:
37 AWS_MEDIATAILOR_API UpdateChannelResult();
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline UpdateChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline UpdateChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline UpdateChannelResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetAudiences() const{ return m_audiences; }
60 inline void SetAudiences(const Aws::Vector<Aws::String>& value) { m_audiences = value; }
61 inline void SetAudiences(Aws::Vector<Aws::String>&& value) { m_audiences = std::move(value); }
62 inline UpdateChannelResult& WithAudiences(const Aws::Vector<Aws::String>& value) { SetAudiences(value); return *this;}
63 inline UpdateChannelResult& WithAudiences(Aws::Vector<Aws::String>&& value) { SetAudiences(std::move(value)); return *this;}
64 inline UpdateChannelResult& AddAudiences(const Aws::String& value) { m_audiences.push_back(value); return *this; }
65 inline UpdateChannelResult& AddAudiences(Aws::String&& value) { m_audiences.push_back(std::move(value)); return *this; }
66 inline UpdateChannelResult& AddAudiences(const char* value) { m_audiences.push_back(value); return *this; }
68
70
73 inline const Aws::String& GetChannelName() const{ return m_channelName; }
74 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
75 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
76 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
77 inline UpdateChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
78 inline UpdateChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
79 inline UpdateChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
81
83
86 inline const ChannelState& GetChannelState() const{ return m_channelState; }
87 inline void SetChannelState(const ChannelState& value) { m_channelState = value; }
88 inline void SetChannelState(ChannelState&& value) { m_channelState = std::move(value); }
89 inline UpdateChannelResult& WithChannelState(const ChannelState& value) { SetChannelState(value); return *this;}
90 inline UpdateChannelResult& WithChannelState(ChannelState&& value) { SetChannelState(std::move(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
98 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
99 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
100 inline UpdateChannelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
101 inline UpdateChannelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
103
105
111 inline const SlateSource& GetFillerSlate() const{ return m_fillerSlate; }
112 inline void SetFillerSlate(const SlateSource& value) { m_fillerSlate = value; }
113 inline void SetFillerSlate(SlateSource&& value) { m_fillerSlate = std::move(value); }
114 inline UpdateChannelResult& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
115 inline UpdateChannelResult& WithFillerSlate(SlateSource&& value) { SetFillerSlate(std::move(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
123 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
124 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
126 inline UpdateChannelResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
128
130
133 inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const{ return m_outputs; }
134 inline void SetOutputs(const Aws::Vector<ResponseOutputItem>& value) { m_outputs = value; }
135 inline void SetOutputs(Aws::Vector<ResponseOutputItem>&& value) { m_outputs = std::move(value); }
136 inline UpdateChannelResult& WithOutputs(const Aws::Vector<ResponseOutputItem>& value) { SetOutputs(value); return *this;}
137 inline UpdateChannelResult& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
138 inline UpdateChannelResult& AddOutputs(const ResponseOutputItem& value) { m_outputs.push_back(value); return *this; }
139 inline UpdateChannelResult& AddOutputs(ResponseOutputItem&& value) { m_outputs.push_back(std::move(value)); return *this; }
141
143
149 inline const Aws::String& GetPlaybackMode() const{ return m_playbackMode; }
150 inline void SetPlaybackMode(const Aws::String& value) { m_playbackMode = value; }
151 inline void SetPlaybackMode(Aws::String&& value) { m_playbackMode = std::move(value); }
152 inline void SetPlaybackMode(const char* value) { m_playbackMode.assign(value); }
153 inline UpdateChannelResult& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
154 inline UpdateChannelResult& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
155 inline UpdateChannelResult& WithPlaybackMode(const char* value) { SetPlaybackMode(value); return *this;}
157
159
166 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
167 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
168 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
169 inline UpdateChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
170 inline UpdateChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
171 inline UpdateChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
172 inline UpdateChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
173 inline UpdateChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
174 inline UpdateChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
175 inline UpdateChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
176 inline UpdateChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
177 inline UpdateChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
179
181
184 inline const Aws::String& GetTier() const{ return m_tier; }
185 inline void SetTier(const Aws::String& value) { m_tier = value; }
186 inline void SetTier(Aws::String&& value) { m_tier = std::move(value); }
187 inline void SetTier(const char* value) { m_tier.assign(value); }
188 inline UpdateChannelResult& WithTier(const Aws::String& value) { SetTier(value); return *this;}
189 inline UpdateChannelResult& WithTier(Aws::String&& value) { SetTier(std::move(value)); return *this;}
190 inline UpdateChannelResult& WithTier(const char* value) { SetTier(value); return *this;}
192
194
197 inline const TimeShiftConfiguration& GetTimeShiftConfiguration() const{ return m_timeShiftConfiguration; }
198 inline void SetTimeShiftConfiguration(const TimeShiftConfiguration& value) { m_timeShiftConfiguration = value; }
199 inline void SetTimeShiftConfiguration(TimeShiftConfiguration&& value) { m_timeShiftConfiguration = std::move(value); }
203
205
206 inline const Aws::String& GetRequestId() const{ return m_requestId; }
207 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
208 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
209 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
210 inline UpdateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
211 inline UpdateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
212 inline UpdateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
214 private:
215
216 Aws::String m_arn;
217
218 Aws::Vector<Aws::String> m_audiences;
219
220 Aws::String m_channelName;
221
222 ChannelState m_channelState;
223
224 Aws::Utils::DateTime m_creationTime;
225
226 SlateSource m_fillerSlate;
227
228 Aws::Utils::DateTime m_lastModifiedTime;
229
231
232 Aws::String m_playbackMode;
233
235
236 Aws::String m_tier;
237
238 TimeShiftConfiguration m_timeShiftConfiguration;
239
240 Aws::String m_requestId;
241 };
242
243} // namespace Model
244} // namespace MediaTailor
245} // namespace Aws
UpdateChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateChannelResult & WithChannelName(const Aws::String &value)
UpdateChannelResult & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
void SetTimeShiftConfiguration(const TimeShiftConfiguration &value)
UpdateChannelResult & WithRequestId(const Aws::String &value)
UpdateChannelResult & WithArn(const char *value)
void SetChannelState(const ChannelState &value)
UpdateChannelResult & WithTimeShiftConfiguration(const TimeShiftConfiguration &value)
AWS_MEDIATAILOR_API UpdateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateChannelResult & WithFillerSlate(SlateSource &&value)
UpdateChannelResult & AddAudiences(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateChannelResult & WithChannelState(ChannelState &&value)
UpdateChannelResult & WithAudiences(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAudiences() const
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
UpdateChannelResult & WithAudiences(Aws::Vector< Aws::String > &&value)
UpdateChannelResult & WithTier(Aws::String &&value)
AWS_MEDIATAILOR_API UpdateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(const Aws::Utils::DateTime &value)
UpdateChannelResult & WithArn(Aws::String &&value)
UpdateChannelResult & WithPlaybackMode(const Aws::String &value)
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
UpdateChannelResult & AddOutputs(ResponseOutputItem &&value)
UpdateChannelResult & WithTier(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateChannelResult & WithTier(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateChannelResult & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
UpdateChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateChannelResult & WithTimeShiftConfiguration(TimeShiftConfiguration &&value)
UpdateChannelResult & AddAudiences(Aws::String &&value)
UpdateChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateChannelResult & AddAudiences(const char *value)
UpdateChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateChannelResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateChannelResult & WithArn(const Aws::String &value)
UpdateChannelResult & AddTags(const char *key, const char *value)
void SetAudiences(const Aws::Vector< Aws::String > &value)
void SetAudiences(Aws::Vector< Aws::String > &&value)
UpdateChannelResult & AddTags(const char *key, Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdateChannelResult & WithChannelName(const char *value)
UpdateChannelResult & WithPlaybackMode(Aws::String &&value)
UpdateChannelResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateChannelResult & AddTags(Aws::String &&key, const char *value)
UpdateChannelResult & WithPlaybackMode(const char *value)
const TimeShiftConfiguration & GetTimeShiftConfiguration() const
UpdateChannelResult & WithChannelName(Aws::String &&value)
UpdateChannelResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateChannelResult & WithChannelState(const ChannelState &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetChannelName(const Aws::String &value)
UpdateChannelResult & WithFillerSlate(const SlateSource &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateChannelResult & WithRequestId(const char *value)
UpdateChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateChannelResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetTimeShiftConfiguration(TimeShiftConfiguration &&value)
UpdateChannelResult & WithRequestId(Aws::String &&value)
UpdateChannelResult & AddOutputs(const ResponseOutputItem &value)
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue