AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Theme.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/ThemeState.h>
10#include <aws/appstream/model/ThemeStyling.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/appstream/model/ThemeFooterLink.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace AppStream
27{
28namespace Model
29{
30
37 class Theme
38 {
39 public:
40 AWS_APPSTREAM_API Theme();
41 AWS_APPSTREAM_API Theme(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPSTREAM_API Theme& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetStackName() const{ return m_stackName; }
51 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
52 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
53 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
54 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
55 inline Theme& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
56 inline Theme& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
57 inline Theme& WithStackName(const char* value) { SetStackName(value); return *this;}
59
61
64 inline const ThemeState& GetState() const{ return m_state; }
65 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
66 inline void SetState(const ThemeState& value) { m_stateHasBeenSet = true; m_state = value; }
67 inline void SetState(ThemeState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
68 inline Theme& WithState(const ThemeState& value) { SetState(value); return *this;}
69 inline Theme& WithState(ThemeState&& value) { SetState(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetThemeTitleText() const{ return m_themeTitleText; }
77 inline bool ThemeTitleTextHasBeenSet() const { return m_themeTitleTextHasBeenSet; }
78 inline void SetThemeTitleText(const Aws::String& value) { m_themeTitleTextHasBeenSet = true; m_themeTitleText = value; }
79 inline void SetThemeTitleText(Aws::String&& value) { m_themeTitleTextHasBeenSet = true; m_themeTitleText = std::move(value); }
80 inline void SetThemeTitleText(const char* value) { m_themeTitleTextHasBeenSet = true; m_themeTitleText.assign(value); }
81 inline Theme& WithThemeTitleText(const Aws::String& value) { SetThemeTitleText(value); return *this;}
82 inline Theme& WithThemeTitleText(Aws::String&& value) { SetThemeTitleText(std::move(value)); return *this;}
83 inline Theme& WithThemeTitleText(const char* value) { SetThemeTitleText(value); return *this;}
85
87
91 inline const ThemeStyling& GetThemeStyling() const{ return m_themeStyling; }
92 inline bool ThemeStylingHasBeenSet() const { return m_themeStylingHasBeenSet; }
93 inline void SetThemeStyling(const ThemeStyling& value) { m_themeStylingHasBeenSet = true; m_themeStyling = value; }
94 inline void SetThemeStyling(ThemeStyling&& value) { m_themeStylingHasBeenSet = true; m_themeStyling = std::move(value); }
95 inline Theme& WithThemeStyling(const ThemeStyling& value) { SetThemeStyling(value); return *this;}
96 inline Theme& WithThemeStyling(ThemeStyling&& value) { SetThemeStyling(std::move(value)); return *this;}
98
100
103 inline const Aws::Vector<ThemeFooterLink>& GetThemeFooterLinks() const{ return m_themeFooterLinks; }
104 inline bool ThemeFooterLinksHasBeenSet() const { return m_themeFooterLinksHasBeenSet; }
105 inline void SetThemeFooterLinks(const Aws::Vector<ThemeFooterLink>& value) { m_themeFooterLinksHasBeenSet = true; m_themeFooterLinks = value; }
106 inline void SetThemeFooterLinks(Aws::Vector<ThemeFooterLink>&& value) { m_themeFooterLinksHasBeenSet = true; m_themeFooterLinks = std::move(value); }
107 inline Theme& WithThemeFooterLinks(const Aws::Vector<ThemeFooterLink>& value) { SetThemeFooterLinks(value); return *this;}
108 inline Theme& WithThemeFooterLinks(Aws::Vector<ThemeFooterLink>&& value) { SetThemeFooterLinks(std::move(value)); return *this;}
109 inline Theme& AddThemeFooterLinks(const ThemeFooterLink& value) { m_themeFooterLinksHasBeenSet = true; m_themeFooterLinks.push_back(value); return *this; }
110 inline Theme& AddThemeFooterLinks(ThemeFooterLink&& value) { m_themeFooterLinksHasBeenSet = true; m_themeFooterLinks.push_back(std::move(value)); return *this; }
112
114
117 inline const Aws::String& GetThemeOrganizationLogoURL() const{ return m_themeOrganizationLogoURL; }
118 inline bool ThemeOrganizationLogoURLHasBeenSet() const { return m_themeOrganizationLogoURLHasBeenSet; }
119 inline void SetThemeOrganizationLogoURL(const Aws::String& value) { m_themeOrganizationLogoURLHasBeenSet = true; m_themeOrganizationLogoURL = value; }
120 inline void SetThemeOrganizationLogoURL(Aws::String&& value) { m_themeOrganizationLogoURLHasBeenSet = true; m_themeOrganizationLogoURL = std::move(value); }
121 inline void SetThemeOrganizationLogoURL(const char* value) { m_themeOrganizationLogoURLHasBeenSet = true; m_themeOrganizationLogoURL.assign(value); }
122 inline Theme& WithThemeOrganizationLogoURL(const Aws::String& value) { SetThemeOrganizationLogoURL(value); return *this;}
123 inline Theme& WithThemeOrganizationLogoURL(Aws::String&& value) { SetThemeOrganizationLogoURL(std::move(value)); return *this;}
124 inline Theme& WithThemeOrganizationLogoURL(const char* value) { SetThemeOrganizationLogoURL(value); return *this;}
126
128
132 inline const Aws::String& GetThemeFaviconURL() const{ return m_themeFaviconURL; }
133 inline bool ThemeFaviconURLHasBeenSet() const { return m_themeFaviconURLHasBeenSet; }
134 inline void SetThemeFaviconURL(const Aws::String& value) { m_themeFaviconURLHasBeenSet = true; m_themeFaviconURL = value; }
135 inline void SetThemeFaviconURL(Aws::String&& value) { m_themeFaviconURLHasBeenSet = true; m_themeFaviconURL = std::move(value); }
136 inline void SetThemeFaviconURL(const char* value) { m_themeFaviconURLHasBeenSet = true; m_themeFaviconURL.assign(value); }
137 inline Theme& WithThemeFaviconURL(const Aws::String& value) { SetThemeFaviconURL(value); return *this;}
138 inline Theme& WithThemeFaviconURL(Aws::String&& value) { SetThemeFaviconURL(std::move(value)); return *this;}
139 inline Theme& WithThemeFaviconURL(const char* value) { SetThemeFaviconURL(value); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
147 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
148 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
149 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
150 inline Theme& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
151 inline Theme& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
153 private:
154
155 Aws::String m_stackName;
156 bool m_stackNameHasBeenSet = false;
157
158 ThemeState m_state;
159 bool m_stateHasBeenSet = false;
160
161 Aws::String m_themeTitleText;
162 bool m_themeTitleTextHasBeenSet = false;
163
164 ThemeStyling m_themeStyling;
165 bool m_themeStylingHasBeenSet = false;
166
167 Aws::Vector<ThemeFooterLink> m_themeFooterLinks;
168 bool m_themeFooterLinksHasBeenSet = false;
169
170 Aws::String m_themeOrganizationLogoURL;
171 bool m_themeOrganizationLogoURLHasBeenSet = false;
172
173 Aws::String m_themeFaviconURL;
174 bool m_themeFaviconURLHasBeenSet = false;
175
176 Aws::Utils::DateTime m_createdTime;
177 bool m_createdTimeHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace AppStream
182} // namespace Aws
void SetState(const ThemeState &value)
Definition Theme.h:66
bool ThemeFooterLinksHasBeenSet() const
Definition Theme.h:104
AWS_APPSTREAM_API Theme & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetThemeTitleText() const
Definition Theme.h:76
Theme & WithThemeOrganizationLogoURL(const char *value)
Definition Theme.h:124
void SetState(ThemeState &&value)
Definition Theme.h:67
Theme & WithStackName(Aws::String &&value)
Definition Theme.h:56
Theme & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Theme.h:151
Theme & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Theme.h:150
void SetThemeOrganizationLogoURL(Aws::String &&value)
Definition Theme.h:120
void SetThemeFooterLinks(Aws::Vector< ThemeFooterLink > &&value)
Definition Theme.h:106
void SetThemeStyling(ThemeStyling &&value)
Definition Theme.h:94
void SetThemeOrganizationLogoURL(const char *value)
Definition Theme.h:121
void SetStackName(const char *value)
Definition Theme.h:54
void SetThemeFaviconURL(const char *value)
Definition Theme.h:136
Theme & WithThemeFaviconURL(Aws::String &&value)
Definition Theme.h:138
void SetThemeFaviconURL(Aws::String &&value)
Definition Theme.h:135
Theme & WithThemeOrganizationLogoURL(Aws::String &&value)
Definition Theme.h:123
Theme & AddThemeFooterLinks(const ThemeFooterLink &value)
Definition Theme.h:109
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ThemeFooterLink > & GetThemeFooterLinks() const
Definition Theme.h:103
const Aws::String & GetThemeFaviconURL() const
Definition Theme.h:132
Theme & WithThemeStyling(ThemeStyling &&value)
Definition Theme.h:96
bool StateHasBeenSet() const
Definition Theme.h:65
const ThemeStyling & GetThemeStyling() const
Definition Theme.h:91
Theme & WithThemeTitleText(Aws::String &&value)
Definition Theme.h:82
const Aws::String & GetStackName() const
Definition Theme.h:50
void SetThemeFooterLinks(const Aws::Vector< ThemeFooterLink > &value)
Definition Theme.h:105
Theme & WithState(const ThemeState &value)
Definition Theme.h:68
Theme & WithThemeStyling(const ThemeStyling &value)
Definition Theme.h:95
Theme & AddThemeFooterLinks(ThemeFooterLink &&value)
Definition Theme.h:110
Theme & WithThemeOrganizationLogoURL(const Aws::String &value)
Definition Theme.h:122
Theme & WithThemeFaviconURL(const char *value)
Definition Theme.h:139
Theme & WithState(ThemeState &&value)
Definition Theme.h:69
bool ThemeTitleTextHasBeenSet() const
Definition Theme.h:77
Theme & WithThemeFooterLinks(const Aws::Vector< ThemeFooterLink > &value)
Definition Theme.h:107
void SetStackName(const Aws::String &value)
Definition Theme.h:52
void SetThemeTitleText(Aws::String &&value)
Definition Theme.h:79
void SetThemeTitleText(const char *value)
Definition Theme.h:80
AWS_APPSTREAM_API Theme(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Theme.h:148
void SetThemeFaviconURL(const Aws::String &value)
Definition Theme.h:134
const Aws::String & GetThemeOrganizationLogoURL() const
Definition Theme.h:117
const ThemeState & GetState() const
Definition Theme.h:64
Theme & WithStackName(const char *value)
Definition Theme.h:57
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Theme.h:146
bool ThemeStylingHasBeenSet() const
Definition Theme.h:92
Theme & WithThemeTitleText(const Aws::String &value)
Definition Theme.h:81
void SetThemeTitleText(const Aws::String &value)
Definition Theme.h:78
bool CreatedTimeHasBeenSet() const
Definition Theme.h:147
void SetStackName(Aws::String &&value)
Definition Theme.h:53
void SetThemeOrganizationLogoURL(const Aws::String &value)
Definition Theme.h:119
Theme & WithThemeTitleText(const char *value)
Definition Theme.h:83
AWS_APPSTREAM_API Theme()
void SetThemeStyling(const ThemeStyling &value)
Definition Theme.h:93
Theme & WithThemeFaviconURL(const Aws::String &value)
Definition Theme.h:137
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Theme.h:149
Theme & WithThemeFooterLinks(Aws::Vector< ThemeFooterLink > &&value)
Definition Theme.h:108
bool ThemeOrganizationLogoURLHasBeenSet() const
Definition Theme.h:118
Theme & WithStackName(const Aws::String &value)
Definition Theme.h:55
bool StackNameHasBeenSet() const
Definition Theme.h:51
bool ThemeFaviconURLHasBeenSet() const
Definition Theme.h:133
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue