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/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/IngestEndpoint.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace mediapackagev2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_MEDIAPACKAGEV2_API CreateChannelResult();
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline CreateChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline CreateChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline CreateChannelResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
59 inline const Aws::String& GetChannelName() const{ return m_channelName; }
60 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
61 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
62 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
63 inline CreateChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
64 inline CreateChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
65 inline CreateChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
67
69
74 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
75 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupName = value; }
76 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupName = std::move(value); }
77 inline void SetChannelGroupName(const char* value) { m_channelGroupName.assign(value); }
78 inline CreateChannelResult& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
79 inline CreateChannelResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
80 inline CreateChannelResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
88 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
89 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
90 inline CreateChannelResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
91 inline CreateChannelResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
99 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
100 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
101 inline CreateChannelResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
102 inline CreateChannelResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
104
106
109 inline const Aws::String& GetDescription() const{ return m_description; }
110 inline void SetDescription(const Aws::String& value) { m_description = value; }
111 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
112 inline void SetDescription(const char* value) { m_description.assign(value); }
113 inline CreateChannelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 inline CreateChannelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 inline CreateChannelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
117
119
120 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const{ return m_ingestEndpoints; }
121 inline void SetIngestEndpoints(const Aws::Vector<IngestEndpoint>& value) { m_ingestEndpoints = value; }
122 inline void SetIngestEndpoints(Aws::Vector<IngestEndpoint>&& value) { m_ingestEndpoints = std::move(value); }
125 inline CreateChannelResult& AddIngestEndpoints(const IngestEndpoint& value) { m_ingestEndpoints.push_back(value); return *this; }
126 inline CreateChannelResult& AddIngestEndpoints(IngestEndpoint&& value) { m_ingestEndpoints.push_back(std::move(value)); return *this; }
128
130
139 inline const InputType& GetInputType() const{ return m_inputType; }
140 inline void SetInputType(const InputType& value) { m_inputType = value; }
141 inline void SetInputType(InputType&& value) { m_inputType = std::move(value); }
142 inline CreateChannelResult& WithInputType(const InputType& value) { SetInputType(value); return *this;}
143 inline CreateChannelResult& WithInputType(InputType&& value) { SetInputType(std::move(value)); return *this;}
145
147
151 inline const Aws::String& GetETag() const{ return m_eTag; }
152 inline void SetETag(const Aws::String& value) { m_eTag = value; }
153 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
154 inline void SetETag(const char* value) { m_eTag.assign(value); }
155 inline CreateChannelResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
156 inline CreateChannelResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
157 inline CreateChannelResult& WithETag(const char* value) { SetETag(value); return *this;}
159
161
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
165 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
166 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
167 inline CreateChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
168 inline CreateChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
169 inline CreateChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
170 inline CreateChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
171 inline CreateChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
172 inline CreateChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
173 inline CreateChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
174 inline CreateChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
175 inline CreateChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline CreateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline CreateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline CreateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::String m_arn;
191
192 Aws::String m_channelName;
193
194 Aws::String m_channelGroupName;
195
196 Aws::Utils::DateTime m_createdAt;
197
198 Aws::Utils::DateTime m_modifiedAt;
199
200 Aws::String m_description;
201
202 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
203
204 InputType m_inputType;
205
206 Aws::String m_eTag;
207
209
210 Aws::String m_requestId;
211 };
212
213} // namespace Model
214} // namespace mediapackagev2
215} // namespace Aws
CreateChannelResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateChannelResult & AddTags(const char *key, Aws::String &&value)
CreateChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateChannelResult & WithChannelName(const char *value)
CreateChannelResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateChannelResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_MEDIAPACKAGEV2_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & AddTags(Aws::String &&key, const char *value)
CreateChannelResult & AddTags(const char *key, const char *value)
CreateChannelResult & WithDescription(Aws::String &&value)
void SetIngestEndpoints(Aws::Vector< IngestEndpoint > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelResult & WithIngestEndpoints(const Aws::Vector< IngestEndpoint > &value)
CreateChannelResult & WithChannelName(Aws::String &&value)
CreateChannelResult & WithRequestId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelResult & WithChannelName(const Aws::String &value)
CreateChannelResult & WithDescription(const char *value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
CreateChannelResult & WithChannelGroupName(const Aws::String &value)
CreateChannelResult & WithArn(const Aws::String &value)
CreateChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateChannelResult & WithIngestEndpoints(Aws::Vector< IngestEndpoint > &&value)
CreateChannelResult & WithChannelGroupName(Aws::String &&value)
CreateChannelResult & WithInputType(InputType &&value)
CreateChannelResult & WithETag(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelResult & WithChannelGroupName(const char *value)
CreateChannelResult & WithETag(const char *value)
CreateChannelResult & AddIngestEndpoints(const IngestEndpoint &value)
const Aws::Vector< IngestEndpoint > & GetIngestEndpoints() const
void SetModifiedAt(Aws::Utils::DateTime &&value)
CreateChannelResult & WithModifiedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateChannelResult & WithArn(Aws::String &&value)
CreateChannelResult & WithInputType(const InputType &value)
CreateChannelResult & WithETag(Aws::String &&value)
CreateChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelResult & WithDescription(const Aws::String &value)
CreateChannelResult & WithArn(const char *value)
void SetIngestEndpoints(const Aws::Vector< IngestEndpoint > &value)
CreateChannelResult & AddIngestEndpoints(IngestEndpoint &&value)
CreateChannelResult & WithRequestId(Aws::String &&value)
CreateChannelResult & WithModifiedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_MEDIAPACKAGEV2_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&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