7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/InvalidRequestExceptionReason.h>
49 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
67 bool m_messageHasBeenSet =
false;
70 bool m_reasonHasBeenSet =
false;
void SetMessage(Aws::String &&value)
InvalidRequestException & WithMessage(const char *value)
void SetReason(const InvalidRequestExceptionReason &value)
AWS_CONNECT_API InvalidRequestException(Aws::Utils::Json::JsonView jsonValue)
void SetReason(InvalidRequestExceptionReason &&value)
AWS_CONNECT_API InvalidRequestException()
InvalidRequestException & WithReason(const InvalidRequestExceptionReason &value)
AWS_CONNECT_API InvalidRequestException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidRequestException & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidRequestException & WithMessage(Aws::String &&value)
bool MessageHasBeenSet() const
InvalidRequestException & WithReason(InvalidRequestExceptionReason &&value)
bool ReasonHasBeenSet() const
const InvalidRequestExceptionReason & GetReason() const
void SetMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue