AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 HarvestJob& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
60 inline const Aws::String& GetChannelId() const { return m_channelId; }
61 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
62 template<typename ChannelIdT = Aws::String>
63 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
64 template<typename ChannelIdT = Aws::String>
65 HarvestJob& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
74 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
75 template<typename CreatedAtT = Aws::String>
76 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
77 template<typename CreatedAtT = Aws::String>
78 HarvestJob& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
80
82
86 inline const Aws::String& GetEndTime() const { return m_endTime; }
87 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
88 template<typename EndTimeT = Aws::String>
89 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
90 template<typename EndTimeT = Aws::String>
91 HarvestJob& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
93
95
101 inline const Aws::String& GetId() const { return m_id; }
102 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
103 template<typename IdT = Aws::String>
104 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
105 template<typename IdT = Aws::String>
106 HarvestJob& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
108
110
116 inline const Aws::String& GetOriginEndpointId() const { return m_originEndpointId; }
117 inline bool OriginEndpointIdHasBeenSet() const { return m_originEndpointIdHasBeenSet; }
118 template<typename OriginEndpointIdT = Aws::String>
119 void SetOriginEndpointId(OriginEndpointIdT&& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = std::forward<OriginEndpointIdT>(value); }
120 template<typename OriginEndpointIdT = Aws::String>
121 HarvestJob& WithOriginEndpointId(OriginEndpointIdT&& value) { SetOriginEndpointId(std::forward<OriginEndpointIdT>(value)); return *this;}
123
125
126 inline const S3Destination& GetS3Destination() const { return m_s3Destination; }
127 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
128 template<typename S3DestinationT = S3Destination>
129 void SetS3Destination(S3DestinationT&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::forward<S3DestinationT>(value); }
130 template<typename S3DestinationT = S3Destination>
131 HarvestJob& WithS3Destination(S3DestinationT&& value) { SetS3Destination(std::forward<S3DestinationT>(value)); return *this;}
133
135
139 inline const Aws::String& GetStartTime() const { return m_startTime; }
140 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
141 template<typename StartTimeT = Aws::String>
142 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
143 template<typename StartTimeT = Aws::String>
144 HarvestJob& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
146
148
156 inline Status GetStatus() const { return m_status; }
157 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
158 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
159 inline HarvestJob& WithStatus(Status value) { SetStatus(value); return *this;}
161 private:
162
163 Aws::String m_arn;
164 bool m_arnHasBeenSet = false;
165
166 Aws::String m_channelId;
167 bool m_channelIdHasBeenSet = false;
168
169 Aws::String m_createdAt;
170 bool m_createdAtHasBeenSet = false;
171
172 Aws::String m_endTime;
173 bool m_endTimeHasBeenSet = false;
174
175 Aws::String m_id;
176 bool m_idHasBeenSet = false;
177
178 Aws::String m_originEndpointId;
179 bool m_originEndpointIdHasBeenSet = false;
180
181 S3Destination m_s3Destination;
182 bool m_s3DestinationHasBeenSet = false;
183
184 Aws::String m_startTime;
185 bool m_startTimeHasBeenSet = false;
186
187 Status m_status{Status::NOT_SET};
188 bool m_statusHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace MediaPackage
193} // namespace Aws
void SetCreatedAt(CreatedAtT &&value)
Definition HarvestJob.h:76
const Aws::String & GetCreatedAt() const
Definition HarvestJob.h:73
const Aws::String & GetEndTime() const
Definition HarvestJob.h:86
HarvestJob & WithStartTime(StartTimeT &&value)
Definition HarvestJob.h:144
HarvestJob & WithChannelId(ChannelIdT &&value)
Definition HarvestJob.h:65
const Aws::String & GetArn() const
Definition HarvestJob.h:47
HarvestJob & WithOriginEndpointId(OriginEndpointIdT &&value)
Definition HarvestJob.h:121
AWS_MEDIAPACKAGE_API HarvestJob()=default
void SetEndTime(EndTimeT &&value)
Definition HarvestJob.h:89
void SetChannelId(ChannelIdT &&value)
Definition HarvestJob.h:63
HarvestJob & WithEndTime(EndTimeT &&value)
Definition HarvestJob.h:91
const Aws::String & GetId() const
Definition HarvestJob.h:101
void SetS3Destination(S3DestinationT &&value)
Definition HarvestJob.h:129
HarvestJob & WithS3Destination(S3DestinationT &&value)
Definition HarvestJob.h:131
HarvestJob & WithCreatedAt(CreatedAtT &&value)
Definition HarvestJob.h:78
const Aws::String & GetChannelId() const
Definition HarvestJob.h:60
void SetOriginEndpointId(OriginEndpointIdT &&value)
Definition HarvestJob.h:119
AWS_MEDIAPACKAGE_API HarvestJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStartTime() const
Definition HarvestJob.h:139
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOriginEndpointId() const
Definition HarvestJob.h:116
HarvestJob & WithId(IdT &&value)
Definition HarvestJob.h:106
HarvestJob & WithStatus(Status value)
Definition HarvestJob.h:159
HarvestJob & WithArn(ArnT &&value)
Definition HarvestJob.h:52
AWS_MEDIAPACKAGE_API HarvestJob(Aws::Utils::Json::JsonView jsonValue)
const S3Destination & GetS3Destination() const
Definition HarvestJob.h:126
void SetStartTime(StartTimeT &&value)
Definition HarvestJob.h:142
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue