AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
PortalTheme.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/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 ApiGatewayV2 {
21namespace Model {
22
29 public:
30 AWS_APIGATEWAYV2_API PortalTheme() = default;
31 AWS_APIGATEWAYV2_API PortalTheme(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APIGATEWAYV2_API PortalTheme& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_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& GetLogoLastUploaded() const { return m_logoLastUploaded; }
58 inline bool LogoLastUploadedHasBeenSet() const { return m_logoLastUploadedHasBeenSet; }
59 template <typename LogoLastUploadedT = Aws::Utils::DateTime>
60 void SetLogoLastUploaded(LogoLastUploadedT&& value) {
61 m_logoLastUploadedHasBeenSet = true;
62 m_logoLastUploaded = std::forward<LogoLastUploadedT>(value);
63 }
64 template <typename LogoLastUploadedT = Aws::Utils::DateTime>
65 PortalTheme& WithLogoLastUploaded(LogoLastUploadedT&& value) {
66 SetLogoLastUploaded(std::forward<LogoLastUploadedT>(value));
67 return *this;
68 }
70 private:
71 CustomColors m_customColors;
72
73 Aws::Utils::DateTime m_logoLastUploaded{};
74 bool m_customColorsHasBeenSet = false;
75 bool m_logoLastUploadedHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ApiGatewayV2
80} // namespace Aws
const Aws::Utils::DateTime & GetLogoLastUploaded() const
Definition PortalTheme.h:57
AWS_APIGATEWAYV2_API PortalTheme & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API PortalTheme(Aws::Utils::Json::JsonView jsonValue)
PortalTheme & WithCustomColors(CustomColorsT &&value)
Definition PortalTheme.h:47
PortalTheme & WithLogoLastUploaded(LogoLastUploadedT &&value)
Definition PortalTheme.h:65
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogoLastUploaded(LogoLastUploadedT &&value)
Definition PortalTheme.h:60
AWS_APIGATEWAYV2_API PortalTheme()=default
void SetCustomColors(CustomColorsT &&value)
Definition PortalTheme.h:42
const CustomColors & GetCustomColors() const
Definition PortalTheme.h:39
Aws::Utils::Json::JsonValue JsonValue