AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CategoryInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QApps {
20namespace Model {
21
30 public:
31 AWS_QAPPS_API CategoryInput() = default;
34 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTitle() const { return m_title; }
59 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
60 template <typename TitleT = Aws::String>
61 void SetTitle(TitleT&& value) {
62 m_titleHasBeenSet = true;
63 m_title = std::forward<TitleT>(value);
64 }
65 template <typename TitleT = Aws::String>
67 SetTitle(std::forward<TitleT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetColor() const { return m_color; }
78 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
79 template <typename ColorT = Aws::String>
80 void SetColor(ColorT&& value) {
81 m_colorHasBeenSet = true;
82 m_color = std::forward<ColorT>(value);
83 }
84 template <typename ColorT = Aws::String>
86 SetColor(std::forward<ColorT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_id;
92
93 Aws::String m_title;
94
95 Aws::String m_color;
96 bool m_idHasBeenSet = false;
97 bool m_titleHasBeenSet = false;
98 bool m_colorHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QApps
103} // namespace Aws
const Aws::String & GetId() const
const Aws::String & GetTitle() const
CategoryInput & WithColor(ColorT &&value)
void SetTitle(TitleT &&value)
AWS_QAPPS_API CategoryInput()=default
CategoryInput & WithId(IdT &&value)
AWS_QAPPS_API CategoryInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API CategoryInput(Aws::Utils::Json::JsonView jsonValue)
void SetColor(ColorT &&value)
const Aws::String & GetColor() const
CategoryInput & WithTitle(TitleT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue