/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a sample of performance data.See Also:
AWS
* API Reference
The sample's ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The sample's ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The sample's ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The sample's ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The sample's ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The sample's ARN.
*/ inline Sample& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The sample's ARN.
*/ inline Sample& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The sample's ARN.
*/ inline Sample& WithArn(const char* value) { SetArn(value); return *this;} /** *The sample's type.
Must be one of the following values:
CPU: A CPU sample type. This is expressed as the app processing CPU time * (including child processes) as reported by process, as a percentage.
MEMORY: A memory usage sample type. This is expressed as the total * proportional set size of an app process, in kilobytes.
NATIVE_AVG_DRAWTIME
NATIVE_FPS
NATIVE_FRAMES
NATIVE_MAX_DRAWTIME
NATIVE_MIN_DRAWTIME
OPENGL_AVG_DRAWTIME
OPENGL_FPS
OPENGL_FRAMES
OPENGL_MAX_DRAWTIME
OPENGL_MIN_DRAWTIME
RX
RX_RATE: The total number of bytes per second (TCP and * UDP) that are sent, by app process.
THREADS: A threads sample * type. This is expressed as the total number of threads per app process.
*TX
TX_RATE: The total number of bytes per second * (TCP and UDP) that are received, by app process.
The sample's type.
Must be one of the following values:
CPU: A CPU sample type. This is expressed as the app processing CPU time * (including child processes) as reported by process, as a percentage.
MEMORY: A memory usage sample type. This is expressed as the total * proportional set size of an app process, in kilobytes.
NATIVE_AVG_DRAWTIME
NATIVE_FPS
NATIVE_FRAMES
NATIVE_MAX_DRAWTIME
NATIVE_MIN_DRAWTIME
OPENGL_AVG_DRAWTIME
OPENGL_FPS
OPENGL_FRAMES
OPENGL_MAX_DRAWTIME
OPENGL_MIN_DRAWTIME
RX
RX_RATE: The total number of bytes per second (TCP and * UDP) that are sent, by app process.
THREADS: A threads sample * type. This is expressed as the total number of threads per app process.
*TX
TX_RATE: The total number of bytes per second * (TCP and UDP) that are received, by app process.
The sample's type.
Must be one of the following values:
CPU: A CPU sample type. This is expressed as the app processing CPU time * (including child processes) as reported by process, as a percentage.
MEMORY: A memory usage sample type. This is expressed as the total * proportional set size of an app process, in kilobytes.
NATIVE_AVG_DRAWTIME
NATIVE_FPS
NATIVE_FRAMES
NATIVE_MAX_DRAWTIME
NATIVE_MIN_DRAWTIME
OPENGL_AVG_DRAWTIME
OPENGL_FPS
OPENGL_FRAMES
OPENGL_MAX_DRAWTIME
OPENGL_MIN_DRAWTIME
RX
RX_RATE: The total number of bytes per second (TCP and * UDP) that are sent, by app process.
THREADS: A threads sample * type. This is expressed as the total number of threads per app process.
*TX
TX_RATE: The total number of bytes per second * (TCP and UDP) that are received, by app process.
The sample's type.
Must be one of the following values:
CPU: A CPU sample type. This is expressed as the app processing CPU time * (including child processes) as reported by process, as a percentage.
MEMORY: A memory usage sample type. This is expressed as the total * proportional set size of an app process, in kilobytes.
NATIVE_AVG_DRAWTIME
NATIVE_FPS
NATIVE_FRAMES
NATIVE_MAX_DRAWTIME
NATIVE_MIN_DRAWTIME
OPENGL_AVG_DRAWTIME
OPENGL_FPS
OPENGL_FRAMES
OPENGL_MAX_DRAWTIME
OPENGL_MIN_DRAWTIME
RX
RX_RATE: The total number of bytes per second (TCP and * UDP) that are sent, by app process.
THREADS: A threads sample * type. This is expressed as the total number of threads per app process.
*TX
TX_RATE: The total number of bytes per second * (TCP and UDP) that are received, by app process.
The sample's type.
Must be one of the following values:
CPU: A CPU sample type. This is expressed as the app processing CPU time * (including child processes) as reported by process, as a percentage.
MEMORY: A memory usage sample type. This is expressed as the total * proportional set size of an app process, in kilobytes.
NATIVE_AVG_DRAWTIME
NATIVE_FPS
NATIVE_FRAMES
NATIVE_MAX_DRAWTIME
NATIVE_MIN_DRAWTIME
OPENGL_AVG_DRAWTIME
OPENGL_FPS
OPENGL_FRAMES
OPENGL_MAX_DRAWTIME
OPENGL_MIN_DRAWTIME
RX
RX_RATE: The total number of bytes per second (TCP and * UDP) that are sent, by app process.
THREADS: A threads sample * type. This is expressed as the total number of threads per app process.
*TX
TX_RATE: The total number of bytes per second * (TCP and UDP) that are received, by app process.
The sample's type.
Must be one of the following values:
CPU: A CPU sample type. This is expressed as the app processing CPU time * (including child processes) as reported by process, as a percentage.
MEMORY: A memory usage sample type. This is expressed as the total * proportional set size of an app process, in kilobytes.
NATIVE_AVG_DRAWTIME
NATIVE_FPS
NATIVE_FRAMES
NATIVE_MAX_DRAWTIME
NATIVE_MIN_DRAWTIME
OPENGL_AVG_DRAWTIME
OPENGL_FPS
OPENGL_FRAMES
OPENGL_MAX_DRAWTIME
OPENGL_MIN_DRAWTIME
RX
RX_RATE: The total number of bytes per second (TCP and * UDP) that are sent, by app process.
THREADS: A threads sample * type. This is expressed as the total number of threads per app process.
*TX
TX_RATE: The total number of bytes per second * (TCP and UDP) that are received, by app process.
The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline Sample& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline Sample& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The presigned Amazon S3 URL that can be used with a GET request to download * the sample's file.
*/ inline Sample& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; SampleType m_type; bool m_typeHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws