AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateChannelResult.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 CreateChannelResult() = 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 CreateChannelResult& 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 CreateChannelResult& 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 CreateChannelResult& 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 CreateChannelResult& 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 CreateChannelResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template<typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
108 template<typename DescriptionT = Aws::String>
109 CreateChannelResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
111
113
114 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const { return m_ingestEndpoints; }
115 template<typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
116 void SetIngestEndpoints(IngestEndpointsT&& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints = std::forward<IngestEndpointsT>(value); }
117 template<typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
118 CreateChannelResult& WithIngestEndpoints(IngestEndpointsT&& value) { SetIngestEndpoints(std::forward<IngestEndpointsT>(value)); return *this;}
119 template<typename IngestEndpointsT = IngestEndpoint>
120 CreateChannelResult& AddIngestEndpoints(IngestEndpointsT&& value) { m_ingestEndpointsHasBeenSet = true; m_ingestEndpoints.emplace_back(std::forward<IngestEndpointsT>(value)); return *this; }
122
124
133 inline InputType GetInputType() const { return m_inputType; }
134 inline void SetInputType(InputType value) { m_inputTypeHasBeenSet = true; m_inputType = value; }
135 inline CreateChannelResult& WithInputType(InputType value) { SetInputType(value); return *this;}
137
139
143 inline const Aws::String& GetETag() const { return m_eTag; }
144 template<typename ETagT = Aws::String>
145 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
146 template<typename ETagT = Aws::String>
147 CreateChannelResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
149
151
154 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
155 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
157 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 CreateChannelResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
159 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
160 CreateChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
161 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
162 }
164
166
171 inline const InputSwitchConfiguration& GetInputSwitchConfiguration() const { return m_inputSwitchConfiguration; }
172 template<typename InputSwitchConfigurationT = InputSwitchConfiguration>
173 void SetInputSwitchConfiguration(InputSwitchConfigurationT&& value) { m_inputSwitchConfigurationHasBeenSet = true; m_inputSwitchConfiguration = std::forward<InputSwitchConfigurationT>(value); }
174 template<typename InputSwitchConfigurationT = InputSwitchConfiguration>
175 CreateChannelResult& WithInputSwitchConfiguration(InputSwitchConfigurationT&& value) { SetInputSwitchConfiguration(std::forward<InputSwitchConfigurationT>(value)); return *this;}
177
179
184 inline const OutputHeaderConfiguration& GetOutputHeaderConfiguration() const { return m_outputHeaderConfiguration; }
185 template<typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
186 void SetOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) { m_outputHeaderConfigurationHasBeenSet = true; m_outputHeaderConfiguration = std::forward<OutputHeaderConfigurationT>(value); }
187 template<typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
188 CreateChannelResult& WithOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) { SetOutputHeaderConfiguration(std::forward<OutputHeaderConfigurationT>(value)); return *this;}
190
192
193 inline const Aws::String& GetRequestId() const { return m_requestId; }
194 template<typename RequestIdT = Aws::String>
195 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
196 template<typename RequestIdT = Aws::String>
197 CreateChannelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
199 private:
200
201 Aws::String m_arn;
202 bool m_arnHasBeenSet = false;
203
204 Aws::String m_channelName;
205 bool m_channelNameHasBeenSet = false;
206
207 Aws::String m_channelGroupName;
208 bool m_channelGroupNameHasBeenSet = false;
209
210 Aws::Utils::DateTime m_createdAt{};
211 bool m_createdAtHasBeenSet = false;
212
213 Aws::Utils::DateTime m_modifiedAt{};
214 bool m_modifiedAtHasBeenSet = false;
215
216 Aws::String m_description;
217 bool m_descriptionHasBeenSet = false;
218
219 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
220 bool m_ingestEndpointsHasBeenSet = false;
221
222 InputType m_inputType{InputType::NOT_SET};
223 bool m_inputTypeHasBeenSet = false;
224
225 Aws::String m_eTag;
226 bool m_eTagHasBeenSet = false;
227
229 bool m_tagsHasBeenSet = false;
230
231 InputSwitchConfiguration m_inputSwitchConfiguration;
232 bool m_inputSwitchConfigurationHasBeenSet = false;
233
234 OutputHeaderConfiguration m_outputHeaderConfiguration;
235 bool m_outputHeaderConfigurationHasBeenSet = false;
236
237 Aws::String m_requestId;
238 bool m_requestIdHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace mediapackagev2
243} // namespace Aws
CreateChannelResult & WithInputSwitchConfiguration(InputSwitchConfigurationT &&value)
void SetOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
CreateChannelResult & WithChannelName(ChannelNameT &&value)
const InputSwitchConfiguration & GetInputSwitchConfiguration() const
CreateChannelResult & WithChannelGroupName(ChannelGroupNameT &&value)
AWS_MEDIAPACKAGEV2_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & AddIngestEndpoints(IngestEndpointsT &&value)
CreateChannelResult & WithOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
CreateChannelResult & WithIngestEndpoints(IngestEndpointsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelResult & WithRequestId(RequestIdT &&value)
CreateChannelResult & WithInputType(InputType value)
CreateChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateChannelResult & WithETag(ETagT &&value)
void SetChannelGroupName(ChannelGroupNameT &&value)
CreateChannelResult & WithArn(ArnT &&value)
const Aws::Vector< IngestEndpoint > & GetIngestEndpoints() const
const Aws::Utils::DateTime & GetCreatedAt() const
CreateChannelResult & WithTags(TagsT &&value)
void SetInputSwitchConfiguration(InputSwitchConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API CreateChannelResult()=default
CreateChannelResult & WithCreatedAt(CreatedAtT &&value)
CreateChannelResult & WithModifiedAt(ModifiedAtT &&value)
const OutputHeaderConfiguration & GetOutputHeaderConfiguration() const
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_MEDIAPACKAGEV2_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & WithDescription(DescriptionT &&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