/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An app or a set of one or more tests to upload or that have been
* uploaded.See Also:
AWS
* API Reference
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
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
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
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
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
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
The upload's status.
Must be one of the following values:
FAILED
INITIALIZED
PROCESSING
*SUCCEEDED
The upload's status.
Must be one of the following values:
FAILED
INITIALIZED
PROCESSING
*SUCCEEDED
The upload's status.
Must be one of the following values:
FAILED
INITIALIZED
PROCESSING
*SUCCEEDED
The upload's status.
Must be one of the following values:
FAILED
INITIALIZED
PROCESSING
*SUCCEEDED
The upload's status.
Must be one of the following values:
FAILED
INITIALIZED
PROCESSING
*SUCCEEDED
The upload's status.
Must be one of the following values:
FAILED
INITIALIZED
PROCESSING
*SUCCEEDED
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
).
The upload's content type (for example,
* application/octet-stream
).
The upload's content type (for example,
* application/octet-stream
).
The upload's content type (for example,
* application/octet-stream
).
The upload's content type (for example,
* application/octet-stream
).
The upload's content type (for example,
* application/octet-stream
).
The upload's content type (for example,
* application/octet-stream
).
The upload's content type (for example,
* application/octet-stream
).
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.
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.
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.
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.
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.
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.