AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelResult.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 CreateChannelResult();
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 CreateChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline CreateChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline CreateChannelResult& 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 CreateChannelResult& WithAudiences(const Aws::Vector<Aws::String>& value) { SetAudiences(value); return *this;}
63 inline CreateChannelResult& WithAudiences(Aws::Vector<Aws::String>&& value) { SetAudiences(std::move(value)); return *this;}
64 inline CreateChannelResult& AddAudiences(const Aws::String& value) { m_audiences.push_back(value); return *this; }
65 inline CreateChannelResult& AddAudiences(Aws::String&& value) { m_audiences.push_back(std::move(value)); return *this; }
66 inline CreateChannelResult& 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 CreateChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
78 inline CreateChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
79 inline CreateChannelResult& 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 CreateChannelResult& WithChannelState(const ChannelState& value) { SetChannelState(value); return *this;}
90 inline CreateChannelResult& 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 CreateChannelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
101 inline CreateChannelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
103
105
109 inline const SlateSource& GetFillerSlate() const{ return m_fillerSlate; }
110 inline void SetFillerSlate(const SlateSource& value) { m_fillerSlate = value; }
111 inline void SetFillerSlate(SlateSource&& value) { m_fillerSlate = std::move(value); }
112 inline CreateChannelResult& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
113 inline CreateChannelResult& WithFillerSlate(SlateSource&& value) { SetFillerSlate(std::move(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
121 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
122 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
124 inline CreateChannelResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
126
128
131 inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const{ return m_outputs; }
132 inline void SetOutputs(const Aws::Vector<ResponseOutputItem>& value) { m_outputs = value; }
133 inline void SetOutputs(Aws::Vector<ResponseOutputItem>&& value) { m_outputs = std::move(value); }
134 inline CreateChannelResult& WithOutputs(const Aws::Vector<ResponseOutputItem>& value) { SetOutputs(value); return *this;}
135 inline CreateChannelResult& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
136 inline CreateChannelResult& AddOutputs(const ResponseOutputItem& value) { m_outputs.push_back(value); return *this; }
137 inline CreateChannelResult& AddOutputs(ResponseOutputItem&& value) { m_outputs.push_back(std::move(value)); return *this; }
139
141
144 inline const Aws::String& GetPlaybackMode() const{ return m_playbackMode; }
145 inline void SetPlaybackMode(const Aws::String& value) { m_playbackMode = value; }
146 inline void SetPlaybackMode(Aws::String&& value) { m_playbackMode = std::move(value); }
147 inline void SetPlaybackMode(const char* value) { m_playbackMode.assign(value); }
148 inline CreateChannelResult& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
149 inline CreateChannelResult& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
150 inline CreateChannelResult& WithPlaybackMode(const char* value) { SetPlaybackMode(value); return *this;}
152
154
161 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
162 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
163 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
164 inline CreateChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
165 inline CreateChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
166 inline CreateChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
167 inline CreateChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
168 inline CreateChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
169 inline CreateChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
170 inline CreateChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
171 inline CreateChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
172 inline CreateChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
174
176
179 inline const Aws::String& GetTier() const{ return m_tier; }
180 inline void SetTier(const Aws::String& value) { m_tier = value; }
181 inline void SetTier(Aws::String&& value) { m_tier = std::move(value); }
182 inline void SetTier(const char* value) { m_tier.assign(value); }
183 inline CreateChannelResult& WithTier(const Aws::String& value) { SetTier(value); return *this;}
184 inline CreateChannelResult& WithTier(Aws::String&& value) { SetTier(std::move(value)); return *this;}
185 inline CreateChannelResult& WithTier(const char* value) { SetTier(value); return *this;}
187
189
192 inline const TimeShiftConfiguration& GetTimeShiftConfiguration() const{ return m_timeShiftConfiguration; }
193 inline void SetTimeShiftConfiguration(const TimeShiftConfiguration& value) { m_timeShiftConfiguration = value; }
194 inline void SetTimeShiftConfiguration(TimeShiftConfiguration&& value) { m_timeShiftConfiguration = std::move(value); }
198
200
201 inline const Aws::String& GetRequestId() const{ return m_requestId; }
202 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
203 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
204 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
205 inline CreateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
206 inline CreateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
207 inline CreateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
209 private:
210
211 Aws::String m_arn;
212
213 Aws::Vector<Aws::String> m_audiences;
214
215 Aws::String m_channelName;
216
217 ChannelState m_channelState;
218
219 Aws::Utils::DateTime m_creationTime;
220
221 SlateSource m_fillerSlate;
222
223 Aws::Utils::DateTime m_lastModifiedTime;
224
226
227 Aws::String m_playbackMode;
228
230
231 Aws::String m_tier;
232
233 TimeShiftConfiguration m_timeShiftConfiguration;
234
235 Aws::String m_requestId;
236 };
237
238} // namespace Model
239} // namespace MediaTailor
240} // namespace Aws
void SetAudiences(Aws::Vector< Aws::String > &&value)
CreateChannelResult & WithAudiences(const Aws::Vector< Aws::String > &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CreateChannelResult & WithTier(const Aws::String &value)
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
CreateChannelResult & WithRequestId(const char *value)
CreateChannelResult & WithTimeShiftConfiguration(TimeShiftConfiguration &&value)
CreateChannelResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
CreateChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelResult & AddAudiences(const char *value)
CreateChannelResult & WithChannelName(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTimeShiftConfiguration(const TimeShiftConfiguration &value)
CreateChannelResult & WithFillerSlate(const SlateSource &value)
CreateChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelResult & AddAudiences(Aws::String &&value)
CreateChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateChannelResult & WithPlaybackMode(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
AWS_MEDIATAILOR_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & AddTags(const char *key, const char *value)
CreateChannelResult & WithChannelName(Aws::String &&value)
CreateChannelResult & AddTags(const char *key, Aws::String &&value)
CreateChannelResult & WithTier(const char *value)
CreateChannelResult & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
CreateChannelResult & AddAudiences(const Aws::String &value)
void SetChannelName(const Aws::String &value)
CreateChannelResult & WithChannelState(ChannelState &&value)
CreateChannelResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const TimeShiftConfiguration & GetTimeShiftConfiguration() const
void SetTimeShiftConfiguration(TimeShiftConfiguration &&value)
CreateChannelResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateChannelResult & WithChannelName(const Aws::String &value)
CreateChannelResult & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetAudiences() const
CreateChannelResult & WithArn(const char *value)
CreateChannelResult & WithAudiences(Aws::Vector< Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelResult & AddOutputs(const ResponseOutputItem &value)
CreateChannelResult & WithFillerSlate(SlateSource &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
CreateChannelResult & WithTier(Aws::String &&value)
CreateChannelResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & AddTags(Aws::String &&key, const char *value)
CreateChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetChannelState(const ChannelState &value)
CreateChannelResult & WithArn(Aws::String &&value)
void SetAudiences(const Aws::Vector< Aws::String > &value)
CreateChannelResult & WithRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelResult & AddOutputs(ResponseOutputItem &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
CreateChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
CreateChannelResult & WithRequestId(Aws::String &&value)
CreateChannelResult & WithArn(const Aws::String &value)
CreateChannelResult & WithChannelState(const ChannelState &value)
CreateChannelResult & WithPlaybackMode(Aws::String &&value)
CreateChannelResult & WithTimeShiftConfiguration(const TimeShiftConfiguration &value)
CreateChannelResult & WithPlaybackMode(const char *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