7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/support/model/Category.h>
51 template<
typename CodeT = Aws::String>
52 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
53 template<
typename CodeT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
79 template<
typename CategoriesT = Aws::Vector<Category>>
80 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories = std::forward<CategoriesT>(value); }
81 template<
typename CategoriesT = Aws::Vector<Category>>
83 template<
typename CategoriesT = Category>
84 Service&
AddCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories.emplace_back(std::forward<CategoriesT>(value));
return *
this; }
89 bool m_codeHasBeenSet =
false;
92 bool m_nameHasBeenSet =
false;
95 bool m_categoriesHasBeenSet =
false;
Service & AddCategories(CategoriesT &&value)
void SetName(NameT &&value)
bool CodeHasBeenSet() const
AWS_SUPPORT_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CategoriesHasBeenSet() const
void SetCode(CodeT &&value)
const Aws::String & GetName() const
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
Service & WithCode(CodeT &&value)
Service & WithName(NameT &&value)
bool NameHasBeenSet() const
AWS_SUPPORT_API Service(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Service()=default
const Aws::String & GetCode() const
const Aws::Vector< Category > & GetCategories() const
Service & WithCategories(CategoriesT &&value)
void SetCategories(CategoriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue