AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmptyVisual.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/VisualCustomAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_QUICKSIGHT_API EmptyVisual();
40 AWS_QUICKSIGHT_API EmptyVisual(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API EmptyVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetVisualId() const{ return m_visualId; }
52 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
53 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
54 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
55 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
56 inline EmptyVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
57 inline EmptyVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
58 inline EmptyVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
60
62
66 inline const Aws::String& GetDataSetIdentifier() const{ return m_dataSetIdentifier; }
67 inline bool DataSetIdentifierHasBeenSet() const { return m_dataSetIdentifierHasBeenSet; }
68 inline void SetDataSetIdentifier(const Aws::String& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = value; }
69 inline void SetDataSetIdentifier(Aws::String&& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = std::move(value); }
70 inline void SetDataSetIdentifier(const char* value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier.assign(value); }
71 inline EmptyVisual& WithDataSetIdentifier(const Aws::String& value) { SetDataSetIdentifier(value); return *this;}
72 inline EmptyVisual& WithDataSetIdentifier(Aws::String&& value) { SetDataSetIdentifier(std::move(value)); return *this;}
73 inline EmptyVisual& WithDataSetIdentifier(const char* value) { SetDataSetIdentifier(value); return *this;}
75
77
80 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
81 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
82 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
83 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
84 inline EmptyVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
85 inline EmptyVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
86 inline EmptyVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
87 inline EmptyVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
89 private:
90
91 Aws::String m_visualId;
92 bool m_visualIdHasBeenSet = false;
93
94 Aws::String m_dataSetIdentifier;
95 bool m_dataSetIdentifierHasBeenSet = false;
96
98 bool m_actionsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
AWS_QUICKSIGHT_API EmptyVisual(Aws::Utils::Json::JsonView jsonValue)
EmptyVisual & AddActions(VisualCustomAction &&value)
Definition EmptyVisual.h:87
void SetVisualId(const char *value)
Definition EmptyVisual.h:55
EmptyVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
Definition EmptyVisual.h:85
EmptyVisual & WithDataSetIdentifier(Aws::String &&value)
Definition EmptyVisual.h:72
EmptyVisual & WithVisualId(Aws::String &&value)
Definition EmptyVisual.h:57
const Aws::Vector< VisualCustomAction > & GetActions() const
Definition EmptyVisual.h:80
void SetVisualId(Aws::String &&value)
Definition EmptyVisual.h:54
EmptyVisual & WithDataSetIdentifier(const char *value)
Definition EmptyVisual.h:73
EmptyVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
Definition EmptyVisual.h:84
void SetActions(Aws::Vector< VisualCustomAction > &&value)
Definition EmptyVisual.h:83
EmptyVisual & WithVisualId(const Aws::String &value)
Definition EmptyVisual.h:56
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
EmptyVisual & WithDataSetIdentifier(const Aws::String &value)
Definition EmptyVisual.h:71
void SetDataSetIdentifier(Aws::String &&value)
Definition EmptyVisual.h:69
EmptyVisual & WithVisualId(const char *value)
Definition EmptyVisual.h:58
AWS_QUICKSIGHT_API EmptyVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
EmptyVisual & AddActions(const VisualCustomAction &value)
Definition EmptyVisual.h:86
AWS_QUICKSIGHT_API EmptyVisual()
void SetDataSetIdentifier(const char *value)
Definition EmptyVisual.h:70
void SetDataSetIdentifier(const Aws::String &value)
Definition EmptyVisual.h:68
const Aws::String & GetDataSetIdentifier() const
Definition EmptyVisual.h:66
void SetActions(const Aws::Vector< VisualCustomAction > &value)
Definition EmptyVisual.h:82
const Aws::String & GetVisualId() const
Definition EmptyVisual.h:51
void SetVisualId(const Aws::String &value)
Definition EmptyVisual.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue