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/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage/model/S3Destination.h>
10#include <aws/mediapackage/model/Status.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaPackage
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIAPACKAGE_API HarvestJob();
37 AWS_MEDIAPACKAGE_API HarvestJob(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGE_API HarvestJob& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline HarvestJob& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline HarvestJob& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline HarvestJob& WithArn(const char* value) { SetArn(value); return *this;}
56
58
62 inline const Aws::String& GetChannelId() const{ return m_channelId; }
63 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
64 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
65 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
66 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
67 inline HarvestJob& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
68 inline HarvestJob& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
69 inline HarvestJob& WithChannelId(const char* value) { SetChannelId(value); return *this;}
71
73
77 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
80 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
81 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
82 inline HarvestJob& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
83 inline HarvestJob& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
84 inline HarvestJob& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
86
88
92 inline const Aws::String& GetEndTime() const{ return m_endTime; }
93 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
94 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
95 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
96 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
97 inline HarvestJob& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
98 inline HarvestJob& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
99 inline HarvestJob& WithEndTime(const char* value) { SetEndTime(value); return *this;}
101
103
109 inline const Aws::String& GetId() const{ return m_id; }
110 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
111 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
112 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
113 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
114 inline HarvestJob& WithId(const Aws::String& value) { SetId(value); return *this;}
115 inline HarvestJob& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
116 inline HarvestJob& WithId(const char* value) { SetId(value); return *this;}
118
120
126 inline const Aws::String& GetOriginEndpointId() const{ return m_originEndpointId; }
127 inline bool OriginEndpointIdHasBeenSet() const { return m_originEndpointIdHasBeenSet; }
128 inline void SetOriginEndpointId(const Aws::String& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = value; }
129 inline void SetOriginEndpointId(Aws::String&& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = std::move(value); }
130 inline void SetOriginEndpointId(const char* value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId.assign(value); }
131 inline HarvestJob& WithOriginEndpointId(const Aws::String& value) { SetOriginEndpointId(value); return *this;}
132 inline HarvestJob& WithOriginEndpointId(Aws::String&& value) { SetOriginEndpointId(std::move(value)); return *this;}
133 inline HarvestJob& WithOriginEndpointId(const char* value) { SetOriginEndpointId(value); return *this;}
135
137
138 inline const S3Destination& GetS3Destination() const{ return m_s3Destination; }
139 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
140 inline void SetS3Destination(const S3Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
141 inline void SetS3Destination(S3Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
142 inline HarvestJob& WithS3Destination(const S3Destination& value) { SetS3Destination(value); return *this;}
143 inline HarvestJob& WithS3Destination(S3Destination&& value) { SetS3Destination(std::move(value)); return *this;}
145
147
151 inline const Aws::String& GetStartTime() const{ return m_startTime; }
152 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
153 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
154 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
155 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
156 inline HarvestJob& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
157 inline HarvestJob& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
158 inline HarvestJob& WithStartTime(const char* value) { SetStartTime(value); return *this;}
160
162
170 inline const Status& GetStatus() const{ return m_status; }
171 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
172 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
173 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
174 inline HarvestJob& WithStatus(const Status& value) { SetStatus(value); return *this;}
175 inline HarvestJob& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
177 private:
178
179 Aws::String m_arn;
180 bool m_arnHasBeenSet = false;
181
182 Aws::String m_channelId;
183 bool m_channelIdHasBeenSet = false;
184
185 Aws::String m_createdAt;
186 bool m_createdAtHasBeenSet = false;
187
188 Aws::String m_endTime;
189 bool m_endTimeHasBeenSet = false;
190
191 Aws::String m_id;
192 bool m_idHasBeenSet = false;
193
194 Aws::String m_originEndpointId;
195 bool m_originEndpointIdHasBeenSet = false;
196
197 S3Destination m_s3Destination;
198 bool m_s3DestinationHasBeenSet = false;
199
200 Aws::String m_startTime;
201 bool m_startTimeHasBeenSet = false;
202
203 Status m_status;
204 bool m_statusHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace MediaPackage
209} // namespace Aws
HarvestJob & WithOriginEndpointId(const Aws::String &value)
Definition HarvestJob.h:131
const Aws::String & GetCreatedAt() const
Definition HarvestJob.h:77
void SetId(Aws::String &&value)
Definition HarvestJob.h:112
HarvestJob & WithStartTime(const char *value)
Definition HarvestJob.h:158
void SetS3Destination(S3Destination &&value)
Definition HarvestJob.h:141
HarvestJob & WithOriginEndpointId(Aws::String &&value)
Definition HarvestJob.h:132
const Aws::String & GetEndTime() const
Definition HarvestJob.h:92
HarvestJob & WithId(const Aws::String &value)
Definition HarvestJob.h:114
HarvestJob & WithChannelId(Aws::String &&value)
Definition HarvestJob.h:68
const Aws::String & GetArn() const
Definition HarvestJob.h:47
HarvestJob & WithStartTime(Aws::String &&value)
Definition HarvestJob.h:157
void SetEndTime(const char *value)
Definition HarvestJob.h:96
void SetCreatedAt(const Aws::String &value)
Definition HarvestJob.h:79
HarvestJob & WithChannelId(const Aws::String &value)
Definition HarvestJob.h:67
void SetChannelId(const Aws::String &value)
Definition HarvestJob.h:64
void SetCreatedAt(Aws::String &&value)
Definition HarvestJob.h:80
HarvestJob & WithS3Destination(const S3Destination &value)
Definition HarvestJob.h:142
HarvestJob & WithArn(const Aws::String &value)
Definition HarvestJob.h:52
void SetStatus(const Status &value)
Definition HarvestJob.h:172
const Aws::String & GetId() const
Definition HarvestJob.h:109
HarvestJob & WithCreatedAt(const char *value)
Definition HarvestJob.h:84
HarvestJob & WithEndTime(Aws::String &&value)
Definition HarvestJob.h:98
void SetEndTime(Aws::String &&value)
Definition HarvestJob.h:95
HarvestJob & WithStartTime(const Aws::String &value)
Definition HarvestJob.h:156
HarvestJob & WithId(Aws::String &&value)
Definition HarvestJob.h:115
HarvestJob & WithEndTime(const Aws::String &value)
Definition HarvestJob.h:97
void SetEndTime(const Aws::String &value)
Definition HarvestJob.h:94
HarvestJob & WithOriginEndpointId(const char *value)
Definition HarvestJob.h:133
void SetOriginEndpointId(Aws::String &&value)
Definition HarvestJob.h:129
const Aws::String & GetChannelId() const
Definition HarvestJob.h:62
void SetId(const char *value)
Definition HarvestJob.h:113
HarvestJob & WithId(const char *value)
Definition HarvestJob.h:116
void SetStartTime(const char *value)
Definition HarvestJob.h:155
HarvestJob & WithS3Destination(S3Destination &&value)
Definition HarvestJob.h:143
void SetArn(Aws::String &&value)
Definition HarvestJob.h:50
void SetChannelId(const char *value)
Definition HarvestJob.h:66
HarvestJob & WithChannelId(const char *value)
Definition HarvestJob.h:69
void SetStartTime(const Aws::String &value)
Definition HarvestJob.h:153
void SetArn(const char *value)
Definition HarvestJob.h:51
AWS_MEDIAPACKAGE_API HarvestJob()
void SetCreatedAt(const char *value)
Definition HarvestJob.h:81
AWS_MEDIAPACKAGE_API HarvestJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStartTime() const
Definition HarvestJob.h:151
const Status & GetStatus() const
Definition HarvestJob.h:170
void SetStartTime(Aws::String &&value)
Definition HarvestJob.h:154
HarvestJob & WithStatus(const Status &value)
Definition HarvestJob.h:174
HarvestJob & WithArn(const char *value)
Definition HarvestJob.h:54
void SetChannelId(Aws::String &&value)
Definition HarvestJob.h:65
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOriginEndpointId() const
Definition HarvestJob.h:126
HarvestJob & WithCreatedAt(Aws::String &&value)
Definition HarvestJob.h:83
void SetArn(const Aws::String &value)
Definition HarvestJob.h:49
void SetId(const Aws::String &value)
Definition HarvestJob.h:111
AWS_MEDIAPACKAGE_API HarvestJob(Aws::Utils::Json::JsonView jsonValue)
HarvestJob & WithCreatedAt(const Aws::String &value)
Definition HarvestJob.h:82
void SetOriginEndpointId(const char *value)
Definition HarvestJob.h:130
const S3Destination & GetS3Destination() const
Definition HarvestJob.h:138
void SetS3Destination(const S3Destination &value)
Definition HarvestJob.h:140
HarvestJob & WithStatus(Status &&value)
Definition HarvestJob.h:175
void SetOriginEndpointId(const Aws::String &value)
Definition HarvestJob.h:128
HarvestJob & WithArn(Aws::String &&value)
Definition HarvestJob.h:53
HarvestJob & WithEndTime(const char *value)
Definition HarvestJob.h:99
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue