AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeHarvestJobResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaPackage
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MEDIAPACKAGE_API DescribeHarvestJobResult() = default;
35
36
38
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 DescribeHarvestJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
54 inline const Aws::String& GetChannelId() const { return m_channelId; }
55 template<typename ChannelIdT = Aws::String>
56 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
57 template<typename ChannelIdT = Aws::String>
58 DescribeHarvestJobResult& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
67 template<typename CreatedAtT = Aws::String>
68 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
69 template<typename CreatedAtT = Aws::String>
70 DescribeHarvestJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
72
74
78 inline const Aws::String& GetEndTime() const { return m_endTime; }
79 template<typename EndTimeT = Aws::String>
80 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
81 template<typename EndTimeT = Aws::String>
82 DescribeHarvestJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
84
86
92 inline const Aws::String& GetId() const { return m_id; }
93 template<typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
95 template<typename IdT = Aws::String>
96 DescribeHarvestJobResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
98
100
106 inline const Aws::String& GetOriginEndpointId() const { return m_originEndpointId; }
107 template<typename OriginEndpointIdT = Aws::String>
108 void SetOriginEndpointId(OriginEndpointIdT&& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = std::forward<OriginEndpointIdT>(value); }
109 template<typename OriginEndpointIdT = Aws::String>
110 DescribeHarvestJobResult& WithOriginEndpointId(OriginEndpointIdT&& value) { SetOriginEndpointId(std::forward<OriginEndpointIdT>(value)); return *this;}
112
114
115 inline const S3Destination& GetS3Destination() const { return m_s3Destination; }
116 template<typename S3DestinationT = S3Destination>
117 void SetS3Destination(S3DestinationT&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::forward<S3DestinationT>(value); }
118 template<typename S3DestinationT = S3Destination>
119 DescribeHarvestJobResult& WithS3Destination(S3DestinationT&& value) { SetS3Destination(std::forward<S3DestinationT>(value)); return *this;}
121
123
127 inline const Aws::String& GetStartTime() const { return m_startTime; }
128 template<typename StartTimeT = Aws::String>
129 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
130 template<typename StartTimeT = Aws::String>
131 DescribeHarvestJobResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
133
135
143 inline Status GetStatus() const { return m_status; }
144 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
145 inline DescribeHarvestJobResult& WithStatus(Status value) { SetStatus(value); return *this;}
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template<typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
153 template<typename RequestIdT = Aws::String>
154 DescribeHarvestJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
156 private:
157
158 Aws::String m_arn;
159 bool m_arnHasBeenSet = false;
160
161 Aws::String m_channelId;
162 bool m_channelIdHasBeenSet = false;
163
164 Aws::String m_createdAt;
165 bool m_createdAtHasBeenSet = false;
166
167 Aws::String m_endTime;
168 bool m_endTimeHasBeenSet = false;
169
170 Aws::String m_id;
171 bool m_idHasBeenSet = false;
172
173 Aws::String m_originEndpointId;
174 bool m_originEndpointIdHasBeenSet = false;
175
176 S3Destination m_s3Destination;
177 bool m_s3DestinationHasBeenSet = false;
178
179 Aws::String m_startTime;
180 bool m_startTimeHasBeenSet = false;
181
182 Status m_status{Status::NOT_SET};
183 bool m_statusHasBeenSet = false;
184
185 Aws::String m_requestId;
186 bool m_requestIdHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace MediaPackage
191} // namespace Aws
DescribeHarvestJobResult & WithChannelId(ChannelIdT &&value)
AWS_MEDIAPACKAGE_API DescribeHarvestJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHarvestJobResult & WithStatus(Status value)
DescribeHarvestJobResult & WithS3Destination(S3DestinationT &&value)
DescribeHarvestJobResult & WithCreatedAt(CreatedAtT &&value)
DescribeHarvestJobResult & WithArn(ArnT &&value)
DescribeHarvestJobResult & WithStartTime(StartTimeT &&value)
AWS_MEDIAPACKAGE_API DescribeHarvestJobResult()=default
DescribeHarvestJobResult & WithRequestId(RequestIdT &&value)
DescribeHarvestJobResult & WithEndTime(EndTimeT &&value)
DescribeHarvestJobResult & WithOriginEndpointId(OriginEndpointIdT &&value)
AWS_MEDIAPACKAGE_API DescribeHarvestJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue