7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
64 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
72 bool m_errorCodeHasBeenSet =
false;
75 bool m_errorMessageHasBeenSet =
false;
void SetErrorMessage(const char *value)
ErrorResult & WithErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(const Aws::String &value)
ErrorResult & WithErrorMessage(const char *value)
bool ErrorCodeHasBeenSet() const
ErrorResult & WithErrorCode(Aws::String &&value)
void SetErrorCode(const char *value)
ErrorResult & WithErrorCode(const Aws::String &value)
const Aws::String & GetErrorCode() const
const Aws::String & GetErrorMessage() const
void SetErrorMessage(const Aws::String &value)
AWS_CONNECT_API ErrorResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(Aws::String &&value)
ErrorResult & WithErrorCode(const char *value)
ErrorResult & WithErrorMessage(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ErrorResult()
AWS_CONNECT_API ErrorResult(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue