AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StackNameT = Aws::String>
53 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
54 template<typename StackNameT = Aws::String>
55 Theme& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
57
59
62 inline ThemeState GetState() const { return m_state; }
63 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
64 inline void SetState(ThemeState value) { m_stateHasBeenSet = true; m_state = value; }
65 inline Theme& WithState(ThemeState value) { SetState(value); return *this;}
67
69
72 inline const Aws::String& GetThemeTitleText() const { return m_themeTitleText; }
73 inline bool ThemeTitleTextHasBeenSet() const { return m_themeTitleTextHasBeenSet; }
74 template<typename ThemeTitleTextT = Aws::String>
75 void SetThemeTitleText(ThemeTitleTextT&& value) { m_themeTitleTextHasBeenSet = true; m_themeTitleText = std::forward<ThemeTitleTextT>(value); }
76 template<typename ThemeTitleTextT = Aws::String>
77 Theme& WithThemeTitleText(ThemeTitleTextT&& value) { SetThemeTitleText(std::forward<ThemeTitleTextT>(value)); return *this;}
79
81
85 inline ThemeStyling GetThemeStyling() const { return m_themeStyling; }
86 inline bool ThemeStylingHasBeenSet() const { return m_themeStylingHasBeenSet; }
87 inline void SetThemeStyling(ThemeStyling value) { m_themeStylingHasBeenSet = true; m_themeStyling = value; }
88 inline Theme& WithThemeStyling(ThemeStyling value) { SetThemeStyling(value); return *this;}
90
92
95 inline const Aws::Vector<ThemeFooterLink>& GetThemeFooterLinks() const { return m_themeFooterLinks; }
96 inline bool ThemeFooterLinksHasBeenSet() const { return m_themeFooterLinksHasBeenSet; }
97 template<typename ThemeFooterLinksT = Aws::Vector<ThemeFooterLink>>
98 void SetThemeFooterLinks(ThemeFooterLinksT&& value) { m_themeFooterLinksHasBeenSet = true; m_themeFooterLinks = std::forward<ThemeFooterLinksT>(value); }
99 template<typename ThemeFooterLinksT = Aws::Vector<ThemeFooterLink>>
100 Theme& WithThemeFooterLinks(ThemeFooterLinksT&& value) { SetThemeFooterLinks(std::forward<ThemeFooterLinksT>(value)); return *this;}
101 template<typename ThemeFooterLinksT = ThemeFooterLink>
102 Theme& AddThemeFooterLinks(ThemeFooterLinksT&& value) { m_themeFooterLinksHasBeenSet = true; m_themeFooterLinks.emplace_back(std::forward<ThemeFooterLinksT>(value)); return *this; }
104
106
109 inline const Aws::String& GetThemeOrganizationLogoURL() const { return m_themeOrganizationLogoURL; }
110 inline bool ThemeOrganizationLogoURLHasBeenSet() const { return m_themeOrganizationLogoURLHasBeenSet; }
111 template<typename ThemeOrganizationLogoURLT = Aws::String>
112 void SetThemeOrganizationLogoURL(ThemeOrganizationLogoURLT&& value) { m_themeOrganizationLogoURLHasBeenSet = true; m_themeOrganizationLogoURL = std::forward<ThemeOrganizationLogoURLT>(value); }
113 template<typename ThemeOrganizationLogoURLT = Aws::String>
114 Theme& WithThemeOrganizationLogoURL(ThemeOrganizationLogoURLT&& value) { SetThemeOrganizationLogoURL(std::forward<ThemeOrganizationLogoURLT>(value)); return *this;}
116
118
122 inline const Aws::String& GetThemeFaviconURL() const { return m_themeFaviconURL; }
123 inline bool ThemeFaviconURLHasBeenSet() const { return m_themeFaviconURLHasBeenSet; }
124 template<typename ThemeFaviconURLT = Aws::String>
125 void SetThemeFaviconURL(ThemeFaviconURLT&& value) { m_themeFaviconURLHasBeenSet = true; m_themeFaviconURL = std::forward<ThemeFaviconURLT>(value); }
126 template<typename ThemeFaviconURLT = Aws::String>
127 Theme& WithThemeFaviconURL(ThemeFaviconURLT&& value) { SetThemeFaviconURL(std::forward<ThemeFaviconURLT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
135 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
136 template<typename CreatedTimeT = Aws::Utils::DateTime>
137 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
138 template<typename CreatedTimeT = Aws::Utils::DateTime>
139 Theme& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
141 private:
142
143 Aws::String m_stackName;
144 bool m_stackNameHasBeenSet = false;
145
147 bool m_stateHasBeenSet = false;
148
149 Aws::String m_themeTitleText;
150 bool m_themeTitleTextHasBeenSet = false;
151
152 ThemeStyling m_themeStyling{ThemeStyling::NOT_SET};
153 bool m_themeStylingHasBeenSet = false;
154
155 Aws::Vector<ThemeFooterLink> m_themeFooterLinks;
156 bool m_themeFooterLinksHasBeenSet = false;
157
158 Aws::String m_themeOrganizationLogoURL;
159 bool m_themeOrganizationLogoURLHasBeenSet = false;
160
161 Aws::String m_themeFaviconURL;
162 bool m_themeFaviconURLHasBeenSet = false;
163
164 Aws::Utils::DateTime m_createdTime{};
165 bool m_createdTimeHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace AppStream
170} // namespace Aws
bool ThemeFooterLinksHasBeenSet() const
Definition Theme.h:96
AWS_APPSTREAM_API Theme & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(ThemeState value)
Definition Theme.h:64
const Aws::String & GetThemeTitleText() const
Definition Theme.h:72
Theme & AddThemeFooterLinks(ThemeFooterLinksT &&value)
Definition Theme.h:102
ThemeState GetState() const
Definition Theme.h:62
Theme & WithState(ThemeState value)
Definition Theme.h:65
Theme & WithThemeStyling(ThemeStyling value)
Definition Theme.h:88
void SetCreatedTime(CreatedTimeT &&value)
Definition Theme.h:137
AWS_APPSTREAM_API Theme()=default
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ThemeFooterLink > & GetThemeFooterLinks() const
Definition Theme.h:95
const Aws::String & GetThemeFaviconURL() const
Definition Theme.h:122
bool StateHasBeenSet() const
Definition Theme.h:63
const Aws::String & GetStackName() const
Definition Theme.h:50
ThemeStyling GetThemeStyling() const
Definition Theme.h:85
void SetThemeFooterLinks(ThemeFooterLinksT &&value)
Definition Theme.h:98
bool ThemeTitleTextHasBeenSet() const
Definition Theme.h:73
Theme & WithCreatedTime(CreatedTimeT &&value)
Definition Theme.h:139
AWS_APPSTREAM_API Theme(Aws::Utils::Json::JsonView jsonValue)
Theme & WithThemeTitleText(ThemeTitleTextT &&value)
Definition Theme.h:77
void SetStackName(StackNameT &&value)
Definition Theme.h:53
Theme & WithThemeFooterLinks(ThemeFooterLinksT &&value)
Definition Theme.h:100
const Aws::String & GetThemeOrganizationLogoURL() const
Definition Theme.h:109
void SetThemeTitleText(ThemeTitleTextT &&value)
Definition Theme.h:75
Theme & WithThemeFaviconURL(ThemeFaviconURLT &&value)
Definition Theme.h:127
void SetThemeStyling(ThemeStyling value)
Definition Theme.h:87
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Theme.h:134
bool ThemeStylingHasBeenSet() const
Definition Theme.h:86
bool CreatedTimeHasBeenSet() const
Definition Theme.h:135
void SetThemeOrganizationLogoURL(ThemeOrganizationLogoURLT &&value)
Definition Theme.h:112
Theme & WithStackName(StackNameT &&value)
Definition Theme.h:55
Theme & WithThemeOrganizationLogoURL(ThemeOrganizationLogoURLT &&value)
Definition Theme.h:114
void SetThemeFaviconURL(ThemeFaviconURLT &&value)
Definition Theme.h:125
bool ThemeOrganizationLogoURLHasBeenSet() const
Definition Theme.h:110
bool StackNameHasBeenSet() const
Definition Theme.h:51
bool ThemeFaviconURLHasBeenSet() const
Definition Theme.h:123
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue