AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
45
46
48
52 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
53 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupName = value; }
54 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupName = std::move(value); }
55 inline void SetChannelGroupName(const char* value) { m_channelGroupName.assign(value); }
56 inline CreateHarvestJobResult& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
57 inline CreateHarvestJobResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
58 inline CreateHarvestJobResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
60
62
65 inline const Aws::String& GetChannelName() const{ return m_channelName; }
66 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
67 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
68 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
69 inline CreateHarvestJobResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
70 inline CreateHarvestJobResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
71 inline CreateHarvestJobResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
73
75
78 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
79 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointName = value; }
80 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointName = std::move(value); }
81 inline void SetOriginEndpointName(const char* value) { m_originEndpointName.assign(value); }
83 inline CreateHarvestJobResult& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
84 inline CreateHarvestJobResult& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
86
88
91 inline const Destination& GetDestination() const{ return m_destination; }
92 inline void SetDestination(const Destination& value) { m_destination = value; }
93 inline void SetDestination(Destination&& value) { m_destination = std::move(value); }
94 inline CreateHarvestJobResult& WithDestination(const Destination& value) { SetDestination(value); return *this;}
95 inline CreateHarvestJobResult& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetHarvestJobName() const{ return m_harvestJobName; }
103 inline void SetHarvestJobName(const Aws::String& value) { m_harvestJobName = value; }
104 inline void SetHarvestJobName(Aws::String&& value) { m_harvestJobName = std::move(value); }
105 inline void SetHarvestJobName(const char* value) { m_harvestJobName.assign(value); }
106 inline CreateHarvestJobResult& WithHarvestJobName(const Aws::String& value) { SetHarvestJobName(value); return *this;}
107 inline CreateHarvestJobResult& WithHarvestJobName(Aws::String&& value) { SetHarvestJobName(std::move(value)); return *this;}
108 inline CreateHarvestJobResult& WithHarvestJobName(const char* value) { SetHarvestJobName(value); return *this;}
110
112
115 inline const HarvestedManifests& GetHarvestedManifests() const{ return m_harvestedManifests; }
116 inline void SetHarvestedManifests(const HarvestedManifests& value) { m_harvestedManifests = value; }
117 inline void SetHarvestedManifests(HarvestedManifests&& value) { m_harvestedManifests = std::move(value); }
121
123
126 inline const Aws::String& GetDescription() const{ return m_description; }
127 inline void SetDescription(const Aws::String& value) { m_description = value; }
128 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
129 inline void SetDescription(const char* value) { m_description.assign(value); }
130 inline CreateHarvestJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 inline CreateHarvestJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
132 inline CreateHarvestJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
134
136
140 inline const HarvesterScheduleConfiguration& GetScheduleConfiguration() const{ return m_scheduleConfiguration; }
141 inline void SetScheduleConfiguration(const HarvesterScheduleConfiguration& value) { m_scheduleConfiguration = value; }
142 inline void SetScheduleConfiguration(HarvesterScheduleConfiguration&& value) { m_scheduleConfiguration = std::move(value); }
146
148
151 inline const Aws::String& GetArn() const{ return m_arn; }
152 inline void SetArn(const Aws::String& value) { m_arn = value; }
153 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
154 inline void SetArn(const char* value) { m_arn.assign(value); }
155 inline CreateHarvestJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
156 inline CreateHarvestJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
157 inline CreateHarvestJobResult& WithArn(const char* value) { SetArn(value); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
165 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
166 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
167 inline CreateHarvestJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
168 inline CreateHarvestJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
170
172
175 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
176 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
177 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
178 inline CreateHarvestJobResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
179 inline CreateHarvestJobResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
181
183
187 inline const HarvestJobStatus& GetStatus() const{ return m_status; }
188 inline void SetStatus(const HarvestJobStatus& value) { m_status = value; }
189 inline void SetStatus(HarvestJobStatus&& value) { m_status = std::move(value); }
190 inline CreateHarvestJobResult& WithStatus(const HarvestJobStatus& value) { SetStatus(value); return *this;}
191 inline CreateHarvestJobResult& WithStatus(HarvestJobStatus&& value) { SetStatus(std::move(value)); return *this;}
193
195
198 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
199 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
200 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
201 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
202 inline CreateHarvestJobResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
203 inline CreateHarvestJobResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
204 inline CreateHarvestJobResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
206
208
211 inline const Aws::String& GetETag() const{ return m_eTag; }
212 inline void SetETag(const Aws::String& value) { m_eTag = value; }
213 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
214 inline void SetETag(const char* value) { m_eTag.assign(value); }
215 inline CreateHarvestJobResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
216 inline CreateHarvestJobResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
217 inline CreateHarvestJobResult& WithETag(const char* value) { SetETag(value); return *this;}
219
221
224 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
225 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
226 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
227 inline CreateHarvestJobResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
228 inline CreateHarvestJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
229 inline CreateHarvestJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
230 inline CreateHarvestJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
231 inline CreateHarvestJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
232 inline CreateHarvestJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
233 inline CreateHarvestJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
234 inline CreateHarvestJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
235 inline CreateHarvestJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
237
239
240 inline const Aws::String& GetRequestId() const{ return m_requestId; }
241 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
242 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
243 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
244 inline CreateHarvestJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
245 inline CreateHarvestJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
246 inline CreateHarvestJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
248 private:
249
250 Aws::String m_channelGroupName;
251
252 Aws::String m_channelName;
253
254 Aws::String m_originEndpointName;
255
256 Destination m_destination;
257
258 Aws::String m_harvestJobName;
259
260 HarvestedManifests m_harvestedManifests;
261
262 Aws::String m_description;
263
264 HarvesterScheduleConfiguration m_scheduleConfiguration;
265
266 Aws::String m_arn;
267
268 Aws::Utils::DateTime m_createdAt;
269
270 Aws::Utils::DateTime m_modifiedAt;
271
272 HarvestJobStatus m_status;
273
274 Aws::String m_errorMessage;
275
276 Aws::String m_eTag;
277
279
280 Aws::String m_requestId;
281 };
282
283} // namespace Model
284} // namespace mediapackagev2
285} // namespace Aws
CreateHarvestJobResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateHarvestJobResult & WithHarvestJobName(Aws::String &&value)
const HarvesterScheduleConfiguration & GetScheduleConfiguration() const
CreateHarvestJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateHarvestJobResult & WithArn(const Aws::String &value)
CreateHarvestJobResult & WithModifiedAt(const Aws::Utils::DateTime &value)
CreateHarvestJobResult & WithDescription(const char *value)
CreateHarvestJobResult & WithRequestId(Aws::String &&value)
CreateHarvestJobResult & WithOriginEndpointName(const Aws::String &value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
CreateHarvestJobResult & WithHarvestedManifests(const HarvestedManifests &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateHarvestJobResult & WithScheduleConfiguration(HarvesterScheduleConfiguration &&value)
CreateHarvestJobResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateHarvestJobResult & WithETag(const Aws::String &value)
CreateHarvestJobResult & WithArn(Aws::String &&value)
CreateHarvestJobResult & WithOriginEndpointName(Aws::String &&value)
CreateHarvestJobResult & WithErrorMessage(Aws::String &&value)
void SetHarvestedManifests(const HarvestedManifests &value)
CreateHarvestJobResult & AddTags(const char *key, const char *value)
CreateHarvestJobResult & AddTags(Aws::String &&key, const char *value)
CreateHarvestJobResult & WithHarvestJobName(const char *value)
CreateHarvestJobResult & WithDescription(const Aws::String &value)
void SetScheduleConfiguration(const HarvesterScheduleConfiguration &value)
CreateHarvestJobResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateHarvestJobResult & WithErrorMessage(const char *value)
CreateHarvestJobResult & WithModifiedAt(Aws::Utils::DateTime &&value)
AWS_MEDIAPACKAGEV2_API CreateHarvestJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateHarvestJobResult & WithChannelGroupName(Aws::String &&value)
CreateHarvestJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateHarvestJobResult & WithStatus(HarvestJobStatus &&value)
CreateHarvestJobResult & WithErrorMessage(const Aws::String &value)
CreateHarvestJobResult & WithHarvestedManifests(HarvestedManifests &&value)
CreateHarvestJobResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateHarvestJobResult & WithArn(const char *value)
CreateHarvestJobResult & WithChannelGroupName(const char *value)
CreateHarvestJobResult & WithHarvestJobName(const Aws::String &value)
CreateHarvestJobResult & WithDescription(Aws::String &&value)
void SetScheduleConfiguration(HarvesterScheduleConfiguration &&value)
CreateHarvestJobResult & WithDestination(const Destination &value)
CreateHarvestJobResult & WithChannelGroupName(const Aws::String &value)
CreateHarvestJobResult & WithChannelName(const char *value)
CreateHarvestJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateHarvestJobResult & WithRequestId(const Aws::String &value)
CreateHarvestJobResult & WithChannelName(Aws::String &&value)
CreateHarvestJobResult & WithRequestId(const char *value)
CreateHarvestJobResult & WithETag(Aws::String &&value)
CreateHarvestJobResult & WithOriginEndpointName(const char *value)
CreateHarvestJobResult & WithChannelName(const Aws::String &value)
CreateHarvestJobResult & WithETag(const char *value)
AWS_MEDIAPACKAGEV2_API CreateHarvestJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateHarvestJobResult & WithDestination(Destination &&value)
CreateHarvestJobResult & WithScheduleConfiguration(const HarvesterScheduleConfiguration &value)
CreateHarvestJobResult & AddTags(const char *key, Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateHarvestJobResult & WithStatus(const HarvestJobStatus &value)
CreateHarvestJobResult & WithCreatedAt(Aws::Utils::DateTime &&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
Aws::Utils::Json::JsonValue JsonValue