7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/support/Support_EXPORTS.h>
10#include <aws/support/model/Category.h>
45 template <
typename CodeT = Aws::String>
47 m_codeHasBeenSet =
true;
48 m_code = std::forward<CodeT>(value);
50 template <
typename CodeT = Aws::String>
52 SetCode(std::forward<CodeT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
85 template <
typename CategoriesT = Aws::Vector<Category>>
87 m_categoriesHasBeenSet =
true;
88 m_categories = std::forward<CategoriesT>(value);
90 template <
typename CategoriesT = Aws::Vector<Category>>
95 template <
typename CategoriesT = Category>
97 m_categoriesHasBeenSet =
true;
98 m_categories.emplace_back(std::forward<CategoriesT>(value));
108 bool m_codeHasBeenSet =
false;
109 bool m_nameHasBeenSet =
false;
110 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