AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
PortalContent.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/PortalTheme.h>
9#include <aws/core/utils/memory/stl/AWSString.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
30 public:
31 AWS_APIGATEWAYV2_API PortalContent() = default;
32 AWS_APIGATEWAYV2_API PortalContent(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API PortalContent& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
48 PortalContent& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDisplayName() const { return m_displayName; }
59 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
60 template <typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) {
62 m_displayNameHasBeenSet = true;
63 m_displayName = std::forward<DisplayNameT>(value);
64 }
65 template <typename DisplayNameT = Aws::String>
66 PortalContent& WithDisplayName(DisplayNameT&& value) {
67 SetDisplayName(std::forward<DisplayNameT>(value));
68 return *this;
69 }
71
73
76 inline const PortalTheme& GetTheme() const { return m_theme; }
77 inline bool ThemeHasBeenSet() const { return m_themeHasBeenSet; }
78 template <typename ThemeT = PortalTheme>
79 void SetTheme(ThemeT&& value) {
80 m_themeHasBeenSet = true;
81 m_theme = std::forward<ThemeT>(value);
82 }
83 template <typename ThemeT = PortalTheme>
84 PortalContent& WithTheme(ThemeT&& value) {
85 SetTheme(std::forward<ThemeT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_description;
91
92 Aws::String m_displayName;
93
94 PortalTheme m_theme;
95 bool m_descriptionHasBeenSet = false;
96 bool m_displayNameHasBeenSet = false;
97 bool m_themeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace ApiGatewayV2
102} // namespace Aws
PortalContent & WithTheme(ThemeT &&value)
PortalContent & WithDescription(DescriptionT &&value)
void SetDisplayName(DisplayNameT &&value)
PortalContent & WithDisplayName(DisplayNameT &&value)
AWS_APIGATEWAYV2_API PortalContent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayName() const
const PortalTheme & GetTheme() const
AWS_APIGATEWAYV2_API PortalContent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
AWS_APIGATEWAYV2_API PortalContent()=default
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue