AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThemeValue.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/ThemeValues.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 class ThemeValues;
28
36 {
37 public:
38 AWS_AMPLIFYUIBUILDER_API ThemeValue();
39 AWS_AMPLIFYUIBUILDER_API ThemeValue(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API ThemeValue& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetValue() const{ return m_value; }
49 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
50 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
51 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
52 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
53 inline ThemeValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
54 inline ThemeValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
55 inline ThemeValue& WithValue(const char* value) { SetValue(value); return *this;}
57
59
62 inline const Aws::Vector<ThemeValues>& GetChildren() const{ return m_children; }
63 inline bool ChildrenHasBeenSet() const { return m_childrenHasBeenSet; }
64 inline void SetChildren(const Aws::Vector<ThemeValues>& value) { m_childrenHasBeenSet = true; m_children = value; }
65 inline void SetChildren(Aws::Vector<ThemeValues>&& value) { m_childrenHasBeenSet = true; m_children = std::move(value); }
66 inline ThemeValue& WithChildren(const Aws::Vector<ThemeValues>& value) { SetChildren(value); return *this;}
67 inline ThemeValue& WithChildren(Aws::Vector<ThemeValues>&& value) { SetChildren(std::move(value)); return *this;}
68 inline ThemeValue& AddChildren(const ThemeValues& value) { m_childrenHasBeenSet = true; m_children.push_back(value); return *this; }
69 inline ThemeValue& AddChildren(ThemeValues&& value) { m_childrenHasBeenSet = true; m_children.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_value;
74 bool m_valueHasBeenSet = false;
75
76 Aws::Vector<ThemeValues> m_children;
77 bool m_childrenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AmplifyUIBuilder
82} // namespace Aws
void SetChildren(const Aws::Vector< ThemeValues > &value)
Definition ThemeValue.h:64
ThemeValue & WithChildren(const Aws::Vector< ThemeValues > &value)
Definition ThemeValue.h:66
ThemeValue & AddChildren(ThemeValues &&value)
Definition ThemeValue.h:69
AWS_AMPLIFYUIBUILDER_API ThemeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ThemeValues > & GetChildren() const
Definition ThemeValue.h:62
ThemeValue & WithValue(const char *value)
Definition ThemeValue.h:55
void SetValue(const Aws::String &value)
Definition ThemeValue.h:50
void SetChildren(Aws::Vector< ThemeValues > &&value)
Definition ThemeValue.h:65
AWS_AMPLIFYUIBUILDER_API ThemeValue()
ThemeValue & WithValue(const Aws::String &value)
Definition ThemeValue.h:53
ThemeValue & AddChildren(const ThemeValues &value)
Definition ThemeValue.h:68
ThemeValue & WithValue(Aws::String &&value)
Definition ThemeValue.h:54
AWS_AMPLIFYUIBUILDER_API ThemeValue(Aws::Utils::Json::JsonView jsonValue)
ThemeValue & WithChildren(Aws::Vector< ThemeValues > &&value)
Definition ThemeValue.h:67
const Aws::String & GetValue() const
Definition ThemeValue.h:48
void SetValue(Aws::String &&value)
Definition ThemeValue.h:51
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue