7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename ErrorCodeT = Aws::String>
52 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
53 template<
typename ErrorCodeT = Aws::String>
66 template<
typename ErrorStringT = Aws::String>
67 void SetErrorString(ErrorStringT&& value) { m_errorStringHasBeenSet =
true; m_errorString = std::forward<ErrorStringT>(value); }
68 template<
typename ErrorStringT = Aws::String>
74 bool m_errorCodeHasBeenSet =
false;
77 bool m_errorStringHasBeenSet =
false;
AWS_KAFKA_API ErrorInfo()=default
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorCodeHasBeenSet() const
void SetErrorCode(ErrorCodeT &&value)
ErrorInfo & WithErrorString(ErrorStringT &&value)
void SetErrorString(ErrorStringT &&value)
AWS_KAFKA_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorString() const
bool ErrorStringHasBeenSet() const
const Aws::String & GetErrorCode() const
ErrorInfo & WithErrorCode(ErrorCodeT &&value)
AWS_KAFKA_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue