AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateThemeData.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/amplifyuibuilder/model/ThemeValues.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyUIBuilder
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_AMPLIFYUIBUILDER_API UpdateThemeData();
37 AWS_AMPLIFYUIBUILDER_API UpdateThemeData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API UpdateThemeData& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline UpdateThemeData& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline UpdateThemeData& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline UpdateThemeData& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline UpdateThemeData& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline UpdateThemeData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline UpdateThemeData& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::Vector<ThemeValues>& GetValues() const{ return m_values; }
75 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
76 inline void SetValues(const Aws::Vector<ThemeValues>& value) { m_valuesHasBeenSet = true; m_values = value; }
77 inline void SetValues(Aws::Vector<ThemeValues>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
78 inline UpdateThemeData& WithValues(const Aws::Vector<ThemeValues>& value) { SetValues(value); return *this;}
79 inline UpdateThemeData& WithValues(Aws::Vector<ThemeValues>&& value) { SetValues(std::move(value)); return *this;}
80 inline UpdateThemeData& AddValues(const ThemeValues& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
81 inline UpdateThemeData& AddValues(ThemeValues&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::Vector<ThemeValues>& GetOverrides() const{ return m_overrides; }
89 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
90 inline void SetOverrides(const Aws::Vector<ThemeValues>& value) { m_overridesHasBeenSet = true; m_overrides = value; }
91 inline void SetOverrides(Aws::Vector<ThemeValues>&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
92 inline UpdateThemeData& WithOverrides(const Aws::Vector<ThemeValues>& value) { SetOverrides(value); return *this;}
93 inline UpdateThemeData& WithOverrides(Aws::Vector<ThemeValues>&& value) { SetOverrides(std::move(value)); return *this;}
94 inline UpdateThemeData& AddOverrides(const ThemeValues& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; }
95 inline UpdateThemeData& AddOverrides(ThemeValues&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; }
97 private:
98
99 Aws::String m_id;
100 bool m_idHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
106 bool m_valuesHasBeenSet = false;
107
108 Aws::Vector<ThemeValues> m_overrides;
109 bool m_overridesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AmplifyUIBuilder
114} // namespace Aws
AWS_AMPLIFYUIBUILDER_API UpdateThemeData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOverrides(const Aws::Vector< ThemeValues > &value)
const Aws::Vector< ThemeValues > & GetOverrides() const
UpdateThemeData & WithValues(Aws::Vector< ThemeValues > &&value)
UpdateThemeData & AddValues(ThemeValues &&value)
const Aws::Vector< ThemeValues > & GetValues() const
UpdateThemeData & WithName(Aws::String &&value)
void SetOverrides(Aws::Vector< ThemeValues > &&value)
AWS_AMPLIFYUIBUILDER_API UpdateThemeData()
UpdateThemeData & WithOverrides(const Aws::Vector< ThemeValues > &value)
UpdateThemeData & WithOverrides(Aws::Vector< ThemeValues > &&value)
UpdateThemeData & WithId(const char *value)
void SetValues(Aws::Vector< ThemeValues > &&value)
UpdateThemeData & AddOverrides(ThemeValues &&value)
UpdateThemeData & WithValues(const Aws::Vector< ThemeValues > &value)
UpdateThemeData & WithName(const Aws::String &value)
UpdateThemeData & WithName(const char *value)
AWS_AMPLIFYUIBUILDER_API UpdateThemeData(Aws::Utils::Json::JsonView jsonValue)
UpdateThemeData & AddValues(const ThemeValues &value)
void SetValues(const Aws::Vector< ThemeValues > &value)
UpdateThemeData & AddOverrides(const ThemeValues &value)
UpdateThemeData & WithId(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateThemeData & WithId(const Aws::String &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