AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
PortalTheme.h
1
6#pragma once
7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/CustomColors.h>
9#include <aws/core/utils/DateTime.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace APIPortal {
21namespace Model {
22
29 public:
30 AWS_APIPORTAL_API PortalTheme() = default;
31 AWS_APIPORTAL_API PortalTheme(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APIPORTAL_API PortalTheme& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const CustomColors& GetCustomColors() const { return m_customColors; }
40 inline bool CustomColorsHasBeenSet() const { return m_customColorsHasBeenSet; }
41 template <typename CustomColorsT = CustomColors>
42 void SetCustomColors(CustomColorsT&& value) {
43 m_customColorsHasBeenSet = true;
44 m_customColors = std::forward<CustomColorsT>(value);
45 }
46 template <typename CustomColorsT = CustomColors>
47 PortalTheme& WithCustomColors(CustomColorsT&& value) {
48 SetCustomColors(std::forward<CustomColorsT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetLogoUploadedAt() const { return m_logoUploadedAt; }
58 inline bool LogoUploadedAtHasBeenSet() const { return m_logoUploadedAtHasBeenSet; }
59 template <typename LogoUploadedAtT = Aws::Utils::DateTime>
60 void SetLogoUploadedAt(LogoUploadedAtT&& value) {
61 m_logoUploadedAtHasBeenSet = true;
62 m_logoUploadedAt = std::forward<LogoUploadedAtT>(value);
63 }
64 template <typename LogoUploadedAtT = Aws::Utils::DateTime>
65 PortalTheme& WithLogoUploadedAt(LogoUploadedAtT&& value) {
66 SetLogoUploadedAt(std::forward<LogoUploadedAtT>(value));
67 return *this;
68 }
70 private:
71 CustomColors m_customColors;
72
73 Aws::Utils::DateTime m_logoUploadedAt{};
74 bool m_customColorsHasBeenSet = false;
75 bool m_logoUploadedAtHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace APIPortal
80} // namespace Aws
PortalTheme & WithCustomColors(CustomColorsT &&value)
Definition PortalTheme.h:47
void SetCustomColors(CustomColorsT &&value)
Definition PortalTheme.h:42
AWS_APIPORTAL_API PortalTheme(Aws::Utils::Json::JsonView jsonValue)
void SetLogoUploadedAt(LogoUploadedAtT &&value)
Definition PortalTheme.h:60
AWS_APIPORTAL_API PortalTheme & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIPORTAL_API PortalTheme()=default
PortalTheme & WithLogoUploadedAt(LogoUploadedAtT &&value)
Definition PortalTheme.h:65
const Aws::Utils::DateTime & GetLogoUploadedAt() const
Definition PortalTheme.h:57
const CustomColors & GetCustomColors() const
Definition PortalTheme.h:39
Aws::Utils::Json::JsonValue JsonValue