7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/support/Support_EXPORTS.h>
42 template <
typename CodeT = Aws::String>
44 m_codeHasBeenSet =
true;
45 m_code = std::forward<CodeT>(value);
47 template <
typename CodeT = Aws::String>
49 SetCode(std::forward<CodeT>(value));
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
75 bool m_codeHasBeenSet =
false;
76 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