7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename TypeT = Aws::String>
48 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
49 template<
typename TypeT = Aws::String>
57 template<
typename MessageT = Aws::String>
58 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
59 template<
typename MessageT = Aws::String>
65 bool m_typeHasBeenSet =
false;
68 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API PolicyLengthExceededException()=default
AWS_LAMBDA_API PolicyLengthExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyLengthExceededException & WithType(TypeT &&value)
bool TypeHasBeenSet() const
void SetType(TypeT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetType() const
AWS_LAMBDA_API PolicyLengthExceededException(Aws::Utils::Json::JsonView jsonValue)
PolicyLengthExceededException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue