7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename CodeT = Aws::String>
47 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
48 template<
typename CodeT = Aws::String>
58 template<
typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
60 template<
typename MessageT = Aws::String>
66 bool m_codeHasBeenSet =
false;
69 bool m_messageHasBeenSet =
false;
StateDescription & WithMessage(MessageT &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API StateDescription(Aws::Utils::Json::JsonView jsonValue)
StateDescription & WithCode(CodeT &&value)
void SetMessage(MessageT &&value)
bool CodeHasBeenSet() const
AWS_KAFKACONNECT_API StateDescription()=default
void SetCode(CodeT &&value)
AWS_KAFKACONNECT_API StateDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue