AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
LogoSet.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ImageSet.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
27class LogoSet {
28 public:
29 AWS_QUICKSIGHT_API LogoSet() = default;
30 AWS_QUICKSIGHT_API LogoSet(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API LogoSet& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const ImageSet& GetPrimary() const { return m_primary; }
39 inline bool PrimaryHasBeenSet() const { return m_primaryHasBeenSet; }
40 template <typename PrimaryT = ImageSet>
41 void SetPrimary(PrimaryT&& value) {
42 m_primaryHasBeenSet = true;
43 m_primary = std::forward<PrimaryT>(value);
44 }
45 template <typename PrimaryT = ImageSet>
46 LogoSet& WithPrimary(PrimaryT&& value) {
47 SetPrimary(std::forward<PrimaryT>(value));
48 return *this;
49 }
51
53
56 inline const ImageSet& GetFavicon() const { return m_favicon; }
57 inline bool FaviconHasBeenSet() const { return m_faviconHasBeenSet; }
58 template <typename FaviconT = ImageSet>
59 void SetFavicon(FaviconT&& value) {
60 m_faviconHasBeenSet = true;
61 m_favicon = std::forward<FaviconT>(value);
62 }
63 template <typename FaviconT = ImageSet>
64 LogoSet& WithFavicon(FaviconT&& value) {
65 SetFavicon(std::forward<FaviconT>(value));
66 return *this;
67 }
69 private:
70 ImageSet m_primary;
71
72 ImageSet m_favicon;
73 bool m_primaryHasBeenSet = false;
74 bool m_faviconHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
LogoSet & WithPrimary(PrimaryT &&value)
Definition LogoSet.h:46
const ImageSet & GetFavicon() const
Definition LogoSet.h:56
const ImageSet & GetPrimary() const
Definition LogoSet.h:38
AWS_QUICKSIGHT_API LogoSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFavicon(FaviconT &&value)
Definition LogoSet.h:59
AWS_QUICKSIGHT_API LogoSet()=default
void SetPrimary(PrimaryT &&value)
Definition LogoSet.h:41
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API LogoSet(Aws::Utils::Json::JsonView jsonValue)
LogoSet & WithFavicon(FaviconT &&value)
Definition LogoSet.h:64
Aws::Utils::Json::JsonValue JsonValue