7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/UploadCategory.h>
11#include <aws/devicefarm/model/UploadStatus.h>
12#include <aws/devicefarm/model/UploadType.h>
34 AWS_DEVICEFARM_API
Upload() =
default;
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename CreatedT = Aws::Utils::DateTime>
83 m_createdHasBeenSet =
true;
84 m_created = std::forward<CreatedT>(value);
86 template <
typename CreatedT = Aws::Utils::DateTime>
121 m_typeHasBeenSet =
true;
139 m_statusHasBeenSet =
true;
155 template <
typename UrlT = Aws::String>
157 m_urlHasBeenSet =
true;
158 m_url = std::forward<UrlT>(value);
160 template <
typename UrlT = Aws::String>
162 SetUrl(std::forward<UrlT>(value));
175 template <
typename MetadataT = Aws::String>
177 m_metadataHasBeenSet =
true;
178 m_metadata = std::forward<MetadataT>(value);
180 template <
typename MetadataT = Aws::String>
194 template <
typename ContentTypeT = Aws::String>
196 m_contentTypeHasBeenSet =
true;
197 m_contentType = std::forward<ContentTypeT>(value);
199 template <
typename ContentTypeT = Aws::String>
212 template <
typename MessageT = Aws::String>
214 m_messageHasBeenSet =
true;
215 m_message = std::forward<MessageT>(value);
217 template <
typename MessageT = Aws::String>
233 m_categoryHasBeenSet =
true;
261 bool m_arnHasBeenSet =
false;
262 bool m_nameHasBeenSet =
false;
263 bool m_createdHasBeenSet =
false;
264 bool m_typeHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
266 bool m_urlHasBeenSet =
false;
267 bool m_metadataHasBeenSet =
false;
268 bool m_contentTypeHasBeenSet =
false;
269 bool m_messageHasBeenSet =
false;
270 bool m_categoryHasBeenSet =
false;
bool UrlHasBeenSet() const
Upload & WithContentType(ContentTypeT &&value)
void SetCategory(UploadCategory value)
const Aws::String & GetMessage() const
bool CreatedHasBeenSet() const
UploadStatus GetStatus() const
bool ContentTypeHasBeenSet() const
const Aws::String & GetContentType() const
bool CategoryHasBeenSet() const
Upload & WithMessage(MessageT &&value)
void SetMetadata(MetadataT &&value)
void SetStatus(UploadStatus value)
bool StatusHasBeenSet() const
Upload & WithMetadata(MetadataT &&value)
UploadType GetType() const
bool MetadataHasBeenSet() const
UploadCategory GetCategory() const
bool MessageHasBeenSet() const
AWS_DEVICEFARM_API Upload & operator=(Aws::Utils::Json::JsonView jsonValue)
Upload & WithArn(ArnT &&value)
AWS_DEVICEFARM_API Upload(Aws::Utils::Json::JsonView jsonValue)
void SetCreated(CreatedT &&value)
const Aws::Utils::DateTime & GetCreated() const
const Aws::String & GetName() const
AWS_DEVICEFARM_API Upload()=default
const Aws::String & GetArn() const
void SetUrl(UrlT &&value)
bool NameHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetUrl() const
bool TypeHasBeenSet() const
Upload & WithUrl(UrlT &&value)
Upload & WithStatus(UploadStatus value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(UploadType value)
Upload & WithCreated(CreatedT &&value)
Upload & WithName(NameT &&value)
void SetName(NameT &&value)
Upload & WithType(UploadType value)
Upload & WithCategory(UploadCategory value)
void SetMessage(MessageT &&value)
void SetContentType(ContentTypeT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue