7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CodeT = Aws::String>
49 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
50 template<
typename CodeT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
68 bool m_codeHasBeenSet =
false;
71 bool m_nameHasBeenSet =
false;
AWS_SUPPORT_API Category(Aws::Utils::Json::JsonView jsonValue)
Category & WithCode(CodeT &&value)
AWS_SUPPORT_API Category()=default
AWS_SUPPORT_API Category & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(CodeT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCode() const
const Aws::String & GetName() const
Category & WithName(NameT &&value)
bool CodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue