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

A JSON object that specifies the paths where the artifacts generated by the * customer's tests, on the device or in the test environment, are pulled from.

*

Specify deviceHostPaths and optionally specify either * iosPaths or androidPaths.

For web app tests, * you can specify both iosPaths and * androidPaths.

See Also:

AWS * API Reference

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

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline const Aws::Vector& GetIosPaths() const{ return m_iosPaths; } /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline bool IosPathsHasBeenSet() const { return m_iosPathsHasBeenSet; } /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline void SetIosPaths(const Aws::Vector& value) { m_iosPathsHasBeenSet = true; m_iosPaths = value; } /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline void SetIosPaths(Aws::Vector&& value) { m_iosPathsHasBeenSet = true; m_iosPaths = std::move(value); } /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& WithIosPaths(const Aws::Vector& value) { SetIosPaths(value); return *this;} /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& WithIosPaths(Aws::Vector&& value) { SetIosPaths(std::move(value)); return *this;} /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddIosPaths(const Aws::String& value) { m_iosPathsHasBeenSet = true; m_iosPaths.push_back(value); return *this; } /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddIosPaths(Aws::String&& value) { m_iosPathsHasBeenSet = true; m_iosPaths.push_back(std::move(value)); return *this; } /** *

Comma-separated list of paths on the iOS device where the artifacts generated * by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddIosPaths(const char* value) { m_iosPathsHasBeenSet = true; m_iosPaths.push_back(value); return *this; } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline const Aws::Vector& GetAndroidPaths() const{ return m_androidPaths; } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline bool AndroidPathsHasBeenSet() const { return m_androidPathsHasBeenSet; } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline void SetAndroidPaths(const Aws::Vector& value) { m_androidPathsHasBeenSet = true; m_androidPaths = value; } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline void SetAndroidPaths(Aws::Vector&& value) { m_androidPathsHasBeenSet = true; m_androidPaths = std::move(value); } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& WithAndroidPaths(const Aws::Vector& value) { SetAndroidPaths(value); return *this;} /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& WithAndroidPaths(Aws::Vector&& value) { SetAndroidPaths(std::move(value)); return *this;} /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddAndroidPaths(const Aws::String& value) { m_androidPathsHasBeenSet = true; m_androidPaths.push_back(value); return *this; } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddAndroidPaths(Aws::String&& value) { m_androidPathsHasBeenSet = true; m_androidPaths.push_back(std::move(value)); return *this; } /** *

Comma-separated list of paths on the Android device where the artifacts * generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddAndroidPaths(const char* value) { m_androidPathsHasBeenSet = true; m_androidPaths.push_back(value); return *this; } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline const Aws::Vector& GetDeviceHostPaths() const{ return m_deviceHostPaths; } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline bool DeviceHostPathsHasBeenSet() const { return m_deviceHostPathsHasBeenSet; } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline void SetDeviceHostPaths(const Aws::Vector& value) { m_deviceHostPathsHasBeenSet = true; m_deviceHostPaths = value; } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline void SetDeviceHostPaths(Aws::Vector&& value) { m_deviceHostPathsHasBeenSet = true; m_deviceHostPaths = std::move(value); } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& WithDeviceHostPaths(const Aws::Vector& value) { SetDeviceHostPaths(value); return *this;} /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& WithDeviceHostPaths(Aws::Vector&& value) { SetDeviceHostPaths(std::move(value)); return *this;} /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddDeviceHostPaths(const Aws::String& value) { m_deviceHostPathsHasBeenSet = true; m_deviceHostPaths.push_back(value); return *this; } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddDeviceHostPaths(Aws::String&& value) { m_deviceHostPathsHasBeenSet = true; m_deviceHostPaths.push_back(std::move(value)); return *this; } /** *

Comma-separated list of paths in the test execution environment where the * artifacts generated by the customer's tests are pulled from.

*/ inline CustomerArtifactPaths& AddDeviceHostPaths(const char* value) { m_deviceHostPathsHasBeenSet = true; m_deviceHostPaths.push_back(value); return *this; } private: Aws::Vector m_iosPaths; bool m_iosPathsHasBeenSet = false; Aws::Vector m_androidPaths; bool m_androidPathsHasBeenSet = false; Aws::Vector m_deviceHostPaths; bool m_deviceHostPathsHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws