AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HarvestJob.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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace mediapackagev2
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_MEDIAPACKAGEV2_API HarvestJob();
41 AWS_MEDIAPACKAGEV2_API HarvestJob(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIAPACKAGEV2_API HarvestJob& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
52 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
53 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
54 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
55 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
56 inline HarvestJob& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
57 inline HarvestJob& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
58 inline HarvestJob& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
60
62
65 inline const Aws::String& GetChannelName() const{ return m_channelName; }
66 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
67 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
68 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
69 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
70 inline HarvestJob& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
71 inline HarvestJob& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
72 inline HarvestJob& WithChannelName(const char* value) { SetChannelName(value); return *this;}
74
76
79 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
80 inline bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; }
81 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = value; }
82 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::move(value); }
83 inline void SetOriginEndpointName(const char* value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName.assign(value); }
84 inline HarvestJob& WithOriginEndpointName(const Aws::String& value) { SetOriginEndpointName(value); return *this;}
85 inline HarvestJob& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
86 inline HarvestJob& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
88
90
93 inline const Destination& GetDestination() const{ return m_destination; }
94 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
95 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
96 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
97 inline HarvestJob& WithDestination(const Destination& value) { SetDestination(value); return *this;}
98 inline HarvestJob& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetHarvestJobName() const{ return m_harvestJobName; }
106 inline bool HarvestJobNameHasBeenSet() const { return m_harvestJobNameHasBeenSet; }
107 inline void SetHarvestJobName(const Aws::String& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = value; }
108 inline void SetHarvestJobName(Aws::String&& value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName = std::move(value); }
109 inline void SetHarvestJobName(const char* value) { m_harvestJobNameHasBeenSet = true; m_harvestJobName.assign(value); }
110 inline HarvestJob& WithHarvestJobName(const Aws::String& value) { SetHarvestJobName(value); return *this;}
111 inline HarvestJob& WithHarvestJobName(Aws::String&& value) { SetHarvestJobName(std::move(value)); return *this;}
112 inline HarvestJob& WithHarvestJobName(const char* value) { SetHarvestJobName(value); return *this;}
114
116
119 inline const HarvestedManifests& GetHarvestedManifests() const{ return m_harvestedManifests; }
120 inline bool HarvestedManifestsHasBeenSet() const { return m_harvestedManifestsHasBeenSet; }
121 inline void SetHarvestedManifests(const HarvestedManifests& value) { m_harvestedManifestsHasBeenSet = true; m_harvestedManifests = value; }
122 inline void SetHarvestedManifests(HarvestedManifests&& value) { m_harvestedManifestsHasBeenSet = true; m_harvestedManifests = std::move(value); }
123 inline HarvestJob& WithHarvestedManifests(const HarvestedManifests& value) { SetHarvestedManifests(value); return *this;}
124 inline HarvestJob& WithHarvestedManifests(HarvestedManifests&& value) { SetHarvestedManifests(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetDescription() const{ return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
135 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
136 inline HarvestJob& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
137 inline HarvestJob& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 inline HarvestJob& WithDescription(const char* value) { SetDescription(value); return *this;}
140
142
145 inline const HarvesterScheduleConfiguration& GetScheduleConfiguration() const{ return m_scheduleConfiguration; }
146 inline bool ScheduleConfigurationHasBeenSet() const { return m_scheduleConfigurationHasBeenSet; }
147 inline void SetScheduleConfiguration(const HarvesterScheduleConfiguration& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = value; }
148 inline void SetScheduleConfiguration(HarvesterScheduleConfiguration&& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = std::move(value); }
152
154
157 inline const Aws::String& GetArn() const{ return m_arn; }
158 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
159 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
160 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
161 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
162 inline HarvestJob& WithArn(const Aws::String& value) { SetArn(value); return *this;}
163 inline HarvestJob& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
164 inline HarvestJob& WithArn(const char* value) { SetArn(value); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
172 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
173 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
174 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
175 inline HarvestJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
176 inline HarvestJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
178
180
183 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
184 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
185 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
186 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
187 inline HarvestJob& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
188 inline HarvestJob& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
190
192
196 inline const HarvestJobStatus& GetStatus() const{ return m_status; }
197 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
198 inline void SetStatus(const HarvestJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
199 inline void SetStatus(HarvestJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
200 inline HarvestJob& WithStatus(const HarvestJobStatus& value) { SetStatus(value); return *this;}
201 inline HarvestJob& WithStatus(HarvestJobStatus&& value) { SetStatus(std::move(value)); return *this;}
203
205
208 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
209 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
210 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
211 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
212 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
213 inline HarvestJob& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
214 inline HarvestJob& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
215 inline HarvestJob& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
217
219
222 inline const Aws::String& GetETag() const{ return m_eTag; }
223 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
224 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
225 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
226 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
227 inline HarvestJob& WithETag(const Aws::String& value) { SetETag(value); return *this;}
228 inline HarvestJob& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
229 inline HarvestJob& WithETag(const char* value) { SetETag(value); return *this;}
231 private:
232
233 Aws::String m_channelGroupName;
234 bool m_channelGroupNameHasBeenSet = false;
235
236 Aws::String m_channelName;
237 bool m_channelNameHasBeenSet = false;
238
239 Aws::String m_originEndpointName;
240 bool m_originEndpointNameHasBeenSet = false;
241
242 Destination m_destination;
243 bool m_destinationHasBeenSet = false;
244
245 Aws::String m_harvestJobName;
246 bool m_harvestJobNameHasBeenSet = false;
247
248 HarvestedManifests m_harvestedManifests;
249 bool m_harvestedManifestsHasBeenSet = false;
250
251 Aws::String m_description;
252 bool m_descriptionHasBeenSet = false;
253
254 HarvesterScheduleConfiguration m_scheduleConfiguration;
255 bool m_scheduleConfigurationHasBeenSet = false;
256
257 Aws::String m_arn;
258 bool m_arnHasBeenSet = false;
259
260 Aws::Utils::DateTime m_createdAt;
261 bool m_createdAtHasBeenSet = false;
262
263 Aws::Utils::DateTime m_modifiedAt;
264 bool m_modifiedAtHasBeenSet = false;
265
266 HarvestJobStatus m_status;
267 bool m_statusHasBeenSet = false;
268
269 Aws::String m_errorMessage;
270 bool m_errorMessageHasBeenSet = false;
271
272 Aws::String m_eTag;
273 bool m_eTagHasBeenSet = false;
274 };
275
276} // namespace Model
277} // namespace mediapackagev2
278} // namespace Aws
HarvestJob & WithChannelName(Aws::String &&value)
Definition HarvestJob.h:71
HarvestJob & WithETag(const char *value)
Definition HarvestJob.h:229
const HarvestedManifests & GetHarvestedManifests() const
Definition HarvestJob.h:119
AWS_MEDIAPACKAGEV2_API HarvestJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHarvestJobName(const char *value)
Definition HarvestJob.h:109
void SetErrorMessage(Aws::String &&value)
Definition HarvestJob.h:211
void SetModifiedAt(const Aws::Utils::DateTime &value)
Definition HarvestJob.h:185
HarvestJob & WithModifiedAt(const Aws::Utils::DateTime &value)
Definition HarvestJob.h:187
void SetStatus(HarvestJobStatus &&value)
Definition HarvestJob.h:199
void SetETag(const Aws::String &value)
Definition HarvestJob.h:224
const HarvestJobStatus & GetStatus() const
Definition HarvestJob.h:196
void SetArn(Aws::String &&value)
Definition HarvestJob.h:160
void SetScheduleConfiguration(const HarvesterScheduleConfiguration &value)
Definition HarvestJob.h:147
HarvestJob & WithDescription(const Aws::String &value)
Definition HarvestJob.h:136
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChannelGroupName(Aws::String &&value)
Definition HarvestJob.h:54
void SetStatus(const HarvestJobStatus &value)
Definition HarvestJob.h:198
void SetETag(const char *value)
Definition HarvestJob.h:226
HarvestJob & WithErrorMessage(Aws::String &&value)
Definition HarvestJob.h:214
void SetHarvestJobName(Aws::String &&value)
Definition HarvestJob.h:108
HarvestJob & WithChannelName(const Aws::String &value)
Definition HarvestJob.h:70
HarvestJob & WithHarvestedManifests(HarvestedManifests &&value)
Definition HarvestJob.h:124
HarvestJob & WithScheduleConfiguration(HarvesterScheduleConfiguration &&value)
Definition HarvestJob.h:150
void SetArn(const Aws::String &value)
Definition HarvestJob.h:159
void SetChannelName(const Aws::String &value)
Definition HarvestJob.h:67
HarvestJob & WithErrorMessage(const char *value)
Definition HarvestJob.h:215
HarvestJob & WithDestination(Destination &&value)
Definition HarvestJob.h:98
const Aws::String & GetOriginEndpointName() const
Definition HarvestJob.h:79
HarvestJob & WithModifiedAt(Aws::Utils::DateTime &&value)
Definition HarvestJob.h:188
const Aws::String & GetErrorMessage() const
Definition HarvestJob.h:208
void SetHarvestJobName(const Aws::String &value)
Definition HarvestJob.h:107
void SetChannelGroupName(const char *value)
Definition HarvestJob.h:55
HarvestJob & WithChannelGroupName(const char *value)
Definition HarvestJob.h:58
const Aws::String & GetDescription() const
Definition HarvestJob.h:131
AWS_MEDIAPACKAGEV2_API HarvestJob()
HarvestJob & WithDescription(const char *value)
Definition HarvestJob.h:138
HarvestJob & WithArn(Aws::String &&value)
Definition HarvestJob.h:163
void SetHarvestedManifests(const HarvestedManifests &value)
Definition HarvestJob.h:121
HarvestJob & WithChannelName(const char *value)
Definition HarvestJob.h:72
HarvestJob & WithArn(const Aws::String &value)
Definition HarvestJob.h:162
HarvestJob & WithArn(const char *value)
Definition HarvestJob.h:164
void SetErrorMessage(const Aws::String &value)
Definition HarvestJob.h:210
HarvestJob & WithDescription(Aws::String &&value)
Definition HarvestJob.h:137
void SetDescription(const Aws::String &value)
Definition HarvestJob.h:133
HarvestJob & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition HarvestJob.h:175
HarvestJob & WithScheduleConfiguration(const HarvesterScheduleConfiguration &value)
Definition HarvestJob.h:149
void SetOriginEndpointName(const char *value)
Definition HarvestJob.h:83
HarvestJob & WithChannelGroupName(const Aws::String &value)
Definition HarvestJob.h:56
void SetModifiedAt(Aws::Utils::DateTime &&value)
Definition HarvestJob.h:186
HarvestJob & WithETag(const Aws::String &value)
Definition HarvestJob.h:227
HarvestJob & WithOriginEndpointName(const char *value)
Definition HarvestJob.h:86
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition HarvestJob.h:173
HarvestJob & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition HarvestJob.h:176
const Aws::String & GetHarvestJobName() const
Definition HarvestJob.h:105
HarvestJob & WithErrorMessage(const Aws::String &value)
Definition HarvestJob.h:213
void SetChannelGroupName(const Aws::String &value)
Definition HarvestJob.h:53
void SetScheduleConfiguration(HarvesterScheduleConfiguration &&value)
Definition HarvestJob.h:148
const Destination & GetDestination() const
Definition HarvestJob.h:93
const Aws::Utils::DateTime & GetCreatedAt() const
Definition HarvestJob.h:171
void SetChannelName(Aws::String &&value)
Definition HarvestJob.h:68
HarvestJob & WithOriginEndpointName(const Aws::String &value)
Definition HarvestJob.h:84
void SetHarvestedManifests(HarvestedManifests &&value)
Definition HarvestJob.h:122
HarvestJob & WithHarvestJobName(Aws::String &&value)
Definition HarvestJob.h:111
void SetErrorMessage(const char *value)
Definition HarvestJob.h:212
void SetDescription(const char *value)
Definition HarvestJob.h:135
const Aws::String & GetETag() const
Definition HarvestJob.h:222
HarvestJob & WithStatus(const HarvestJobStatus &value)
Definition HarvestJob.h:200
const Aws::String & GetChannelName() const
Definition HarvestJob.h:65
HarvestJob & WithDestination(const Destination &value)
Definition HarvestJob.h:97
HarvestJob & WithOriginEndpointName(Aws::String &&value)
Definition HarvestJob.h:85
void SetDescription(Aws::String &&value)
Definition HarvestJob.h:134
const Aws::String & GetChannelGroupName() const
Definition HarvestJob.h:51
void SetDestination(const Destination &value)
Definition HarvestJob.h:95
HarvestJob & WithHarvestJobName(const Aws::String &value)
Definition HarvestJob.h:110
const HarvesterScheduleConfiguration & GetScheduleConfiguration() const
Definition HarvestJob.h:145
void SetOriginEndpointName(Aws::String &&value)
Definition HarvestJob.h:82
void SetETag(Aws::String &&value)
Definition HarvestJob.h:225
void SetChannelName(const char *value)
Definition HarvestJob.h:69
void SetOriginEndpointName(const Aws::String &value)
Definition HarvestJob.h:81
HarvestJob & WithETag(Aws::String &&value)
Definition HarvestJob.h:228
HarvestJob & WithChannelGroupName(Aws::String &&value)
Definition HarvestJob.h:57
void SetDestination(Destination &&value)
Definition HarvestJob.h:96
const Aws::String & GetArn() const
Definition HarvestJob.h:157
HarvestJob & WithHarvestedManifests(const HarvestedManifests &value)
Definition HarvestJob.h:123
const Aws::Utils::DateTime & GetModifiedAt() const
Definition HarvestJob.h:183
HarvestJob & WithHarvestJobName(const char *value)
Definition HarvestJob.h:112
AWS_MEDIAPACKAGEV2_API HarvestJob(Aws::Utils::Json::JsonView jsonValue)
HarvestJob & WithStatus(HarvestJobStatus &&value)
Definition HarvestJob.h:201
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition HarvestJob.h:174
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue