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