AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Typography.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/Font.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API Typography() = default;
36 AWS_QUICKSIGHT_API Typography(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Typography& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Font>& GetFontFamilies() const { return m_fontFamilies; }
46 inline bool FontFamiliesHasBeenSet() const { return m_fontFamiliesHasBeenSet; }
47 template<typename FontFamiliesT = Aws::Vector<Font>>
48 void SetFontFamilies(FontFamiliesT&& value) { m_fontFamiliesHasBeenSet = true; m_fontFamilies = std::forward<FontFamiliesT>(value); }
49 template<typename FontFamiliesT = Aws::Vector<Font>>
50 Typography& WithFontFamilies(FontFamiliesT&& value) { SetFontFamilies(std::forward<FontFamiliesT>(value)); return *this;}
51 template<typename FontFamiliesT = Font>
52 Typography& AddFontFamilies(FontFamiliesT&& value) { m_fontFamiliesHasBeenSet = true; m_fontFamilies.emplace_back(std::forward<FontFamiliesT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Font> m_fontFamilies;
57 bool m_fontFamiliesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace QuickSight
62} // namespace Aws
AWS_QUICKSIGHT_API Typography & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Font > & GetFontFamilies() const
Definition Typography.h:45
AWS_QUICKSIGHT_API Typography()=default
AWS_QUICKSIGHT_API Typography(Aws::Utils::Json::JsonView jsonValue)
Typography & AddFontFamilies(FontFamiliesT &&value)
Definition Typography.h:52
void SetFontFamilies(FontFamiliesT &&value)
Definition Typography.h:48
Typography & WithFontFamilies(FontFamiliesT &&value)
Definition Typography.h:50
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue