7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
19namespace KafkaConnect {
40 template <
typename CodeT = Aws::String>
42 m_codeHasBeenSet =
true;
43 m_code = std::forward<CodeT>(value);
45 template <
typename CodeT = Aws::String>
47 SetCode(std::forward<CodeT>(value));
58 template <
typename MessageT = Aws::String>
60 m_messageHasBeenSet =
true;
61 m_message = std::forward<MessageT>(value);
63 template <
typename MessageT = Aws::String>
73 bool m_codeHasBeenSet =
false;
74 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