7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
60 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
68 bool m_typeHasBeenSet =
false;
71 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
KMSInvalidStateException & WithMessage(const char *value)
AWS_LAMBDA_API KMSInvalidStateException()
KMSInvalidStateException & WithMessage(const Aws::String &value)
void SetType(const Aws::String &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
KMSInvalidStateException & WithType(Aws::String &&value)
bool TypeHasBeenSet() const
KMSInvalidStateException & WithType(const char *value)
AWS_LAMBDA_API KMSInvalidStateException(Aws::Utils::Json::JsonView jsonValue)
KMSInvalidStateException & WithType(const Aws::String &value)
void SetMessage(const char *value)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
void SetType(Aws::String &&value)
void SetMessage(Aws::String &&value)
const Aws::String & GetType() const
AWS_LAMBDA_API KMSInvalidStateException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const char *value)
KMSInvalidStateException & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue