AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThemeValues.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10#include <memory>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyUIBuilder
23{
24namespace Model
25{
26 class ThemeValue;
27
35 {
36 public:
37 AWS_AMPLIFYUIBUILDER_API ThemeValues();
38 AWS_AMPLIFYUIBUILDER_API ThemeValues(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API ThemeValues& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetKey() const{ return m_key; }
48 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
50 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
51 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
52 inline ThemeValues& WithKey(const Aws::String& value) { SetKey(value); return *this;}
53 inline ThemeValues& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
54 inline ThemeValues& WithKey(const char* value) { SetKey(value); return *this;}
56
58
61 AWS_AMPLIFYUIBUILDER_API const ThemeValue& GetValue() const;
62 AWS_AMPLIFYUIBUILDER_API bool ValueHasBeenSet() const;
63 AWS_AMPLIFYUIBUILDER_API void SetValue(const ThemeValue& value);
64 AWS_AMPLIFYUIBUILDER_API void SetValue(ThemeValue&& value);
65 AWS_AMPLIFYUIBUILDER_API ThemeValues& WithValue(const ThemeValue& value);
66 AWS_AMPLIFYUIBUILDER_API ThemeValues& WithValue(ThemeValue&& value);
68 private:
69
70 Aws::String m_key;
71 bool m_keyHasBeenSet = false;
72
73 std::shared_ptr<ThemeValue> m_value;
74 bool m_valueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AmplifyUIBuilder
79} // namespace Aws
AWS_AMPLIFYUIBUILDER_API bool ValueHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API ThemeValues(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ThemeValues & WithValue(ThemeValue &&value)
void SetKey(const Aws::String &value)
Definition ThemeValues.h:49
AWS_AMPLIFYUIBUILDER_API ThemeValues & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ThemeValues()
ThemeValues & WithKey(const Aws::String &value)
Definition ThemeValues.h:52
const Aws::String & GetKey() const
Definition ThemeValues.h:47
AWS_AMPLIFYUIBUILDER_API const ThemeValue & GetValue() const
ThemeValues & WithKey(Aws::String &&value)
Definition ThemeValues.h:53
AWS_AMPLIFYUIBUILDER_API void SetValue(const ThemeValue &value)
AWS_AMPLIFYUIBUILDER_API ThemeValues & WithValue(const ThemeValue &value)
AWS_AMPLIFYUIBUILDER_API void SetValue(ThemeValue &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ThemeValues & WithKey(const char *value)
Definition ThemeValues.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue