AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetChannelResult.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediapackagev2/model/InputType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/mediapackagev2/model/InputSwitchConfiguration.h>
14#include <aws/mediapackagev2/model/OutputHeaderConfiguration.h>
15#include <aws/mediapackagev2/model/IngestEndpoint.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 mediapackagev2
31{
32namespace Model
33{
35 {
36 public:
37 AWS_MEDIAPACKAGEV2_API GetChannelResult() = default;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 GetChannelResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
59 inline const Aws::String& GetChannelName() const { return m_channelName; }
60 template<typename ChannelNameT = Aws::String>
61 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
62 template<typename ChannelNameT = Aws::String>
63 GetChannelResult& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
65
67
72 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
73 template<typename ChannelGroupNameT = Aws::String>
74 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
75 template<typename ChannelGroupNameT = Aws::String>
76 GetChannelResult& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
84 template<typename CreatedAtT = Aws::Utils::DateTime>
85 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
86 template<typename CreatedAtT = Aws::Utils::DateTime>
87 GetChannelResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
95 template<typename ModifiedAtT = Aws::Utils::DateTime>
96 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
97 template<typename ModifiedAtT = Aws::Utils::DateTime>
98 GetChannelResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetResetAt() const { return m_resetAt; }
106 template<typename ResetAtT = Aws::Utils::DateTime>
107 void SetResetAt(ResetAtT&& value) { m_resetAtHasBeenSet = true; m_resetAt = std::forward<ResetAtT>(value); }
108 template<typename ResetAtT = Aws::Utils::DateTime>
109 GetChannelResult& WithResetAt(ResetAtT&& value) { SetResetAt(std::forward<ResetAtT>(value)); return *this;}
111
113
116 inline const Aws::String& GetDescription() const { return m_description; }
117 template<typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
119 template<typename DescriptionT = Aws::String>
120 GetChannelResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
122
124
125 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const { return m_ingestEndpoints; }
126 template<typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
127 void SetIngestEndpoints(IngestEndpointsT&& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints = std::forward<IngestEndpointsT>(value); }
128 template<typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
129 GetChannelResult& WithIngestEndpoints(IngestEndpointsT&& value) { SetIngestEndpoints(std::forward<IngestEndpointsT>(value)); return *this;}
130 template<typename IngestEndpointsT = IngestEndpoint>
131 GetChannelResult& AddIngestEndpoints(IngestEndpointsT&& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints.emplace_back(std::forward<IngestEndpointsT>(value)); return *this; }
133
135
144 inline InputType GetInputType() const { return m_inputType; }
145 inline void SetInputType(InputType value) { m_inputTypeHasBeenSet = true; m_inputType = value; }
146 inline GetChannelResult& WithInputType(InputType value) { SetInputType(value); return *this;}
148
150
154 inline const Aws::String& GetETag() const { return m_eTag; }
155 template<typename ETagT = Aws::String>
156 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
157 template<typename ETagT = Aws::String>
158 GetChannelResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
160
162
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
166 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
168 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 GetChannelResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
170 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
171 GetChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
172 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
173 }
175
177
182 inline const InputSwitchConfiguration& GetInputSwitchConfiguration() const { return m_inputSwitchConfiguration; }
183 template<typename InputSwitchConfigurationT = InputSwitchConfiguration>
184 void SetInputSwitchConfiguration(InputSwitchConfigurationT&& value) { m_inputSwitchConfigurationHasBeenSet = true; m_inputSwitchConfiguration = std::forward<InputSwitchConfigurationT>(value); }
185 template<typename InputSwitchConfigurationT = InputSwitchConfiguration>
186 GetChannelResult& WithInputSwitchConfiguration(InputSwitchConfigurationT&& value) { SetInputSwitchConfiguration(std::forward<InputSwitchConfigurationT>(value)); return *this;}
188
190
195 inline const OutputHeaderConfiguration& GetOutputHeaderConfiguration() const { return m_outputHeaderConfiguration; }
196 template<typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
197 void SetOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) { m_outputHeaderConfigurationHasBeenSet = true; m_outputHeaderConfiguration = std::forward<OutputHeaderConfigurationT>(value); }
198 template<typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
199 GetChannelResult& WithOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) { SetOutputHeaderConfiguration(std::forward<OutputHeaderConfigurationT>(value)); return *this;}
201
203
204 inline const Aws::String& GetRequestId() const { return m_requestId; }
205 template<typename RequestIdT = Aws::String>
206 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
207 template<typename RequestIdT = Aws::String>
208 GetChannelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
210 private:
211
212 Aws::String m_arn;
213 bool m_arnHasBeenSet = false;
214
215 Aws::String m_channelName;
216 bool m_channelNameHasBeenSet = false;
217
218 Aws::String m_channelGroupName;
219 bool m_channelGroupNameHasBeenSet = false;
220
221 Aws::Utils::DateTime m_createdAt{};
222 bool m_createdAtHasBeenSet = false;
223
224 Aws::Utils::DateTime m_modifiedAt{};
225 bool m_modifiedAtHasBeenSet = false;
226
227 Aws::Utils::DateTime m_resetAt{};
228 bool m_resetAtHasBeenSet = false;
229
230 Aws::String m_description;
231 bool m_descriptionHasBeenSet = false;
232
233 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
234 bool m_ingestEndpointsHasBeenSet = false;
235
236 InputType m_inputType{InputType::NOT_SET};
237 bool m_inputTypeHasBeenSet = false;
238
239 Aws::String m_eTag;
240 bool m_eTagHasBeenSet = false;
241
243 bool m_tagsHasBeenSet = false;
244
245 InputSwitchConfiguration m_inputSwitchConfiguration;
246 bool m_inputSwitchConfigurationHasBeenSet = false;
247
248 OutputHeaderConfiguration m_outputHeaderConfiguration;
249 bool m_outputHeaderConfigurationHasBeenSet = false;
250
251 Aws::String m_requestId;
252 bool m_requestIdHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace mediapackagev2
257} // namespace Aws
const Aws::Utils::DateTime & GetModifiedAt() const
GetChannelResult & AddIngestEndpoints(IngestEndpointsT &&value)
GetChannelResult & WithResetAt(ResetAtT &&value)
GetChannelResult & WithOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
GetChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetChannelResult & WithInputType(InputType value)
GetChannelResult & WithChannelName(ChannelNameT &&value)
const Aws::String & GetChannelGroupName() const
const OutputHeaderConfiguration & GetOutputHeaderConfiguration() const
GetChannelResult & WithInputSwitchConfiguration(InputSwitchConfigurationT &&value)
GetChannelResult & WithRequestId(RequestIdT &&value)
void SetIngestEndpoints(IngestEndpointsT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelResult()=default
const InputSwitchConfiguration & GetInputSwitchConfiguration() const
void SetChannelGroupName(ChannelGroupNameT &&value)
GetChannelResult & WithIngestEndpoints(IngestEndpointsT &&value)
const Aws::Vector< IngestEndpoint > & GetIngestEndpoints() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetChannelResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetResetAt() const
AWS_MEDIAPACKAGEV2_API GetChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIAPACKAGEV2_API GetChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelResult & WithETag(ETagT &&value)
GetChannelResult & WithModifiedAt(ModifiedAtT &&value)
GetChannelResult & WithTags(TagsT &&value)
GetChannelResult & WithDescription(DescriptionT &&value)
void SetInputSwitchConfiguration(InputSwitchConfigurationT &&value)
GetChannelResult & WithCreatedAt(CreatedAtT &&value)
GetChannelResult & WithChannelGroupName(ChannelGroupNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetOutputHeaderConfiguration(OutputHeaderConfigurationT &&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