AWS SDK for C++  1.9.109
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudFront::Model::TestResult Class Reference

#include <TestResult.h>

Public Member Functions

 TestResult ()
 
 TestResult (const Aws::Utils::Xml::XmlNode &xmlNode)
 
TestResultoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const FunctionSummaryGetFunctionSummary () const
 
bool FunctionSummaryHasBeenSet () const
 
void SetFunctionSummary (const FunctionSummary &value)
 
void SetFunctionSummary (FunctionSummary &&value)
 
TestResultWithFunctionSummary (const FunctionSummary &value)
 
TestResultWithFunctionSummary (FunctionSummary &&value)
 
const Aws::StringGetComputeUtilization () const
 
bool ComputeUtilizationHasBeenSet () const
 
void SetComputeUtilization (const Aws::String &value)
 
void SetComputeUtilization (Aws::String &&value)
 
void SetComputeUtilization (const char *value)
 
TestResultWithComputeUtilization (const Aws::String &value)
 
TestResultWithComputeUtilization (Aws::String &&value)
 
TestResultWithComputeUtilization (const char *value)
 
const Aws::Vector< Aws::String > & GetFunctionExecutionLogs () const
 
bool FunctionExecutionLogsHasBeenSet () const
 
void SetFunctionExecutionLogs (const Aws::Vector< Aws::String > &value)
 
void SetFunctionExecutionLogs (Aws::Vector< Aws::String > &&value)
 
TestResultWithFunctionExecutionLogs (const Aws::Vector< Aws::String > &value)
 
TestResultWithFunctionExecutionLogs (Aws::Vector< Aws::String > &&value)
 
TestResultAddFunctionExecutionLogs (const Aws::String &value)
 
TestResultAddFunctionExecutionLogs (Aws::String &&value)
 
TestResultAddFunctionExecutionLogs (const char *value)
 
const Aws::StringGetFunctionErrorMessage () const
 
bool FunctionErrorMessageHasBeenSet () const
 
void SetFunctionErrorMessage (const Aws::String &value)
 
void SetFunctionErrorMessage (Aws::String &&value)
 
void SetFunctionErrorMessage (const char *value)
 
TestResultWithFunctionErrorMessage (const Aws::String &value)
 
TestResultWithFunctionErrorMessage (Aws::String &&value)
 
TestResultWithFunctionErrorMessage (const char *value)
 
const Aws::StringGetFunctionOutput () const
 
bool FunctionOutputHasBeenSet () const
 
void SetFunctionOutput (const Aws::String &value)
 
void SetFunctionOutput (Aws::String &&value)
 
void SetFunctionOutput (const char *value)
 
TestResultWithFunctionOutput (const Aws::String &value)
 
TestResultWithFunctionOutput (Aws::String &&value)
 
TestResultWithFunctionOutput (const char *value)
 

Detailed Description

Contains the result of testing a CloudFront function with TestFunction.

See Also:

AWS API Reference

Definition at line 33 of file TestResult.h.

Constructor & Destructor Documentation

◆ TestResult() [1/2]

Aws::CloudFront::Model::TestResult::TestResult ( )

◆ TestResult() [2/2]

Aws::CloudFront::Model::TestResult::TestResult ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddFunctionExecutionLogs() [1/3]

TestResult& Aws::CloudFront::Model::TestResult::AddFunctionExecutionLogs ( Aws::String &&  value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 183 of file TestResult.h.

◆ AddFunctionExecutionLogs() [2/3]

TestResult& Aws::CloudFront::Model::TestResult::AddFunctionExecutionLogs ( const Aws::String value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 177 of file TestResult.h.

◆ AddFunctionExecutionLogs() [3/3]

TestResult& Aws::CloudFront::Model::TestResult::AddFunctionExecutionLogs ( const char *  value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 189 of file TestResult.h.

◆ AddToNode()

void Aws::CloudFront::Model::TestResult::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ ComputeUtilizationHasBeenSet()

bool Aws::CloudFront::Model::TestResult::ComputeUtilizationHasBeenSet ( ) const
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 92 of file TestResult.h.

◆ FunctionErrorMessageHasBeenSet()

bool Aws::CloudFront::Model::TestResult::FunctionErrorMessageHasBeenSet ( ) const
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 202 of file TestResult.h.

◆ FunctionExecutionLogsHasBeenSet()

bool Aws::CloudFront::Model::TestResult::FunctionExecutionLogsHasBeenSet ( ) const
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 147 of file TestResult.h.

◆ FunctionOutputHasBeenSet()

bool Aws::CloudFront::Model::TestResult::FunctionOutputHasBeenSet ( ) const
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 255 of file TestResult.h.

◆ FunctionSummaryHasBeenSet()

bool Aws::CloudFront::Model::TestResult::FunctionSummaryHasBeenSet ( ) const
inline

Contains configuration information and metadata about the CloudFront function that was tested.

Definition at line 53 of file TestResult.h.

◆ GetComputeUtilization()

const Aws::String& Aws::CloudFront::Model::TestResult::GetComputeUtilization ( ) const
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 85 of file TestResult.h.

◆ GetFunctionErrorMessage()

const Aws::String& Aws::CloudFront::Model::TestResult::GetFunctionErrorMessage ( ) const
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 196 of file TestResult.h.

◆ GetFunctionExecutionLogs()

const Aws::Vector<Aws::String>& Aws::CloudFront::Model::TestResult::GetFunctionExecutionLogs ( ) const
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 141 of file TestResult.h.

◆ GetFunctionOutput()

const Aws::String& Aws::CloudFront::Model::TestResult::GetFunctionOutput ( ) const
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 247 of file TestResult.h.

◆ GetFunctionSummary()

const FunctionSummary& Aws::CloudFront::Model::TestResult::GetFunctionSummary ( ) const
inline

Contains configuration information and metadata about the CloudFront function that was tested.

Definition at line 47 of file TestResult.h.

◆ operator=()

TestResult& Aws::CloudFront::Model::TestResult::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ SetComputeUtilization() [1/3]

void Aws::CloudFront::Model::TestResult::SetComputeUtilization ( Aws::String &&  value)
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 106 of file TestResult.h.

◆ SetComputeUtilization() [2/3]

void Aws::CloudFront::Model::TestResult::SetComputeUtilization ( const Aws::String value)
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 99 of file TestResult.h.

◆ SetComputeUtilization() [3/3]

void Aws::CloudFront::Model::TestResult::SetComputeUtilization ( const char *  value)
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 113 of file TestResult.h.

◆ SetFunctionErrorMessage() [1/3]

void Aws::CloudFront::Model::TestResult::SetFunctionErrorMessage ( Aws::String &&  value)
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 214 of file TestResult.h.

◆ SetFunctionErrorMessage() [2/3]

void Aws::CloudFront::Model::TestResult::SetFunctionErrorMessage ( const Aws::String value)
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 208 of file TestResult.h.

◆ SetFunctionErrorMessage() [3/3]

void Aws::CloudFront::Model::TestResult::SetFunctionErrorMessage ( const char *  value)
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 220 of file TestResult.h.

◆ SetFunctionExecutionLogs() [1/2]

void Aws::CloudFront::Model::TestResult::SetFunctionExecutionLogs ( Aws::Vector< Aws::String > &&  value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 159 of file TestResult.h.

◆ SetFunctionExecutionLogs() [2/2]

void Aws::CloudFront::Model::TestResult::SetFunctionExecutionLogs ( const Aws::Vector< Aws::String > &  value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 153 of file TestResult.h.

◆ SetFunctionOutput() [1/3]

void Aws::CloudFront::Model::TestResult::SetFunctionOutput ( Aws::String &&  value)
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 271 of file TestResult.h.

◆ SetFunctionOutput() [2/3]

void Aws::CloudFront::Model::TestResult::SetFunctionOutput ( const Aws::String value)
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 263 of file TestResult.h.

◆ SetFunctionOutput() [3/3]

void Aws::CloudFront::Model::TestResult::SetFunctionOutput ( const char *  value)
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 279 of file TestResult.h.

◆ SetFunctionSummary() [1/2]

void Aws::CloudFront::Model::TestResult::SetFunctionSummary ( const FunctionSummary value)
inline

Contains configuration information and metadata about the CloudFront function that was tested.

Definition at line 59 of file TestResult.h.

◆ SetFunctionSummary() [2/2]

void Aws::CloudFront::Model::TestResult::SetFunctionSummary ( FunctionSummary &&  value)
inline

Contains configuration information and metadata about the CloudFront function that was tested.

Definition at line 65 of file TestResult.h.

◆ WithComputeUtilization() [1/3]

TestResult& Aws::CloudFront::Model::TestResult::WithComputeUtilization ( Aws::String &&  value)
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 127 of file TestResult.h.

◆ WithComputeUtilization() [2/3]

TestResult& Aws::CloudFront::Model::TestResult::WithComputeUtilization ( const Aws::String value)
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 120 of file TestResult.h.

◆ WithComputeUtilization() [3/3]

TestResult& Aws::CloudFront::Model::TestResult::WithComputeUtilization ( const char *  value)
inline

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

Definition at line 134 of file TestResult.h.

◆ WithFunctionErrorMessage() [1/3]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionErrorMessage ( Aws::String &&  value)
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 232 of file TestResult.h.

◆ WithFunctionErrorMessage() [2/3]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionErrorMessage ( const Aws::String value)
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 226 of file TestResult.h.

◆ WithFunctionErrorMessage() [3/3]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionErrorMessage ( const char *  value)
inline

If the result of testing the function was an error, this field contains the error message.

Definition at line 238 of file TestResult.h.

◆ WithFunctionExecutionLogs() [1/2]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionExecutionLogs ( Aws::Vector< Aws::String > &&  value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 171 of file TestResult.h.

◆ WithFunctionExecutionLogs() [2/2]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionExecutionLogs ( const Aws::Vector< Aws::String > &  value)
inline

Contains the log lines that the function wrote (if any) when running the test.

Definition at line 165 of file TestResult.h.

◆ WithFunctionOutput() [1/3]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionOutput ( Aws::String &&  value)
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 295 of file TestResult.h.

◆ WithFunctionOutput() [2/3]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionOutput ( const Aws::String value)
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 287 of file TestResult.h.

◆ WithFunctionOutput() [3/3]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionOutput ( const char *  value)
inline

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

Definition at line 303 of file TestResult.h.

◆ WithFunctionSummary() [1/2]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionSummary ( const FunctionSummary value)
inline

Contains configuration information and metadata about the CloudFront function that was tested.

Definition at line 71 of file TestResult.h.

◆ WithFunctionSummary() [2/2]

TestResult& Aws::CloudFront::Model::TestResult::WithFunctionSummary ( FunctionSummary &&  value)
inline

Contains configuration information and metadata about the CloudFront function that was tested.

Definition at line 77 of file TestResult.h.


The documentation for this class was generated from the following file: