AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RecommenderRecipe.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/RecommenderRecipeName.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CustomerProfiles {
21namespace Model {
22
30 public:
31 AWS_CUSTOMERPROFILES_API RecommenderRecipe() = default;
32 AWS_CUSTOMERPROFILES_API RecommenderRecipe(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API RecommenderRecipe& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline RecommenderRecipeName GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 inline void SetName(RecommenderRecipeName value) {
43 m_nameHasBeenSet = true;
44 m_name = value;
45 }
47 SetName(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
64 RecommenderRecipe& WithDescription(DescriptionT&& value) {
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_description;
73 bool m_nameHasBeenSet = false;
74 bool m_descriptionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CustomerProfiles
79} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API RecommenderRecipe()=default
RecommenderRecipe & WithDescription(DescriptionT &&value)
RecommenderRecipe & WithName(RecommenderRecipeName value)
AWS_CUSTOMERPROFILES_API RecommenderRecipe(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API RecommenderRecipe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(RecommenderRecipeName value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue