AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::Synthetics::Model::CanaryRunStatus Class Reference

#include <CanaryRunStatus.h>

Public Member Functions

 CanaryRunStatus ()
 
 CanaryRunStatus (Aws::Utils::Json::JsonView jsonValue)
 
CanaryRunStatusoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const CanaryRunStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const CanaryRunState &value)
 
void SetState (CanaryRunState &&value)
 
CanaryRunStatusWithState (const CanaryRunState &value)
 
CanaryRunStatusWithState (CanaryRunState &&value)
 
const Aws::StringGetStateReason () const
 
bool StateReasonHasBeenSet () const
 
void SetStateReason (const Aws::String &value)
 
void SetStateReason (Aws::String &&value)
 
void SetStateReason (const char *value)
 
CanaryRunStatusWithStateReason (const Aws::String &value)
 
CanaryRunStatusWithStateReason (Aws::String &&value)
 
CanaryRunStatusWithStateReason (const char *value)
 
const CanaryRunStateReasonCodeGetStateReasonCode () const
 
bool StateReasonCodeHasBeenSet () const
 
void SetStateReasonCode (const CanaryRunStateReasonCode &value)
 
void SetStateReasonCode (CanaryRunStateReasonCode &&value)
 
CanaryRunStatusWithStateReasonCode (const CanaryRunStateReasonCode &value)
 
CanaryRunStatusWithStateReasonCode (CanaryRunStateReasonCode &&value)
 

Detailed Description

This structure contains the status information about a canary run.

See Also:

AWS API Reference

Definition at line 34 of file CanaryRunStatus.h.

Constructor & Destructor Documentation

◆ CanaryRunStatus() [1/2]

Aws::Synthetics::Model::CanaryRunStatus::CanaryRunStatus ( )

◆ CanaryRunStatus() [2/2]

Aws::Synthetics::Model::CanaryRunStatus::CanaryRunStatus ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetState()

const CanaryRunState& Aws::Synthetics::Model::CanaryRunStatus::GetState ( ) const
inline

The current state of the run.

Definition at line 46 of file CanaryRunStatus.h.

◆ GetStateReason()

const Aws::String& Aws::Synthetics::Model::CanaryRunStatus::GetStateReason ( ) const
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 78 of file CanaryRunStatus.h.

◆ GetStateReasonCode()

const CanaryRunStateReasonCode& Aws::Synthetics::Model::CanaryRunStatus::GetStateReasonCode ( ) const
inline

If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

Definition at line 128 of file CanaryRunStatus.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Synthetics::Model::CanaryRunStatus::Jsonize ( ) const

◆ operator=()

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetState() [1/2]

void Aws::Synthetics::Model::CanaryRunStatus::SetState ( CanaryRunState &&  value)
inline

The current state of the run.

Definition at line 61 of file CanaryRunStatus.h.

◆ SetState() [2/2]

void Aws::Synthetics::Model::CanaryRunStatus::SetState ( const CanaryRunState value)
inline

The current state of the run.

Definition at line 56 of file CanaryRunStatus.h.

◆ SetStateReason() [1/3]

void Aws::Synthetics::Model::CanaryRunStatus::SetStateReason ( Aws::String &&  value)
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 96 of file CanaryRunStatus.h.

◆ SetStateReason() [2/3]

void Aws::Synthetics::Model::CanaryRunStatus::SetStateReason ( const Aws::String value)
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 90 of file CanaryRunStatus.h.

◆ SetStateReason() [3/3]

void Aws::Synthetics::Model::CanaryRunStatus::SetStateReason ( const char *  value)
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 102 of file CanaryRunStatus.h.

◆ SetStateReasonCode() [1/2]

void Aws::Synthetics::Model::CanaryRunStatus::SetStateReasonCode ( CanaryRunStateReasonCode &&  value)
inline

If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

Definition at line 149 of file CanaryRunStatus.h.

◆ SetStateReasonCode() [2/2]

void Aws::Synthetics::Model::CanaryRunStatus::SetStateReasonCode ( const CanaryRunStateReasonCode value)
inline

If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

Definition at line 142 of file CanaryRunStatus.h.

◆ StateHasBeenSet()

bool Aws::Synthetics::Model::CanaryRunStatus::StateHasBeenSet ( ) const
inline

The current state of the run.

Definition at line 51 of file CanaryRunStatus.h.

◆ StateReasonCodeHasBeenSet()

bool Aws::Synthetics::Model::CanaryRunStatus::StateReasonCodeHasBeenSet ( ) const
inline

If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

Definition at line 135 of file CanaryRunStatus.h.

◆ StateReasonHasBeenSet()

bool Aws::Synthetics::Model::CanaryRunStatus::StateReasonHasBeenSet ( ) const
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 84 of file CanaryRunStatus.h.

◆ WithState() [1/2]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithState ( CanaryRunState &&  value)
inline

The current state of the run.

Definition at line 71 of file CanaryRunStatus.h.

◆ WithState() [2/2]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithState ( const CanaryRunState value)
inline

The current state of the run.

Definition at line 66 of file CanaryRunStatus.h.

◆ WithStateReason() [1/3]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithStateReason ( Aws::String &&  value)
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 114 of file CanaryRunStatus.h.

◆ WithStateReason() [2/3]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithStateReason ( const Aws::String value)
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 108 of file CanaryRunStatus.h.

◆ WithStateReason() [3/3]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithStateReason ( const char *  value)
inline

If run of the canary failed, this field contains the reason for the error.

Definition at line 120 of file CanaryRunStatus.h.

◆ WithStateReasonCode() [1/2]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithStateReasonCode ( CanaryRunStateReasonCode &&  value)
inline

If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

Definition at line 163 of file CanaryRunStatus.h.

◆ WithStateReasonCode() [2/2]

CanaryRunStatus& Aws::Synthetics::Model::CanaryRunStatus::WithStateReasonCode ( const CanaryRunStateReasonCode value)
inline

If this value is CANARY_FAILURE, an exception occurred in the canary code. If this value is EXECUTION_FAILURE, an exception occurred in CloudWatch Synthetics.

Definition at line 156 of file CanaryRunStatus.h.


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