AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CategoryInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QApps
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_QAPPS_API CategoryInput() = default;
39 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 CategoryInput& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
62 template<typename TitleT = Aws::String>
63 CategoryInput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
65
67
71 inline const Aws::String& GetColor() const { return m_color; }
72 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
73 template<typename ColorT = Aws::String>
74 void SetColor(ColorT&& value) { m_colorHasBeenSet = true; m_color = std::forward<ColorT>(value); }
75 template<typename ColorT = Aws::String>
76 CategoryInput& WithColor(ColorT&& value) { SetColor(std::forward<ColorT>(value)); return *this;}
78 private:
79
80 Aws::String m_id;
81 bool m_idHasBeenSet = false;
82
83 Aws::String m_title;
84 bool m_titleHasBeenSet = false;
85
86 Aws::String m_color;
87 bool m_colorHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QApps
92} // 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