/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

An app or a set of one or more tests to upload or that have been * uploaded.

See Also:

AWS * API Reference

*/ class Upload { public: AWS_DEVICEFARM_API Upload(); AWS_DEVICEFARM_API Upload(Aws::Utils::Json::JsonView jsonValue); AWS_DEVICEFARM_API Upload& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The upload's ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The upload's ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The upload's ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The upload's ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The upload's ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The upload's ARN.

*/ inline Upload& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The upload's ARN.

*/ inline Upload& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The upload's ARN.

*/ inline Upload& WithArn(const char* value) { SetArn(value); return *this;} /** *

The upload's file name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The upload's file name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The upload's file name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The upload's file name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The upload's file name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The upload's file name.

*/ inline Upload& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The upload's file name.

*/ inline Upload& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The upload's file name.

*/ inline Upload& WithName(const char* value) { SetName(value); return *this;} /** *

When the upload was created.

*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *

When the upload was created.

*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *

When the upload was created.

*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *

When the upload was created.

*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *

When the upload was created.

*/ inline Upload& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

When the upload was created.

*/ inline Upload& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *

The upload's type.

Must be one of the following values:

  • *

    ANDROID_APP

  • IOS_APP

  • WEB_APP

  • *
  • EXTERNAL_DATA

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE

  • *
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_PYTHON_TEST_PACKAGE

  • APPIUM_NODE_TEST_PACKAGE

    *
  • APPIUM_RUBY_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_WEB_PYTHON_TEST_PACKAGE

  • *

    APPIUM_WEB_NODE_TEST_PACKAGE

  • *

    APPIUM_WEB_RUBY_TEST_PACKAGE

  • CALABASH_TEST_PACKAGE

    *
  • INSTRUMENTATION_TEST_PACKAGE

  • *

    UIAUTOMATION_TEST_PACKAGE

  • UIAUTOMATOR_TEST_PACKAGE

    *
  • XCTEST_TEST_PACKAGE

  • XCTEST_UI_TEST_PACKAGE

    *
  • APPIUM_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_JAVA_TESTNG_TEST_SPEC

  • APPIUM_PYTHON_TEST_SPEC

    *
  • APPIUM_NODE_TEST_SPEC

  • APPIUM_RUBY_TEST_SPEC

    *
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

  • *

    APPIUM_WEB_PYTHON_TEST_SPEC

  • APPIUM_WEB_NODE_TEST_SPEC

    *
  • APPIUM_WEB_RUBY_TEST_SPEC

  • *

    INSTRUMENTATION_TEST_SPEC

  • XCTEST_UI_TEST_SPEC

  • *
*/ inline const UploadType& GetType() const{ return m_type; } /** *

The upload's type.

Must be one of the following values:

  • *

    ANDROID_APP

  • IOS_APP

  • WEB_APP

  • *
  • EXTERNAL_DATA

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE

  • *
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_PYTHON_TEST_PACKAGE

  • APPIUM_NODE_TEST_PACKAGE

    *
  • APPIUM_RUBY_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_WEB_PYTHON_TEST_PACKAGE

  • *

    APPIUM_WEB_NODE_TEST_PACKAGE

  • *

    APPIUM_WEB_RUBY_TEST_PACKAGE

  • CALABASH_TEST_PACKAGE

    *
  • INSTRUMENTATION_TEST_PACKAGE

  • *

    UIAUTOMATION_TEST_PACKAGE

  • UIAUTOMATOR_TEST_PACKAGE

    *
  • XCTEST_TEST_PACKAGE

  • XCTEST_UI_TEST_PACKAGE

    *
  • APPIUM_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_JAVA_TESTNG_TEST_SPEC

  • APPIUM_PYTHON_TEST_SPEC

    *
  • APPIUM_NODE_TEST_SPEC

  • APPIUM_RUBY_TEST_SPEC

    *
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

  • *

    APPIUM_WEB_PYTHON_TEST_SPEC

  • APPIUM_WEB_NODE_TEST_SPEC

    *
  • APPIUM_WEB_RUBY_TEST_SPEC

  • *

    INSTRUMENTATION_TEST_SPEC

  • XCTEST_UI_TEST_SPEC

  • *
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The upload's type.

Must be one of the following values:

  • *

    ANDROID_APP

  • IOS_APP

  • WEB_APP

  • *
  • EXTERNAL_DATA

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE

  • *
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_PYTHON_TEST_PACKAGE

  • APPIUM_NODE_TEST_PACKAGE

    *
  • APPIUM_RUBY_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_WEB_PYTHON_TEST_PACKAGE

  • *

    APPIUM_WEB_NODE_TEST_PACKAGE

  • *

    APPIUM_WEB_RUBY_TEST_PACKAGE

  • CALABASH_TEST_PACKAGE

    *
  • INSTRUMENTATION_TEST_PACKAGE

  • *

    UIAUTOMATION_TEST_PACKAGE

  • UIAUTOMATOR_TEST_PACKAGE

    *
  • XCTEST_TEST_PACKAGE

  • XCTEST_UI_TEST_PACKAGE

    *
  • APPIUM_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_JAVA_TESTNG_TEST_SPEC

  • APPIUM_PYTHON_TEST_SPEC

    *
  • APPIUM_NODE_TEST_SPEC

  • APPIUM_RUBY_TEST_SPEC

    *
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

  • *

    APPIUM_WEB_PYTHON_TEST_SPEC

  • APPIUM_WEB_NODE_TEST_SPEC

    *
  • APPIUM_WEB_RUBY_TEST_SPEC

  • *

    INSTRUMENTATION_TEST_SPEC

  • XCTEST_UI_TEST_SPEC

  • *
*/ inline void SetType(const UploadType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The upload's type.

Must be one of the following values:

  • *

    ANDROID_APP

  • IOS_APP

  • WEB_APP

  • *
  • EXTERNAL_DATA

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE

  • *
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_PYTHON_TEST_PACKAGE

  • APPIUM_NODE_TEST_PACKAGE

    *
  • APPIUM_RUBY_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_WEB_PYTHON_TEST_PACKAGE

  • *

    APPIUM_WEB_NODE_TEST_PACKAGE

  • *

    APPIUM_WEB_RUBY_TEST_PACKAGE

  • CALABASH_TEST_PACKAGE

    *
  • INSTRUMENTATION_TEST_PACKAGE

  • *

    UIAUTOMATION_TEST_PACKAGE

  • UIAUTOMATOR_TEST_PACKAGE

    *
  • XCTEST_TEST_PACKAGE

  • XCTEST_UI_TEST_PACKAGE

    *
  • APPIUM_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_JAVA_TESTNG_TEST_SPEC

  • APPIUM_PYTHON_TEST_SPEC

    *
  • APPIUM_NODE_TEST_SPEC

  • APPIUM_RUBY_TEST_SPEC

    *
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

  • *

    APPIUM_WEB_PYTHON_TEST_SPEC

  • APPIUM_WEB_NODE_TEST_SPEC

    *
  • APPIUM_WEB_RUBY_TEST_SPEC

  • *

    INSTRUMENTATION_TEST_SPEC

  • XCTEST_UI_TEST_SPEC

  • *
*/ inline void SetType(UploadType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The upload's type.

Must be one of the following values:

  • *

    ANDROID_APP

  • IOS_APP

  • WEB_APP

  • *
  • EXTERNAL_DATA

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE

  • *
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_PYTHON_TEST_PACKAGE

  • APPIUM_NODE_TEST_PACKAGE

    *
  • APPIUM_RUBY_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_WEB_PYTHON_TEST_PACKAGE

  • *

    APPIUM_WEB_NODE_TEST_PACKAGE

  • *

    APPIUM_WEB_RUBY_TEST_PACKAGE

  • CALABASH_TEST_PACKAGE

    *
  • INSTRUMENTATION_TEST_PACKAGE

  • *

    UIAUTOMATION_TEST_PACKAGE

  • UIAUTOMATOR_TEST_PACKAGE

    *
  • XCTEST_TEST_PACKAGE

  • XCTEST_UI_TEST_PACKAGE

    *
  • APPIUM_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_JAVA_TESTNG_TEST_SPEC

  • APPIUM_PYTHON_TEST_SPEC

    *
  • APPIUM_NODE_TEST_SPEC

  • APPIUM_RUBY_TEST_SPEC

    *
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

  • *

    APPIUM_WEB_PYTHON_TEST_SPEC

  • APPIUM_WEB_NODE_TEST_SPEC

    *
  • APPIUM_WEB_RUBY_TEST_SPEC

  • *

    INSTRUMENTATION_TEST_SPEC

  • XCTEST_UI_TEST_SPEC

  • *
*/ inline Upload& WithType(const UploadType& value) { SetType(value); return *this;} /** *

The upload's type.

Must be one of the following values:

  • *

    ANDROID_APP

  • IOS_APP

  • WEB_APP

  • *
  • EXTERNAL_DATA

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE

  • *
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_PYTHON_TEST_PACKAGE

  • APPIUM_NODE_TEST_PACKAGE

    *
  • APPIUM_RUBY_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

  • *

    APPIUM_WEB_PYTHON_TEST_PACKAGE

  • *

    APPIUM_WEB_NODE_TEST_PACKAGE

  • *

    APPIUM_WEB_RUBY_TEST_PACKAGE

  • CALABASH_TEST_PACKAGE

    *
  • INSTRUMENTATION_TEST_PACKAGE

  • *

    UIAUTOMATION_TEST_PACKAGE

  • UIAUTOMATOR_TEST_PACKAGE

    *
  • XCTEST_TEST_PACKAGE

  • XCTEST_UI_TEST_PACKAGE

    *
  • APPIUM_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_JAVA_TESTNG_TEST_SPEC

  • APPIUM_PYTHON_TEST_SPEC

    *
  • APPIUM_NODE_TEST_SPEC

  • APPIUM_RUBY_TEST_SPEC

    *
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

  • *

    APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

  • *

    APPIUM_WEB_PYTHON_TEST_SPEC

  • APPIUM_WEB_NODE_TEST_SPEC

    *
  • APPIUM_WEB_RUBY_TEST_SPEC

  • *

    INSTRUMENTATION_TEST_SPEC

  • XCTEST_UI_TEST_SPEC

  • *
*/ inline Upload& WithType(UploadType&& value) { SetType(std::move(value)); return *this;} /** *

The upload's status.

Must be one of the following values:

    *
  • FAILED

  • INITIALIZED

  • PROCESSING

    *
  • SUCCEEDED

*/ inline const UploadStatus& GetStatus() const{ return m_status; } /** *

The upload's status.

Must be one of the following values:

    *
  • FAILED

  • INITIALIZED

  • PROCESSING

    *
  • SUCCEEDED

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The upload's status.

Must be one of the following values:

    *
  • FAILED

  • INITIALIZED

  • PROCESSING

    *
  • SUCCEEDED

*/ inline void SetStatus(const UploadStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The upload's status.

Must be one of the following values:

    *
  • FAILED

  • INITIALIZED

  • PROCESSING

    *
  • SUCCEEDED

*/ inline void SetStatus(UploadStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The upload's status.

Must be one of the following values:

    *
  • FAILED

  • INITIALIZED

  • PROCESSING

    *
  • SUCCEEDED

*/ inline Upload& WithStatus(const UploadStatus& value) { SetStatus(value); return *this;} /** *

The upload's status.

Must be one of the following values:

    *
  • FAILED

  • INITIALIZED

  • PROCESSING

    *
  • SUCCEEDED

*/ inline Upload& WithStatus(UploadStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline Upload& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline Upload& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The presigned Amazon S3 URL that was used to store a file using a PUT * request.

*/ inline Upload& WithUrl(const char* value) { SetUrl(value); return *this;} /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline const Aws::String& GetMetadata() const{ return m_metadata; } /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); } /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline Upload& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;} /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline Upload& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;} /** *

The upload's metadata. For example, for Android, this contains information * that is parsed from the manifest and is displayed in the AWS Device Farm console * after the associated app is uploaded.

*/ inline Upload& WithMetadata(const char* value) { SetMetadata(value); return *this;} /** *

The upload's content type (for example, * application/octet-stream).

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *

The upload's content type (for example, * application/octet-stream).

*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *

The upload's content type (for example, * application/octet-stream).

*/ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *

The upload's content type (for example, * application/octet-stream).

*/ inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *

The upload's content type (for example, * application/octet-stream).

*/ inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); } /** *

The upload's content type (for example, * application/octet-stream).

*/ inline Upload& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *

The upload's content type (for example, * application/octet-stream).

*/ inline Upload& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *

The upload's content type (for example, * application/octet-stream).

*/ inline Upload& WithContentType(const char* value) { SetContentType(value); return *this;} /** *

A message about the upload's result.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

A message about the upload's result.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

A message about the upload's result.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

A message about the upload's result.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

A message about the upload's result.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

A message about the upload's result.

*/ inline Upload& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

A message about the upload's result.

*/ inline Upload& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

A message about the upload's result.

*/ inline Upload& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The upload's category. Allowed values include:

  • CURATED: An * upload managed by AWS Device Farm.

  • PRIVATE: An upload managed * by the AWS Device Farm customer.

*/ inline const UploadCategory& GetCategory() const{ return m_category; } /** *

The upload's category. Allowed values include:

  • CURATED: An * upload managed by AWS Device Farm.

  • PRIVATE: An upload managed * by the AWS Device Farm customer.

*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *

The upload's category. Allowed values include:

  • CURATED: An * upload managed by AWS Device Farm.

  • PRIVATE: An upload managed * by the AWS Device Farm customer.

*/ inline void SetCategory(const UploadCategory& value) { m_categoryHasBeenSet = true; m_category = value; } /** *

The upload's category. Allowed values include:

  • CURATED: An * upload managed by AWS Device Farm.

  • PRIVATE: An upload managed * by the AWS Device Farm customer.

*/ inline void SetCategory(UploadCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *

The upload's category. Allowed values include:

  • CURATED: An * upload managed by AWS Device Farm.

  • PRIVATE: An upload managed * by the AWS Device Farm customer.

*/ inline Upload& WithCategory(const UploadCategory& value) { SetCategory(value); return *this;} /** *

The upload's category. Allowed values include:

  • CURATED: An * upload managed by AWS Device Farm.

  • PRIVATE: An upload managed * by the AWS Device Farm customer.

*/ inline Upload& WithCategory(UploadCategory&& value) { SetCategory(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; UploadType m_type; bool m_typeHasBeenSet = false; UploadStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; Aws::String m_metadata; bool m_metadataHasBeenSet = false; Aws::String m_contentType; bool m_contentTypeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; UploadCategory m_category; bool m_categoryHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws