AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline DescribeHarvestJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline DescribeHarvestJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline DescribeHarvestJobResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
56 inline const Aws::String& GetChannelId() const{ return m_channelId; }
57 inline void SetChannelId(const Aws::String& value) { m_channelId = value; }
58 inline void SetChannelId(Aws::String&& value) { m_channelId = std::move(value); }
59 inline void SetChannelId(const char* value) { m_channelId.assign(value); }
60 inline DescribeHarvestJobResult& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
61 inline DescribeHarvestJobResult& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
62 inline DescribeHarvestJobResult& WithChannelId(const char* value) { SetChannelId(value); return *this;}
64
66
70 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
71 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
72 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
73 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
74 inline DescribeHarvestJobResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
75 inline DescribeHarvestJobResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
76 inline DescribeHarvestJobResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
78
80
84 inline const Aws::String& GetEndTime() const{ return m_endTime; }
85 inline void SetEndTime(const Aws::String& value) { m_endTime = value; }
86 inline void SetEndTime(Aws::String&& value) { m_endTime = std::move(value); }
87 inline void SetEndTime(const char* value) { m_endTime.assign(value); }
88 inline DescribeHarvestJobResult& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
89 inline DescribeHarvestJobResult& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
90 inline DescribeHarvestJobResult& WithEndTime(const char* value) { SetEndTime(value); return *this;}
92
94
100 inline const Aws::String& GetId() const{ return m_id; }
101 inline void SetId(const Aws::String& value) { m_id = value; }
102 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
103 inline void SetId(const char* value) { m_id.assign(value); }
104 inline DescribeHarvestJobResult& WithId(const Aws::String& value) { SetId(value); return *this;}
105 inline DescribeHarvestJobResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
106 inline DescribeHarvestJobResult& WithId(const char* value) { SetId(value); return *this;}
108
110
116 inline const Aws::String& GetOriginEndpointId() const{ return m_originEndpointId; }
117 inline void SetOriginEndpointId(const Aws::String& value) { m_originEndpointId = value; }
118 inline void SetOriginEndpointId(Aws::String&& value) { m_originEndpointId = std::move(value); }
119 inline void SetOriginEndpointId(const char* value) { m_originEndpointId.assign(value); }
121 inline DescribeHarvestJobResult& WithOriginEndpointId(Aws::String&& value) { SetOriginEndpointId(std::move(value)); return *this;}
122 inline DescribeHarvestJobResult& WithOriginEndpointId(const char* value) { SetOriginEndpointId(value); return *this;}
124
126
127 inline const S3Destination& GetS3Destination() const{ return m_s3Destination; }
128 inline void SetS3Destination(const S3Destination& value) { m_s3Destination = value; }
129 inline void SetS3Destination(S3Destination&& value) { m_s3Destination = std::move(value); }
130 inline DescribeHarvestJobResult& WithS3Destination(const S3Destination& value) { SetS3Destination(value); return *this;}
131 inline DescribeHarvestJobResult& WithS3Destination(S3Destination&& value) { SetS3Destination(std::move(value)); return *this;}
133
135
139 inline const Aws::String& GetStartTime() const{ return m_startTime; }
140 inline void SetStartTime(const Aws::String& value) { m_startTime = value; }
141 inline void SetStartTime(Aws::String&& value) { m_startTime = std::move(value); }
142 inline void SetStartTime(const char* value) { m_startTime.assign(value); }
143 inline DescribeHarvestJobResult& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
144 inline DescribeHarvestJobResult& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
145 inline DescribeHarvestJobResult& WithStartTime(const char* value) { SetStartTime(value); return *this;}
147
149
157 inline const Status& GetStatus() const{ return m_status; }
158 inline void SetStatus(const Status& value) { m_status = value; }
159 inline void SetStatus(Status&& value) { m_status = std::move(value); }
160 inline DescribeHarvestJobResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
161 inline DescribeHarvestJobResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
163
165
166 inline const Aws::String& GetRequestId() const{ return m_requestId; }
167 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
168 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
169 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
170 inline DescribeHarvestJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
171 inline DescribeHarvestJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
172 inline DescribeHarvestJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
174 private:
175
176 Aws::String m_arn;
177
178 Aws::String m_channelId;
179
180 Aws::String m_createdAt;
181
182 Aws::String m_endTime;
183
184 Aws::String m_id;
185
186 Aws::String m_originEndpointId;
187
188 S3Destination m_s3Destination;
189
190 Aws::String m_startTime;
191
192 Status m_status;
193
194 Aws::String m_requestId;
195 };
196
197} // namespace Model
198} // namespace MediaPackage
199} // namespace Aws
DescribeHarvestJobResult & WithArn(const Aws::String &value)
DescribeHarvestJobResult & WithChannelId(Aws::String &&value)
DescribeHarvestJobResult & WithEndTime(Aws::String &&value)
DescribeHarvestJobResult & WithCreatedAt(Aws::String &&value)
DescribeHarvestJobResult & WithEndTime(const char *value)
DescribeHarvestJobResult & WithStartTime(Aws::String &&value)
AWS_MEDIAPACKAGE_API DescribeHarvestJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHarvestJobResult & WithCreatedAt(const Aws::String &value)
DescribeHarvestJobResult & WithStartTime(const char *value)
DescribeHarvestJobResult & WithEndTime(const Aws::String &value)
DescribeHarvestJobResult & WithStatus(const Status &value)
DescribeHarvestJobResult & WithChannelId(const char *value)
DescribeHarvestJobResult & WithRequestId(const Aws::String &value)
DescribeHarvestJobResult & WithId(Aws::String &&value)
DescribeHarvestJobResult & WithArn(Aws::String &&value)
DescribeHarvestJobResult & WithId(const Aws::String &value)
DescribeHarvestJobResult & WithOriginEndpointId(Aws::String &&value)
DescribeHarvestJobResult & WithCreatedAt(const char *value)
DescribeHarvestJobResult & WithArn(const char *value)
DescribeHarvestJobResult & WithId(const char *value)
DescribeHarvestJobResult & WithS3Destination(const S3Destination &value)
DescribeHarvestJobResult & WithStartTime(const Aws::String &value)
DescribeHarvestJobResult & WithOriginEndpointId(const Aws::String &value)
DescribeHarvestJobResult & WithS3Destination(S3Destination &&value)
DescribeHarvestJobResult & WithRequestId(Aws::String &&value)
DescribeHarvestJobResult & WithOriginEndpointId(const char *value)
DescribeHarvestJobResult & WithRequestId(const char *value)
DescribeHarvestJobResult & WithStatus(Status &&value)
DescribeHarvestJobResult & WithChannelId(const Aws::String &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