7#include <aws/kafka/Kafka_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;
const Aws::String & GetCode() const
ReplicationStateInfo & WithCode(CodeT &&value)
AWS_KAFKA_API ReplicationStateInfo(Aws::Utils::Json::JsonView jsonValue)
ReplicationStateInfo & WithMessage(MessageT &&value)
bool CodeHasBeenSet() const
AWS_KAFKA_API ReplicationStateInfo()=default
void SetCode(CodeT &&value)
AWS_KAFKA_API ReplicationStateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
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