AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TopicVisual.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/TopicIR.h>
11#include <aws/quicksight/model/VisualRole.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
31 public:
32 AWS_QUICKSIGHT_API TopicVisual() = default;
33 AWS_QUICKSIGHT_API TopicVisual(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API TopicVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetVisualId() const { return m_visualId; }
42 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
43 template <typename VisualIdT = Aws::String>
44 void SetVisualId(VisualIdT&& value) {
45 m_visualIdHasBeenSet = true;
46 m_visualId = std::forward<VisualIdT>(value);
47 }
48 template <typename VisualIdT = Aws::String>
49 TopicVisual& WithVisualId(VisualIdT&& value) {
50 SetVisualId(std::forward<VisualIdT>(value));
51 return *this;
52 }
54
56
59 inline VisualRole GetRole() const { return m_role; }
60 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
61 inline void SetRole(VisualRole value) {
62 m_roleHasBeenSet = true;
63 m_role = value;
64 }
66 SetRole(value);
67 return *this;
68 }
70
72
75 inline const TopicIR& GetIr() const { return m_ir; }
76 inline bool IrHasBeenSet() const { return m_irHasBeenSet; }
77 template <typename IrT = TopicIR>
78 void SetIr(IrT&& value) {
79 m_irHasBeenSet = true;
80 m_ir = std::forward<IrT>(value);
81 }
82 template <typename IrT = TopicIR>
83 TopicVisual& WithIr(IrT&& value) {
84 SetIr(std::forward<IrT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Vector<TopicVisual>& GetSupportingVisuals() const { return m_supportingVisuals; }
94 inline bool SupportingVisualsHasBeenSet() const { return m_supportingVisualsHasBeenSet; }
95 template <typename SupportingVisualsT = Aws::Vector<TopicVisual>>
96 void SetSupportingVisuals(SupportingVisualsT&& value) {
97 m_supportingVisualsHasBeenSet = true;
98 m_supportingVisuals = std::forward<SupportingVisualsT>(value);
99 }
100 template <typename SupportingVisualsT = Aws::Vector<TopicVisual>>
101 TopicVisual& WithSupportingVisuals(SupportingVisualsT&& value) {
102 SetSupportingVisuals(std::forward<SupportingVisualsT>(value));
103 return *this;
104 }
105 template <typename SupportingVisualsT = TopicVisual>
106 TopicVisual& AddSupportingVisuals(SupportingVisualsT&& value) {
107 m_supportingVisualsHasBeenSet = true;
108 m_supportingVisuals.emplace_back(std::forward<SupportingVisualsT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_visualId;
114
116
117 TopicIR m_ir;
118
119 Aws::Vector<TopicVisual> m_supportingVisuals;
120 bool m_visualIdHasBeenSet = false;
121 bool m_roleHasBeenSet = false;
122 bool m_irHasBeenSet = false;
123 bool m_supportingVisualsHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
AWS_QUICKSIGHT_API TopicVisual()=default
void SetRole(VisualRole value)
Definition TopicVisual.h:61
const Aws::Vector< TopicVisual > & GetSupportingVisuals() const
Definition TopicVisual.h:93
TopicVisual & WithRole(VisualRole value)
Definition TopicVisual.h:65
void SetSupportingVisuals(SupportingVisualsT &&value)
Definition TopicVisual.h:96
TopicVisual & WithSupportingVisuals(SupportingVisualsT &&value)
AWS_QUICKSIGHT_API TopicVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVisualId(VisualIdT &&value)
Definition TopicVisual.h:44
const Aws::String & GetVisualId() const
Definition TopicVisual.h:41
TopicVisual & AddSupportingVisuals(SupportingVisualsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicVisual & WithIr(IrT &&value)
Definition TopicVisual.h:83
AWS_QUICKSIGHT_API TopicVisual(Aws::Utils::Json::JsonView jsonValue)
TopicVisual & WithVisualId(VisualIdT &&value)
Definition TopicVisual.h:49
const TopicIR & GetIr() const
Definition TopicVisual.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue