AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicVisual.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/VisualRole.h>
10#include <aws/quicksight/model/TopicIR.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API TopicVisual();
38 AWS_QUICKSIGHT_API TopicVisual(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API TopicVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVisualId() const{ return m_visualId; }
48 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
49 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
50 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
51 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
52 inline TopicVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
53 inline TopicVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
54 inline TopicVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
56
58
61 inline const VisualRole& GetRole() const{ return m_role; }
62 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
63 inline void SetRole(const VisualRole& value) { m_roleHasBeenSet = true; m_role = value; }
64 inline void SetRole(VisualRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
65 inline TopicVisual& WithRole(const VisualRole& value) { SetRole(value); return *this;}
66 inline TopicVisual& WithRole(VisualRole&& value) { SetRole(std::move(value)); return *this;}
68
70
73 inline const TopicIR& GetIr() const{ return m_ir; }
74 inline bool IrHasBeenSet() const { return m_irHasBeenSet; }
75 inline void SetIr(const TopicIR& value) { m_irHasBeenSet = true; m_ir = value; }
76 inline void SetIr(TopicIR&& value) { m_irHasBeenSet = true; m_ir = std::move(value); }
77 inline TopicVisual& WithIr(const TopicIR& value) { SetIr(value); return *this;}
78 inline TopicVisual& WithIr(TopicIR&& value) { SetIr(std::move(value)); return *this;}
80
82
85 inline const Aws::Vector<TopicVisual>& GetSupportingVisuals() const{ return m_supportingVisuals; }
86 inline bool SupportingVisualsHasBeenSet() const { return m_supportingVisualsHasBeenSet; }
87 inline void SetSupportingVisuals(const Aws::Vector<TopicVisual>& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals = value; }
88 inline void SetSupportingVisuals(Aws::Vector<TopicVisual>&& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals = std::move(value); }
90 inline TopicVisual& WithSupportingVisuals(Aws::Vector<TopicVisual>&& value) { SetSupportingVisuals(std::move(value)); return *this;}
91 inline TopicVisual& AddSupportingVisuals(const TopicVisual& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals.push_back(value); return *this; }
92 inline TopicVisual& AddSupportingVisuals(TopicVisual&& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_visualId;
97 bool m_visualIdHasBeenSet = false;
98
99 VisualRole m_role;
100 bool m_roleHasBeenSet = false;
101
102 TopicIR m_ir;
103 bool m_irHasBeenSet = false;
104
105 Aws::Vector<TopicVisual> m_supportingVisuals;
106 bool m_supportingVisualsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
AWS_QUICKSIGHT_API TopicVisual()
void SetRole(const VisualRole &value)
Definition TopicVisual.h:63
void SetIr(const TopicIR &value)
Definition TopicVisual.h:75
TopicVisual & WithSupportingVisuals(Aws::Vector< TopicVisual > &&value)
Definition TopicVisual.h:90
TopicVisual & WithVisualId(Aws::String &&value)
Definition TopicVisual.h:53
const Aws::Vector< TopicVisual > & GetSupportingVisuals() const
Definition TopicVisual.h:85
void SetVisualId(Aws::String &&value)
Definition TopicVisual.h:50
void SetVisualId(const char *value)
Definition TopicVisual.h:51
TopicVisual & AddSupportingVisuals(const TopicVisual &value)
Definition TopicVisual.h:91
void SetVisualId(const Aws::String &value)
Definition TopicVisual.h:49
TopicVisual & WithIr(const TopicIR &value)
Definition TopicVisual.h:77
AWS_QUICKSIGHT_API TopicVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVisualId() const
Definition TopicVisual.h:47
const VisualRole & GetRole() const
Definition TopicVisual.h:61
TopicVisual & WithSupportingVisuals(const Aws::Vector< TopicVisual > &value)
Definition TopicVisual.h:89
void SetSupportingVisuals(Aws::Vector< TopicVisual > &&value)
Definition TopicVisual.h:88
TopicVisual & WithRole(const VisualRole &value)
Definition TopicVisual.h:65
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicVisual & WithIr(TopicIR &&value)
Definition TopicVisual.h:78
TopicVisual & AddSupportingVisuals(TopicVisual &&value)
Definition TopicVisual.h:92
TopicVisual & WithVisualId(const char *value)
Definition TopicVisual.h:54
void SetSupportingVisuals(const Aws::Vector< TopicVisual > &value)
Definition TopicVisual.h:87
AWS_QUICKSIGHT_API TopicVisual(Aws::Utils::Json::JsonView jsonValue)
const TopicIR & GetIr() const
Definition TopicVisual.h:73
void SetRole(VisualRole &&value)
Definition TopicVisual.h:64
TopicVisual & WithVisualId(const Aws::String &value)
Definition TopicVisual.h:52
TopicVisual & WithRole(VisualRole &&value)
Definition TopicVisual.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue