AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetHarvestJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
11#include <aws/mediapackagev2/model/Destination.h>
12#include <aws/mediapackagev2/model/HarvestJobStatus.h>
13#include <aws/mediapackagev2/model/HarvestedManifests.h>
14#include <aws/mediapackagev2/model/HarvesterScheduleConfiguration.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace mediapackagev2 {
28namespace Model {
36 public:
37 AWS_MEDIAPACKAGEV2_API GetHarvestJobResult() = default;
40
42
46 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
47 template <typename ChannelGroupNameT = Aws::String>
48 void SetChannelGroupName(ChannelGroupNameT&& value) {
49 m_channelGroupNameHasBeenSet = true;
50 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
51 }
52 template <typename ChannelGroupNameT = Aws::String>
53 GetHarvestJobResult& WithChannelGroupName(ChannelGroupNameT&& value) {
54 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetChannelName() const { return m_channelName; }
64 template <typename ChannelNameT = Aws::String>
65 void SetChannelName(ChannelNameT&& value) {
66 m_channelNameHasBeenSet = true;
67 m_channelName = std::forward<ChannelNameT>(value);
68 }
69 template <typename ChannelNameT = Aws::String>
70 GetHarvestJobResult& WithChannelName(ChannelNameT&& value) {
71 SetChannelName(std::forward<ChannelNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
81 template <typename OriginEndpointNameT = Aws::String>
82 void SetOriginEndpointName(OriginEndpointNameT&& value) {
83 m_originEndpointNameHasBeenSet = true;
84 m_originEndpointName = std::forward<OriginEndpointNameT>(value);
85 }
86 template <typename OriginEndpointNameT = Aws::String>
87 GetHarvestJobResult& WithOriginEndpointName(OriginEndpointNameT&& value) {
88 SetOriginEndpointName(std::forward<OriginEndpointNameT>(value));
89 return *this;
90 }
92
94
97 inline const Destination& GetDestination() const { return m_destination; }
98 template <typename DestinationT = Destination>
99 void SetDestination(DestinationT&& value) {
100 m_destinationHasBeenSet = true;
101 m_destination = std::forward<DestinationT>(value);
102 }
103 template <typename DestinationT = Destination>
104 GetHarvestJobResult& WithDestination(DestinationT&& value) {
105 SetDestination(std::forward<DestinationT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetHarvestJobName() const { return m_harvestJobName; }
115 template <typename HarvestJobNameT = Aws::String>
116 void SetHarvestJobName(HarvestJobNameT&& value) {
117 m_harvestJobNameHasBeenSet = true;
118 m_harvestJobName = std::forward<HarvestJobNameT>(value);
119 }
120 template <typename HarvestJobNameT = Aws::String>
121 GetHarvestJobResult& WithHarvestJobName(HarvestJobNameT&& value) {
122 SetHarvestJobName(std::forward<HarvestJobNameT>(value));
123 return *this;
124 }
126
128
131 inline const HarvestedManifests& GetHarvestedManifests() const { return m_harvestedManifests; }
132 template <typename HarvestedManifestsT = HarvestedManifests>
133 void SetHarvestedManifests(HarvestedManifestsT&& value) {
134 m_harvestedManifestsHasBeenSet = true;
135 m_harvestedManifests = std::forward<HarvestedManifestsT>(value);
136 }
137 template <typename HarvestedManifestsT = HarvestedManifests>
138 GetHarvestJobResult& WithHarvestedManifests(HarvestedManifestsT&& value) {
139 SetHarvestedManifests(std::forward<HarvestedManifestsT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetDescription() const { return m_description; }
149 template <typename DescriptionT = Aws::String>
150 void SetDescription(DescriptionT&& value) {
151 m_descriptionHasBeenSet = true;
152 m_description = std::forward<DescriptionT>(value);
153 }
154 template <typename DescriptionT = Aws::String>
155 GetHarvestJobResult& WithDescription(DescriptionT&& value) {
156 SetDescription(std::forward<DescriptionT>(value));
157 return *this;
158 }
160
162
166 inline const HarvesterScheduleConfiguration& GetScheduleConfiguration() const { return m_scheduleConfiguration; }
167 template <typename ScheduleConfigurationT = HarvesterScheduleConfiguration>
168 void SetScheduleConfiguration(ScheduleConfigurationT&& value) {
169 m_scheduleConfigurationHasBeenSet = true;
170 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
171 }
172 template <typename ScheduleConfigurationT = HarvesterScheduleConfiguration>
173 GetHarvestJobResult& WithScheduleConfiguration(ScheduleConfigurationT&& value) {
174 SetScheduleConfiguration(std::forward<ScheduleConfigurationT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetArn() const { return m_arn; }
184 template <typename ArnT = Aws::String>
185 void SetArn(ArnT&& value) {
186 m_arnHasBeenSet = true;
187 m_arn = std::forward<ArnT>(value);
188 }
189 template <typename ArnT = Aws::String>
191 SetArn(std::forward<ArnT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
201 template <typename CreatedAtT = Aws::Utils::DateTime>
202 void SetCreatedAt(CreatedAtT&& value) {
203 m_createdAtHasBeenSet = true;
204 m_createdAt = std::forward<CreatedAtT>(value);
205 }
206 template <typename CreatedAtT = Aws::Utils::DateTime>
207 GetHarvestJobResult& WithCreatedAt(CreatedAtT&& value) {
208 SetCreatedAt(std::forward<CreatedAtT>(value));
209 return *this;
210 }
212
214
217 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
218 template <typename ModifiedAtT = Aws::Utils::DateTime>
219 void SetModifiedAt(ModifiedAtT&& value) {
220 m_modifiedAtHasBeenSet = true;
221 m_modifiedAt = std::forward<ModifiedAtT>(value);
222 }
223 template <typename ModifiedAtT = Aws::Utils::DateTime>
224 GetHarvestJobResult& WithModifiedAt(ModifiedAtT&& value) {
225 SetModifiedAt(std::forward<ModifiedAtT>(value));
226 return *this;
227 }
229
231
235 inline HarvestJobStatus GetStatus() const { return m_status; }
236 inline void SetStatus(HarvestJobStatus value) {
237 m_statusHasBeenSet = true;
238 m_status = value;
239 }
241 SetStatus(value);
242 return *this;
243 }
245
247
250 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
251 template <typename ErrorMessageT = Aws::String>
252 void SetErrorMessage(ErrorMessageT&& value) {
253 m_errorMessageHasBeenSet = true;
254 m_errorMessage = std::forward<ErrorMessageT>(value);
255 }
256 template <typename ErrorMessageT = Aws::String>
257 GetHarvestJobResult& WithErrorMessage(ErrorMessageT&& value) {
258 SetErrorMessage(std::forward<ErrorMessageT>(value));
259 return *this;
260 }
262
264
267 inline const Aws::String& GetETag() const { return m_eTag; }
268 template <typename ETagT = Aws::String>
269 void SetETag(ETagT&& value) {
270 m_eTagHasBeenSet = true;
271 m_eTag = std::forward<ETagT>(value);
272 }
273 template <typename ETagT = Aws::String>
275 SetETag(std::forward<ETagT>(value));
276 return *this;
277 }
279
281
284 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
285 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
286 void SetTags(TagsT&& value) {
287 m_tagsHasBeenSet = true;
288 m_tags = std::forward<TagsT>(value);
289 }
290 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
292 SetTags(std::forward<TagsT>(value));
293 return *this;
294 }
295 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
296 GetHarvestJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
297 m_tagsHasBeenSet = true;
298 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
299 return *this;
300 }
302
304
305 inline const Aws::String& GetRequestId() const { return m_requestId; }
306 template <typename RequestIdT = Aws::String>
307 void SetRequestId(RequestIdT&& value) {
308 m_requestIdHasBeenSet = true;
309 m_requestId = std::forward<RequestIdT>(value);
310 }
311 template <typename RequestIdT = Aws::String>
312 GetHarvestJobResult& WithRequestId(RequestIdT&& value) {
313 SetRequestId(std::forward<RequestIdT>(value));
314 return *this;
315 }
317 private:
318 Aws::String m_channelGroupName;
319
320 Aws::String m_channelName;
321
322 Aws::String m_originEndpointName;
323
324 Destination m_destination;
325
326 Aws::String m_harvestJobName;
327
328 HarvestedManifests m_harvestedManifests;
329
330 Aws::String m_description;
331
332 HarvesterScheduleConfiguration m_scheduleConfiguration;
333
334 Aws::String m_arn;
335
336 Aws::Utils::DateTime m_createdAt{};
337
338 Aws::Utils::DateTime m_modifiedAt{};
339
341
342 Aws::String m_errorMessage;
343
344 Aws::String m_eTag;
345
347
348 Aws::String m_requestId;
349 bool m_channelGroupNameHasBeenSet = false;
350 bool m_channelNameHasBeenSet = false;
351 bool m_originEndpointNameHasBeenSet = false;
352 bool m_destinationHasBeenSet = false;
353 bool m_harvestJobNameHasBeenSet = false;
354 bool m_harvestedManifestsHasBeenSet = false;
355 bool m_descriptionHasBeenSet = false;
356 bool m_scheduleConfigurationHasBeenSet = false;
357 bool m_arnHasBeenSet = false;
358 bool m_createdAtHasBeenSet = false;
359 bool m_modifiedAtHasBeenSet = false;
360 bool m_statusHasBeenSet = false;
361 bool m_errorMessageHasBeenSet = false;
362 bool m_eTagHasBeenSet = false;
363 bool m_tagsHasBeenSet = false;
364 bool m_requestIdHasBeenSet = false;
365};
366
367} // namespace Model
368} // namespace mediapackagev2
369} // namespace Aws
void SetScheduleConfiguration(ScheduleConfigurationT &&value)
GetHarvestJobResult & WithDestination(DestinationT &&value)
void SetOriginEndpointName(OriginEndpointNameT &&value)
GetHarvestJobResult & WithChannelGroupName(ChannelGroupNameT &&value)
const HarvesterScheduleConfiguration & GetScheduleConfiguration() const
void SetHarvestedManifests(HarvestedManifestsT &&value)
GetHarvestJobResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
GetHarvestJobResult & WithStatus(HarvestJobStatus value)
GetHarvestJobResult & WithHarvestedManifests(HarvestedManifestsT &&value)
GetHarvestJobResult & WithHarvestJobName(HarvestJobNameT &&value)
AWS_MEDIAPACKAGEV2_API GetHarvestJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHarvestJobResult & WithTags(TagsT &&value)
GetHarvestJobResult & WithErrorMessage(ErrorMessageT &&value)
void SetChannelGroupName(ChannelGroupNameT &&value)
GetHarvestJobResult & WithETag(ETagT &&value)
GetHarvestJobResult & WithDescription(DescriptionT &&value)
AWS_MEDIAPACKAGEV2_API GetHarvestJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const HarvestedManifests & GetHarvestedManifests() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetHarvestJobResult & WithModifiedAt(ModifiedAtT &&value)
GetHarvestJobResult & WithArn(ArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetHarvestJobResult & WithCreatedAt(CreatedAtT &&value)
GetHarvestJobResult & WithChannelName(ChannelNameT &&value)
GetHarvestJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetHarvestJobResult & WithOriginEndpointName(OriginEndpointNameT &&value)
GetHarvestJobResult & WithScheduleConfiguration(ScheduleConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API GetHarvestJobResult()=default
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
Aws::Utils::Json::JsonValue JsonValue