7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/devicefarm/model/UploadType.h>
11#include <aws/devicefarm/model/UploadStatus.h>
12#include <aws/devicefarm/model/UploadCategory.h>
39 AWS_DEVICEFARM_API
Upload() =
default;
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename CreatedT = Aws::Utils::DateTime>
76 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
77 template<
typename CreatedT = Aws::Utils::DateTime>
131 template<
typename UrlT = Aws::String>
132 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
133 template<
typename UrlT = Aws::String>
145 template<
typename MetadataT = Aws::String>
146 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
147 template<
typename MetadataT = Aws::String>
158 template<
typename ContentTypeT = Aws::String>
159 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
160 template<
typename ContentTypeT = Aws::String>
170 template<
typename MessageT = Aws::String>
171 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
172 template<
typename MessageT = Aws::String>
190 bool m_arnHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
196 bool m_createdHasBeenSet =
false;
199 bool m_typeHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
205 bool m_urlHasBeenSet =
false;
208 bool m_metadataHasBeenSet =
false;
211 bool m_contentTypeHasBeenSet =
false;
214 bool m_messageHasBeenSet =
false;
217 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