AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ThemeSummary.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyUIBuilder {
20namespace Model {
21
28 public:
29 AWS_AMPLIFYUIBUILDER_API ThemeSummary() = default;
30 AWS_AMPLIFYUIBUILDER_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue);
31 AWS_AMPLIFYUIBUILDER_API ThemeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
46 ThemeSummary& WithAppId(AppIdT&& value) {
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
57 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
58 template <typename EnvironmentNameT = Aws::String>
59 void SetEnvironmentName(EnvironmentNameT&& value) {
60 m_environmentNameHasBeenSet = true;
61 m_environmentName = std::forward<EnvironmentNameT>(value);
62 }
63 template <typename EnvironmentNameT = Aws::String>
64 ThemeSummary& WithEnvironmentName(EnvironmentNameT&& value) {
65 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
76 template <typename IdT = Aws::String>
77 void SetId(IdT&& value) {
78 m_idHasBeenSet = true;
79 m_id = std::forward<IdT>(value);
80 }
81 template <typename IdT = Aws::String>
82 ThemeSummary& WithId(IdT&& value) {
83 SetId(std::forward<IdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template <typename NameT = Aws::String>
95 void SetName(NameT&& value) {
96 m_nameHasBeenSet = true;
97 m_name = std::forward<NameT>(value);
98 }
99 template <typename NameT = Aws::String>
100 ThemeSummary& WithName(NameT&& value) {
101 SetName(std::forward<NameT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_appId;
107
108 Aws::String m_environmentName;
109
110 Aws::String m_id;
111
112 Aws::String m_name;
113 bool m_appIdHasBeenSet = false;
114 bool m_environmentNameHasBeenSet = false;
115 bool m_idHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace AmplifyUIBuilder
121} // namespace Aws
ThemeSummary & WithAppId(AppIdT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppId() const
ThemeSummary & WithName(NameT &&value)
AWS_AMPLIFYUIBUILDER_API ThemeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
ThemeSummary & WithId(IdT &&value)
ThemeSummary & WithEnvironmentName(EnvironmentNameT &&value)
AWS_AMPLIFYUIBUILDER_API ThemeSummary()=default
const Aws::String & GetName() const
const Aws::String & GetEnvironmentName() const
void SetEnvironmentName(EnvironmentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue