7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename TypeT = Aws::String>
46 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
47 template<
typename TypeT = Aws::String>
55 template<
typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
57 template<
typename MessageT = Aws::String>
65 template<
typename EC2ErrorCodeT = Aws::String>
66 void SetEC2ErrorCode(EC2ErrorCodeT&& value) { m_eC2ErrorCodeHasBeenSet =
true; m_eC2ErrorCode = std::forward<EC2ErrorCodeT>(value); }
67 template<
typename EC2ErrorCodeT = Aws::String>
73 bool m_typeHasBeenSet =
false;
76 bool m_messageHasBeenSet =
false;
79 bool m_eC2ErrorCodeHasBeenSet =
false;
AWS_LAMBDA_API EC2UnexpectedException()=default
bool TypeHasBeenSet() const
EC2UnexpectedException & WithType(TypeT &&value)
const Aws::String & GetEC2ErrorCode() const
const Aws::String & GetMessage() const
EC2UnexpectedException & WithMessage(MessageT &&value)
void SetType(TypeT &&value)
AWS_LAMBDA_API EC2UnexpectedException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_LAMBDA_API EC2UnexpectedException(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
EC2UnexpectedException & WithEC2ErrorCode(EC2ErrorCodeT &&value)
bool EC2ErrorCodeHasBeenSet() const
const Aws::String & GetType() const
void SetEC2ErrorCode(EC2ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue