AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeChannelResult.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/mediatailor/model/LogConfigurationForChannel.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mediatailor/model/TimeShiftConfiguration.h>
16#include <aws/mediatailor/model/ResponseOutputItem.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace MediaTailor
32{
33namespace Model
34{
36 {
37 public:
38 AWS_MEDIATAILOR_API DescribeChannelResult();
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline void SetArn(const Aws::String& value) { m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arn.assign(value); }
51 inline DescribeChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline DescribeChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline DescribeChannelResult& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetAudiences() const{ return m_audiences; }
61 inline void SetAudiences(const Aws::Vector<Aws::String>& value) { m_audiences = value; }
62 inline void SetAudiences(Aws::Vector<Aws::String>&& value) { m_audiences = std::move(value); }
63 inline DescribeChannelResult& WithAudiences(const Aws::Vector<Aws::String>& value) { SetAudiences(value); return *this;}
64 inline DescribeChannelResult& WithAudiences(Aws::Vector<Aws::String>&& value) { SetAudiences(std::move(value)); return *this;}
65 inline DescribeChannelResult& AddAudiences(const Aws::String& value) { m_audiences.push_back(value); return *this; }
66 inline DescribeChannelResult& AddAudiences(Aws::String&& value) { m_audiences.push_back(std::move(value)); return *this; }
67 inline DescribeChannelResult& AddAudiences(const char* value) { m_audiences.push_back(value); return *this; }
69
71
74 inline const Aws::String& GetChannelName() const{ return m_channelName; }
75 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
76 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
77 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
78 inline DescribeChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
79 inline DescribeChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
80 inline DescribeChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
82
84
87 inline const ChannelState& GetChannelState() const{ return m_channelState; }
88 inline void SetChannelState(const ChannelState& value) { m_channelState = value; }
89 inline void SetChannelState(ChannelState&& value) { m_channelState = std::move(value); }
90 inline DescribeChannelResult& WithChannelState(const ChannelState& value) { SetChannelState(value); return *this;}
91 inline DescribeChannelResult& WithChannelState(ChannelState&& value) { SetChannelState(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
99 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
100 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
101 inline DescribeChannelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
102 inline DescribeChannelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
104
106
110 inline const SlateSource& GetFillerSlate() const{ return m_fillerSlate; }
111 inline void SetFillerSlate(const SlateSource& value) { m_fillerSlate = value; }
112 inline void SetFillerSlate(SlateSource&& value) { m_fillerSlate = std::move(value); }
113 inline DescribeChannelResult& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
114 inline DescribeChannelResult& WithFillerSlate(SlateSource&& value) { SetFillerSlate(std::move(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
122 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
123 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
125 inline DescribeChannelResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
127
129
132 inline const LogConfigurationForChannel& GetLogConfiguration() const{ return m_logConfiguration; }
133 inline void SetLogConfiguration(const LogConfigurationForChannel& value) { m_logConfiguration = value; }
134 inline void SetLogConfiguration(LogConfigurationForChannel&& value) { m_logConfiguration = std::move(value); }
138
140
143 inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const{ return m_outputs; }
144 inline void SetOutputs(const Aws::Vector<ResponseOutputItem>& value) { m_outputs = value; }
145 inline void SetOutputs(Aws::Vector<ResponseOutputItem>&& value) { m_outputs = std::move(value); }
147 inline DescribeChannelResult& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
148 inline DescribeChannelResult& AddOutputs(const ResponseOutputItem& value) { m_outputs.push_back(value); return *this; }
149 inline DescribeChannelResult& AddOutputs(ResponseOutputItem&& value) { m_outputs.push_back(std::move(value)); return *this; }
151
153
156 inline const Aws::String& GetPlaybackMode() const{ return m_playbackMode; }
157 inline void SetPlaybackMode(const Aws::String& value) { m_playbackMode = value; }
158 inline void SetPlaybackMode(Aws::String&& value) { m_playbackMode = std::move(value); }
159 inline void SetPlaybackMode(const char* value) { m_playbackMode.assign(value); }
160 inline DescribeChannelResult& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
161 inline DescribeChannelResult& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
162 inline DescribeChannelResult& WithPlaybackMode(const char* value) { SetPlaybackMode(value); return *this;}
164
166
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
174 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
175 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
176 inline DescribeChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
177 inline DescribeChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
178 inline DescribeChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
179 inline DescribeChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
180 inline DescribeChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
181 inline DescribeChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
182 inline DescribeChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
183 inline DescribeChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
184 inline DescribeChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
186
188
191 inline const Aws::String& GetTier() const{ return m_tier; }
192 inline void SetTier(const Aws::String& value) { m_tier = value; }
193 inline void SetTier(Aws::String&& value) { m_tier = std::move(value); }
194 inline void SetTier(const char* value) { m_tier.assign(value); }
195 inline DescribeChannelResult& WithTier(const Aws::String& value) { SetTier(value); return *this;}
196 inline DescribeChannelResult& WithTier(Aws::String&& value) { SetTier(std::move(value)); return *this;}
197 inline DescribeChannelResult& WithTier(const char* value) { SetTier(value); return *this;}
199
201
204 inline const TimeShiftConfiguration& GetTimeShiftConfiguration() const{ return m_timeShiftConfiguration; }
205 inline void SetTimeShiftConfiguration(const TimeShiftConfiguration& value) { m_timeShiftConfiguration = value; }
206 inline void SetTimeShiftConfiguration(TimeShiftConfiguration&& value) { m_timeShiftConfiguration = std::move(value); }
210
212
213 inline const Aws::String& GetRequestId() const{ return m_requestId; }
214 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
215 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
216 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
217 inline DescribeChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
218 inline DescribeChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
219 inline DescribeChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
221 private:
222
223 Aws::String m_arn;
224
225 Aws::Vector<Aws::String> m_audiences;
226
227 Aws::String m_channelName;
228
229 ChannelState m_channelState;
230
231 Aws::Utils::DateTime m_creationTime;
232
233 SlateSource m_fillerSlate;
234
235 Aws::Utils::DateTime m_lastModifiedTime;
236
237 LogConfigurationForChannel m_logConfiguration;
238
240
241 Aws::String m_playbackMode;
242
244
245 Aws::String m_tier;
246
247 TimeShiftConfiguration m_timeShiftConfiguration;
248
249 Aws::String m_requestId;
250 };
251
252} // namespace Model
253} // namespace MediaTailor
254} // namespace Aws
DescribeChannelResult & AddTags(const char *key, Aws::String &&value)
AWS_MEDIATAILOR_API DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChannelResult & WithPlaybackMode(const Aws::String &value)
DescribeChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeChannelResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeChannelResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeChannelResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeChannelResult & WithTimeShiftConfiguration(const TimeShiftConfiguration &value)
void SetLogConfiguration(const LogConfigurationForChannel &value)
DescribeChannelResult & AddTags(const char *key, const char *value)
DescribeChannelResult & AddAudiences(const Aws::String &value)
DescribeChannelResult & WithFillerSlate(const SlateSource &value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeChannelResult & WithArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeChannelResult & AddOutputs(ResponseOutputItem &&value)
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
DescribeChannelResult & AddAudiences(const char *value)
DescribeChannelResult & WithChannelName(Aws::String &&value)
DescribeChannelResult & WithPlaybackMode(Aws::String &&value)
void SetAudiences(Aws::Vector< Aws::String > &&value)
DescribeChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeChannelResult & WithLogConfiguration(LogConfigurationForChannel &&value)
DescribeChannelResult & WithTimeShiftConfiguration(TimeShiftConfiguration &&value)
DescribeChannelResult & WithArn(Aws::String &&value)
DescribeChannelResult & WithAudiences(const Aws::Vector< Aws::String > &value)
DescribeChannelResult & WithTier(Aws::String &&value)
DescribeChannelResult & WithChannelName(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeChannelResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeChannelResult & AddAudiences(Aws::String &&value)
DescribeChannelResult & WithChannelState(const ChannelState &value)
DescribeChannelResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetTimeShiftConfiguration(const TimeShiftConfiguration &value)
DescribeChannelResult & WithAudiences(Aws::Vector< Aws::String > &&value)
AWS_MEDIATAILOR_API DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LogConfigurationForChannel & GetLogConfiguration() const
DescribeChannelResult & WithRequestId(Aws::String &&value)
DescribeChannelResult & AddOutputs(const ResponseOutputItem &value)
DescribeChannelResult & WithRequestId(const Aws::String &value)
DescribeChannelResult & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
DescribeChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeChannelResult & WithTier(const char *value)
DescribeChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeChannelResult & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
DescribeChannelResult & WithChannelName(const char *value)
void SetAudiences(const Aws::Vector< Aws::String > &value)
void SetTimeShiftConfiguration(TimeShiftConfiguration &&value)
const Aws::Vector< Aws::String > & GetAudiences() const
DescribeChannelResult & WithArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeChannelResult & WithChannelState(ChannelState &&value)
const TimeShiftConfiguration & GetTimeShiftConfiguration() const
DescribeChannelResult & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
DescribeChannelResult & WithTier(const Aws::String &value)
DescribeChannelResult & WithPlaybackMode(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
DescribeChannelResult & WithLogConfiguration(const LogConfigurationForChannel &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeChannelResult & WithFillerSlate(SlateSource &&value)
void SetLogConfiguration(LogConfigurationForChannel &&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