7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_codeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
StateDescription & WithMessage(Aws::String &&value)
AWS_KAFKACONNECT_API StateDescription()
void SetCode(const char *value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const char *value)
StateDescription & WithCode(Aws::String &&value)
StateDescription & WithMessage(const Aws::String &value)
void SetCode(Aws::String &&value)
void SetMessage(Aws::String &&value)
AWS_KAFKACONNECT_API StateDescription(Aws::Utils::Json::JsonView jsonValue)
StateDescription & WithMessage(const char *value)
StateDescription & WithCode(const Aws::String &value)
bool CodeHasBeenSet() const
AWS_KAFKACONNECT_API StateDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
StateDescription & WithCode(const char *value)
void SetCode(const Aws::String &value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue