AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/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 GetChannelResult();
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 GetChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline GetChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline GetChannelResult& 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 GetChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
64 inline GetChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
65 inline GetChannelResult& 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 GetChannelResult& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
79 inline GetChannelResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
80 inline GetChannelResult& 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 GetChannelResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
91 inline GetChannelResult& 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 GetChannelResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
102 inline GetChannelResult& 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 GetChannelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 inline GetChannelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 inline GetChannelResult& 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); }
124 inline GetChannelResult& WithIngestEndpoints(Aws::Vector<IngestEndpoint>&& value) { SetIngestEndpoints(std::move(value)); return *this;}
125 inline GetChannelResult& AddIngestEndpoints(const IngestEndpoint& value) { m_ingestEndpoints.push_back(value); return *this; }
126 inline GetChannelResult& 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 GetChannelResult& WithInputType(const InputType& value) { SetInputType(value); return *this;}
143 inline GetChannelResult& 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 GetChannelResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
156 inline GetChannelResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
157 inline GetChannelResult& 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 GetChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
168 inline GetChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
169 inline GetChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
170 inline GetChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
171 inline GetChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
172 inline GetChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
173 inline GetChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
174 inline GetChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
175 inline GetChannelResult& 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 GetChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline GetChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline GetChannelResult& 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
const Aws::Utils::DateTime & GetModifiedAt() const
GetChannelResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetChannelResult & WithInputType(const InputType &value)
GetChannelResult & AddIngestEndpoints(const IngestEndpoint &value)
GetChannelResult & WithArn(Aws::String &&value)
GetChannelResult & WithRequestId(Aws::String &&value)
GetChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
GetChannelResult & AddIngestEndpoints(IngestEndpoint &&value)
GetChannelResult & WithInputType(InputType &&value)
const Aws::String & GetChannelGroupName() const
GetChannelResult & WithModifiedAt(Aws::Utils::DateTime &&value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
GetChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetChannelResult & WithETag(const Aws::String &value)
GetChannelResult & WithRequestId(const Aws::String &value)
GetChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetIngestEndpoints(const Aws::Vector< IngestEndpoint > &value)
GetChannelResult & WithChannelGroupName(const char *value)
GetChannelResult & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
GetChannelResult & WithDescription(const char *value)
GetChannelResult & AddTags(const char *key, Aws::String &&value)
GetChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
GetChannelResult & WithArn(const Aws::String &value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
GetChannelResult & WithChannelName(const char *value)
const Aws::Vector< IngestEndpoint > & GetIngestEndpoints() const
GetChannelResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetChannelResult & WithETag(Aws::String &&value)
GetChannelResult & WithModifiedAt(const Aws::Utils::DateTime &value)
GetChannelResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetChannelResult & WithIngestEndpoints(Aws::Vector< IngestEndpoint > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
GetChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MEDIAPACKAGEV2_API GetChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelResult & AddTags(const char *key, const char *value)
AWS_MEDIAPACKAGEV2_API GetChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelResult & WithChannelName(Aws::String &&value)
GetChannelResult & WithChannelGroupName(Aws::String &&value)
GetChannelResult & AddTags(Aws::String &&key, const char *value)
GetChannelResult & WithETag(const char *value)
GetChannelResult & WithArn(const char *value)
void SetChannelName(const Aws::String &value)
GetChannelResult & WithChannelGroupName(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetChannelResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetChannelResult & WithIngestEndpoints(const Aws::Vector< IngestEndpoint > &value)
void SetChannelGroupName(const Aws::String &value)
GetChannelResult & WithChannelName(const Aws::String &value)
void SetIngestEndpoints(Aws::Vector< IngestEndpoint > &&value)
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