AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::ValidationError Class Reference

#include <ValidationError.h>

Public Member Functions

 ValidationError ()
 
 ValidationError (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ValidationErroroperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetCode () const
 
bool CodeHasBeenSet () const
 
void SetCode (const Aws::String &value)
 
void SetCode (Aws::String &&value)
 
void SetCode (const char *value)
 
ValidationErrorWithCode (const Aws::String &value)
 
ValidationErrorWithCode (Aws::String &&value)
 
ValidationErrorWithCode (const char *value)
 
const Aws::StringGetMessage () const
 
bool MessageHasBeenSet () const
 
void SetMessage (const Aws::String &value)
 
void SetMessage (Aws::String &&value)
 
void SetMessage (const char *value)
 
ValidationErrorWithMessage (const Aws::String &value)
 
ValidationErrorWithMessage (Aws::String &&value)
 
ValidationErrorWithMessage (const char *value)
 

Detailed Description

The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.

See Also:

AWS API Reference

Definition at line 33 of file ValidationError.h.

Constructor & Destructor Documentation

◆ ValidationError() [1/2]

Aws::EC2::Model::ValidationError::ValidationError ( )

◆ ValidationError() [2/2]

Aws::EC2::Model::ValidationError::ValidationError ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ CodeHasBeenSet()

bool Aws::EC2::Model::ValidationError::CodeHasBeenSet ( ) const
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 58 of file ValidationError.h.

◆ GetCode()

const Aws::String& Aws::EC2::Model::ValidationError::GetCode ( ) const
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 50 of file ValidationError.h.

◆ GetMessage()

const Aws::String& Aws::EC2::Model::ValidationError::GetMessage ( ) const
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 115 of file ValidationError.h.

◆ MessageHasBeenSet()

bool Aws::EC2::Model::ValidationError::MessageHasBeenSet ( ) const
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 123 of file ValidationError.h.

◆ operator=()

ValidationError& Aws::EC2::Model::ValidationError::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::ValidationError::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::ValidationError::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetCode() [1/3]

void Aws::EC2::Model::ValidationError::SetCode ( Aws::String &&  value)
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 74 of file ValidationError.h.

◆ SetCode() [2/3]

void Aws::EC2::Model::ValidationError::SetCode ( const Aws::String value)
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 66 of file ValidationError.h.

◆ SetCode() [3/3]

void Aws::EC2::Model::ValidationError::SetCode ( const char *  value)
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 82 of file ValidationError.h.

◆ SetMessage() [1/3]

void Aws::EC2::Model::ValidationError::SetMessage ( Aws::String &&  value)
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 139 of file ValidationError.h.

◆ SetMessage() [2/3]

void Aws::EC2::Model::ValidationError::SetMessage ( const Aws::String value)
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 131 of file ValidationError.h.

◆ SetMessage() [3/3]

void Aws::EC2::Model::ValidationError::SetMessage ( const char *  value)
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 147 of file ValidationError.h.

◆ WithCode() [1/3]

ValidationError& Aws::EC2::Model::ValidationError::WithCode ( Aws::String &&  value)
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 98 of file ValidationError.h.

◆ WithCode() [2/3]

ValidationError& Aws::EC2::Model::ValidationError::WithCode ( const Aws::String value)
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 90 of file ValidationError.h.

◆ WithCode() [3/3]

ValidationError& Aws::EC2::Model::ValidationError::WithCode ( const char *  value)
inline

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error Codes.

Definition at line 106 of file ValidationError.h.

◆ WithMessage() [1/3]

ValidationError& Aws::EC2::Model::ValidationError::WithMessage ( Aws::String &&  value)
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 163 of file ValidationError.h.

◆ WithMessage() [2/3]

ValidationError& Aws::EC2::Model::ValidationError::WithMessage ( const Aws::String value)
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 155 of file ValidationError.h.

◆ WithMessage() [3/3]

ValidationError& Aws::EC2::Model::ValidationError::WithMessage ( const char *  value)
inline

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error Codes.

Definition at line 171 of file ValidationError.h.


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