AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/mediatailor/model/ChannelState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mediatailor/model/SlateSource.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/mediatailor/model/LogConfigurationForChannel.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() = default;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 DescribeChannelResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetChannelName() const { return m_channelName; }
59 template<typename ChannelNameT = Aws::String>
60 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
61 template<typename ChannelNameT = Aws::String>
62 DescribeChannelResult& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
64
66
69 inline ChannelState GetChannelState() const { return m_channelState; }
70 inline void SetChannelState(ChannelState value) { m_channelStateHasBeenSet = true; m_channelState = value; }
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
81 template<typename CreationTimeT = Aws::Utils::DateTime>
82 DescribeChannelResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
84
86
90 inline const SlateSource& GetFillerSlate() const { return m_fillerSlate; }
91 template<typename FillerSlateT = SlateSource>
92 void SetFillerSlate(FillerSlateT&& value) { m_fillerSlateHasBeenSet = true; m_fillerSlate = std::forward<FillerSlateT>(value); }
93 template<typename FillerSlateT = SlateSource>
94 DescribeChannelResult& WithFillerSlate(FillerSlateT&& value) { SetFillerSlate(std::forward<FillerSlateT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
102 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
103 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
104 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
105 DescribeChannelResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
107
109
112 inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const { return m_outputs; }
113 template<typename OutputsT = Aws::Vector<ResponseOutputItem>>
114 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
115 template<typename OutputsT = Aws::Vector<ResponseOutputItem>>
116 DescribeChannelResult& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
117 template<typename OutputsT = ResponseOutputItem>
118 DescribeChannelResult& AddOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs.emplace_back(std::forward<OutputsT>(value)); return *this; }
120
122
125 inline const Aws::String& GetPlaybackMode() const { return m_playbackMode; }
126 template<typename PlaybackModeT = Aws::String>
127 void SetPlaybackMode(PlaybackModeT&& value) { m_playbackModeHasBeenSet = true; m_playbackMode = std::forward<PlaybackModeT>(value); }
128 template<typename PlaybackModeT = Aws::String>
129 DescribeChannelResult& WithPlaybackMode(PlaybackModeT&& value) { SetPlaybackMode(std::forward<PlaybackModeT>(value)); return *this;}
131
133
140 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
141 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
143 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 DescribeChannelResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
145 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
146 DescribeChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
147 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
148 }
150
152
155 inline const Aws::String& GetTier() const { return m_tier; }
156 template<typename TierT = Aws::String>
157 void SetTier(TierT&& value) { m_tierHasBeenSet = true; m_tier = std::forward<TierT>(value); }
158 template<typename TierT = Aws::String>
159 DescribeChannelResult& WithTier(TierT&& value) { SetTier(std::forward<TierT>(value)); return *this;}
161
163
166 inline const LogConfigurationForChannel& GetLogConfiguration() const { return m_logConfiguration; }
167 template<typename LogConfigurationT = LogConfigurationForChannel>
168 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
169 template<typename LogConfigurationT = LogConfigurationForChannel>
170 DescribeChannelResult& WithLogConfiguration(LogConfigurationT&& value) { SetLogConfiguration(std::forward<LogConfigurationT>(value)); return *this;}
172
174
177 inline const TimeShiftConfiguration& GetTimeShiftConfiguration() const { return m_timeShiftConfiguration; }
178 template<typename TimeShiftConfigurationT = TimeShiftConfiguration>
179 void SetTimeShiftConfiguration(TimeShiftConfigurationT&& value) { m_timeShiftConfigurationHasBeenSet = true; m_timeShiftConfiguration = std::forward<TimeShiftConfigurationT>(value); }
180 template<typename TimeShiftConfigurationT = TimeShiftConfiguration>
181 DescribeChannelResult& WithTimeShiftConfiguration(TimeShiftConfigurationT&& value) { SetTimeShiftConfiguration(std::forward<TimeShiftConfigurationT>(value)); return *this;}
183
185
188 inline const Aws::Vector<Aws::String>& GetAudiences() const { return m_audiences; }
189 template<typename AudiencesT = Aws::Vector<Aws::String>>
190 void SetAudiences(AudiencesT&& value) { m_audiencesHasBeenSet = true; m_audiences = std::forward<AudiencesT>(value); }
191 template<typename AudiencesT = Aws::Vector<Aws::String>>
192 DescribeChannelResult& WithAudiences(AudiencesT&& value) { SetAudiences(std::forward<AudiencesT>(value)); return *this;}
193 template<typename AudiencesT = Aws::String>
194 DescribeChannelResult& AddAudiences(AudiencesT&& value) { m_audiencesHasBeenSet = true; m_audiences.emplace_back(std::forward<AudiencesT>(value)); return *this; }
196
198
199 inline const Aws::String& GetRequestId() const { return m_requestId; }
200 template<typename RequestIdT = Aws::String>
201 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
202 template<typename RequestIdT = Aws::String>
203 DescribeChannelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
205 private:
206
207 Aws::String m_arn;
208 bool m_arnHasBeenSet = false;
209
210 Aws::String m_channelName;
211 bool m_channelNameHasBeenSet = false;
212
213 ChannelState m_channelState{ChannelState::NOT_SET};
214 bool m_channelStateHasBeenSet = false;
215
216 Aws::Utils::DateTime m_creationTime{};
217 bool m_creationTimeHasBeenSet = false;
218
219 SlateSource m_fillerSlate;
220 bool m_fillerSlateHasBeenSet = false;
221
222 Aws::Utils::DateTime m_lastModifiedTime{};
223 bool m_lastModifiedTimeHasBeenSet = false;
224
226 bool m_outputsHasBeenSet = false;
227
228 Aws::String m_playbackMode;
229 bool m_playbackModeHasBeenSet = false;
230
232 bool m_tagsHasBeenSet = false;
233
234 Aws::String m_tier;
235 bool m_tierHasBeenSet = false;
236
237 LogConfigurationForChannel m_logConfiguration;
238 bool m_logConfigurationHasBeenSet = false;
239
240 TimeShiftConfiguration m_timeShiftConfiguration;
241 bool m_timeShiftConfigurationHasBeenSet = false;
242
243 Aws::Vector<Aws::String> m_audiences;
244 bool m_audiencesHasBeenSet = false;
245
246 Aws::String m_requestId;
247 bool m_requestIdHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace MediaTailor
252} // namespace Aws
AWS_MEDIATAILOR_API DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChannelResult & WithTags(TagsT &&value)
void SetTimeShiftConfiguration(TimeShiftConfigurationT &&value)
DescribeChannelResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeChannelResult & WithTimeShiftConfiguration(TimeShiftConfigurationT &&value)
DescribeChannelResult & WithAudiences(AudiencesT &&value)
DescribeChannelResult & WithCreationTime(CreationTimeT &&value)
DescribeChannelResult & WithLogConfiguration(LogConfigurationT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeChannelResult & WithOutputs(OutputsT &&value)
DescribeChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeChannelResult & WithFillerSlate(FillerSlateT &&value)
DescribeChannelResult & AddAudiences(AudiencesT &&value)
DescribeChannelResult & WithRequestId(RequestIdT &&value)
AWS_MEDIATAILOR_API DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LogConfigurationForChannel & GetLogConfiguration() const
DescribeChannelResult & WithChannelName(ChannelNameT &&value)
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
DescribeChannelResult & WithPlaybackMode(PlaybackModeT &&value)
DescribeChannelResult & WithTier(TierT &&value)
DescribeChannelResult & WithArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetAudiences() const
DescribeChannelResult & WithChannelState(ChannelState value)
DescribeChannelResult & AddOutputs(OutputsT &&value)
const TimeShiftConfiguration & GetTimeShiftConfiguration() const
AWS_MEDIATAILOR_API DescribeChannelResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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