AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateHarvestJobResult.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackagev2/model/Destination.h>
10#include <aws/mediapackagev2/model/HarvestedManifests.h>
11#include <aws/mediapackagev2/model/HarvesterScheduleConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/mediapackagev2/model/HarvestJobStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace mediapackagev2
30{
31namespace Model
32{
40 {
41 public:
42 AWS_MEDIAPACKAGEV2_API CreateHarvestJobResult() = default;
45
46
48
52 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
53 template<typename ChannelGroupNameT = Aws::String>
54 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
55 template<typename ChannelGroupNameT = Aws::String>
56 CreateHarvestJobResult& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetChannelName() const { return m_channelName; }
64 template<typename ChannelNameT = Aws::String>
65 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
66 template<typename ChannelNameT = Aws::String>
67 CreateHarvestJobResult& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
75 template<typename OriginEndpointNameT = Aws::String>
76 void SetOriginEndpointName(OriginEndpointNameT&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::forward<OriginEndpointNameT>(value); }
77 template<typename OriginEndpointNameT = Aws::String>
78 CreateHarvestJobResult& WithOriginEndpointName(OriginEndpointNameT&& value) { SetOriginEndpointName(std::forward<OriginEndpointNameT>(value)); return *this;}
80
82
85 inline const Destination& GetDestination() const { return m_destination; }
86 template<typename DestinationT = Destination>
87 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
88 template<typename DestinationT = Destination>
89 CreateHarvestJobResult& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
91
93
96 inline const Aws::String& GetHarvestJobName() const { return m_harvestJobName; }
97 template<typename HarvestJobNameT = Aws::String>
98 void SetHarvestJobName(HarvestJobNameT&& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = std::forward<HarvestJobNameT>(value); }
99 template<typename HarvestJobNameT = Aws::String>
100 CreateHarvestJobResult& WithHarvestJobName(HarvestJobNameT&& value) { SetHarvestJobName(std::forward<HarvestJobNameT>(value)); return *this;}
102
104
107 inline const HarvestedManifests& GetHarvestedManifests() const { return m_harvestedManifests; }
108 template<typename HarvestedManifestsT = HarvestedManifests>
109 void SetHarvestedManifests(HarvestedManifestsT&& value) { m_harvestedManifestsHasBeenSet = true; m_harvestedManifests = std::forward<HarvestedManifestsT>(value); }
110 template<typename HarvestedManifestsT = HarvestedManifests>
111 CreateHarvestJobResult& WithHarvestedManifests(HarvestedManifestsT&& value) { SetHarvestedManifests(std::forward<HarvestedManifestsT>(value)); return *this;}
113
115
118 inline const Aws::String& GetDescription() const { return m_description; }
119 template<typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
121 template<typename DescriptionT = Aws::String>
122 CreateHarvestJobResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
124
126
130 inline const HarvesterScheduleConfiguration& GetScheduleConfiguration() const { return m_scheduleConfiguration; }
131 template<typename ScheduleConfigurationT = HarvesterScheduleConfiguration>
132 void SetScheduleConfiguration(ScheduleConfigurationT&& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value); }
133 template<typename ScheduleConfigurationT = HarvesterScheduleConfiguration>
134 CreateHarvestJobResult& WithScheduleConfiguration(ScheduleConfigurationT&& value) { SetScheduleConfiguration(std::forward<ScheduleConfigurationT>(value)); return *this;}
136
138
141 inline const Aws::String& GetArn() const { return m_arn; }
142 template<typename ArnT = Aws::String>
143 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
144 template<typename ArnT = Aws::String>
145 CreateHarvestJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
153 template<typename CreatedAtT = Aws::Utils::DateTime>
154 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
155 template<typename CreatedAtT = Aws::Utils::DateTime>
156 CreateHarvestJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
158
160
163 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
164 template<typename ModifiedAtT = Aws::Utils::DateTime>
165 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
166 template<typename ModifiedAtT = Aws::Utils::DateTime>
167 CreateHarvestJobResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
169
171
175 inline HarvestJobStatus GetStatus() const { return m_status; }
176 inline void SetStatus(HarvestJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
177 inline CreateHarvestJobResult& WithStatus(HarvestJobStatus value) { SetStatus(value); return *this;}
179
181
184 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
185 template<typename ErrorMessageT = Aws::String>
186 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
187 template<typename ErrorMessageT = Aws::String>
188 CreateHarvestJobResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
190
192
195 inline const Aws::String& GetETag() const { return m_eTag; }
196 template<typename ETagT = Aws::String>
197 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
198 template<typename ETagT = Aws::String>
199 CreateHarvestJobResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
201
203
206 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
207 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
209 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 CreateHarvestJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
211 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
212 CreateHarvestJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
213 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
214 }
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template<typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
222 template<typename RequestIdT = Aws::String>
223 CreateHarvestJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
225 private:
226
227 Aws::String m_channelGroupName;
228 bool m_channelGroupNameHasBeenSet = false;
229
230 Aws::String m_channelName;
231 bool m_channelNameHasBeenSet = false;
232
233 Aws::String m_originEndpointName;
234 bool m_originEndpointNameHasBeenSet = false;
235
236 Destination m_destination;
237 bool m_destinationHasBeenSet = false;
238
239 Aws::String m_harvestJobName;
240 bool m_harvestJobNameHasBeenSet = false;
241
242 HarvestedManifests m_harvestedManifests;
243 bool m_harvestedManifestsHasBeenSet = false;
244
245 Aws::String m_description;
246 bool m_descriptionHasBeenSet = false;
247
248 HarvesterScheduleConfiguration m_scheduleConfiguration;
249 bool m_scheduleConfigurationHasBeenSet = false;
250
251 Aws::String m_arn;
252 bool m_arnHasBeenSet = false;
253
254 Aws::Utils::DateTime m_createdAt{};
255 bool m_createdAtHasBeenSet = false;
256
257 Aws::Utils::DateTime m_modifiedAt{};
258 bool m_modifiedAtHasBeenSet = false;
259
261 bool m_statusHasBeenSet = false;
262
263 Aws::String m_errorMessage;
264 bool m_errorMessageHasBeenSet = false;
265
266 Aws::String m_eTag;
267 bool m_eTagHasBeenSet = false;
268
270 bool m_tagsHasBeenSet = false;
271
272 Aws::String m_requestId;
273 bool m_requestIdHasBeenSet = false;
274 };
275
276} // namespace Model
277} // namespace mediapackagev2
278} // namespace Aws
CreateHarvestJobResult & WithETag(ETagT &&value)
const HarvesterScheduleConfiguration & GetScheduleConfiguration() const
CreateHarvestJobResult & WithChannelName(ChannelNameT &&value)
CreateHarvestJobResult & WithHarvestJobName(HarvestJobNameT &&value)
CreateHarvestJobResult & WithTags(TagsT &&value)
CreateHarvestJobResult & WithStatus(HarvestJobStatus value)
CreateHarvestJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateHarvestJobResult & WithDestination(DestinationT &&value)
AWS_MEDIAPACKAGEV2_API CreateHarvestJobResult()=default
CreateHarvestJobResult & WithChannelGroupName(ChannelGroupNameT &&value)
AWS_MEDIAPACKAGEV2_API CreateHarvestJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateHarvestJobResult & WithCreatedAt(CreatedAtT &&value)
void SetScheduleConfiguration(ScheduleConfigurationT &&value)
CreateHarvestJobResult & WithOriginEndpointName(OriginEndpointNameT &&value)
CreateHarvestJobResult & WithScheduleConfiguration(ScheduleConfigurationT &&value)
CreateHarvestJobResult & WithErrorMessage(ErrorMessageT &&value)
CreateHarvestJobResult & WithHarvestedManifests(HarvestedManifestsT &&value)
CreateHarvestJobResult & WithRequestId(RequestIdT &&value)
CreateHarvestJobResult & WithModifiedAt(ModifiedAtT &&value)
CreateHarvestJobResult & WithDescription(DescriptionT &&value)
AWS_MEDIAPACKAGEV2_API CreateHarvestJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
Aws::Utils::Json::JsonValue JsonValue