7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
59 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
71 inline void SetEC2ErrorCode(
const char* value) { m_eC2ErrorCodeHasBeenSet =
true; m_eC2ErrorCode.assign(value); }
79 bool m_typeHasBeenSet =
false;
82 bool m_messageHasBeenSet =
false;
85 bool m_eC2ErrorCodeHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetMessage(const Aws::String &value)
void SetType(const Aws::String &value)
EC2UnexpectedException & WithMessage(Aws::String &&value)
const Aws::String & GetEC2ErrorCode() const
EC2UnexpectedException & WithMessage(const char *value)
const Aws::String & GetMessage() const
EC2UnexpectedException & WithType(const char *value)
EC2UnexpectedException & WithEC2ErrorCode(Aws::String &&value)
EC2UnexpectedException & WithType(const Aws::String &value)
void SetEC2ErrorCode(const Aws::String &value)
EC2UnexpectedException & WithEC2ErrorCode(const Aws::String &value)
EC2UnexpectedException & WithMessage(const Aws::String &value)
AWS_LAMBDA_API EC2UnexpectedException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(Aws::String &&value)
void SetEC2ErrorCode(Aws::String &&value)
EC2UnexpectedException & WithType(Aws::String &&value)
void SetEC2ErrorCode(const char *value)
bool MessageHasBeenSet() const
AWS_LAMBDA_API EC2UnexpectedException(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API EC2UnexpectedException()
EC2UnexpectedException & WithEC2ErrorCode(const char *value)
bool EC2ErrorCodeHasBeenSet() const
const Aws::String & GetType() const
void SetMessage(const char *value)
void SetMessage(Aws::String &&value)
void SetType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue