AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VisualCustomAction.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/WidgetStatus.h>
10#include <aws/quicksight/model/VisualCustomActionTrigger.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/VisualCustomActionOperation.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_QUICKSIGHT_API VisualCustomAction();
39 AWS_QUICKSIGHT_API VisualCustomAction(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCustomActionId() const{ return m_customActionId; }
49 inline bool CustomActionIdHasBeenSet() const { return m_customActionIdHasBeenSet; }
50 inline void SetCustomActionId(const Aws::String& value) { m_customActionIdHasBeenSet = true; m_customActionId = value; }
51 inline void SetCustomActionId(Aws::String&& value) { m_customActionIdHasBeenSet = true; m_customActionId = std::move(value); }
52 inline void SetCustomActionId(const char* value) { m_customActionIdHasBeenSet = true; m_customActionId.assign(value); }
53 inline VisualCustomAction& WithCustomActionId(const Aws::String& value) { SetCustomActionId(value); return *this;}
54 inline VisualCustomAction& WithCustomActionId(Aws::String&& value) { SetCustomActionId(std::move(value)); return *this;}
55 inline VisualCustomAction& WithCustomActionId(const char* value) { SetCustomActionId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline VisualCustomAction& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline VisualCustomAction& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline VisualCustomAction& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const WidgetStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const WidgetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(WidgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline VisualCustomAction& WithStatus(const WidgetStatus& value) { SetStatus(value); return *this;}
81 inline VisualCustomAction& WithStatus(WidgetStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
92 inline const VisualCustomActionTrigger& GetTrigger() const{ return m_trigger; }
93 inline bool TriggerHasBeenSet() const { return m_triggerHasBeenSet; }
94 inline void SetTrigger(const VisualCustomActionTrigger& value) { m_triggerHasBeenSet = true; m_trigger = value; }
95 inline void SetTrigger(VisualCustomActionTrigger&& value) { m_triggerHasBeenSet = true; m_trigger = std::move(value); }
96 inline VisualCustomAction& WithTrigger(const VisualCustomActionTrigger& value) { SetTrigger(value); return *this;}
97 inline VisualCustomAction& WithTrigger(VisualCustomActionTrigger&& value) { SetTrigger(std::move(value)); return *this;}
99
101
106 inline const Aws::Vector<VisualCustomActionOperation>& GetActionOperations() const{ return m_actionOperations; }
107 inline bool ActionOperationsHasBeenSet() const { return m_actionOperationsHasBeenSet; }
108 inline void SetActionOperations(const Aws::Vector<VisualCustomActionOperation>& value) { m_actionOperationsHasBeenSet = true; m_actionOperations = value; }
109 inline void SetActionOperations(Aws::Vector<VisualCustomActionOperation>&& value) { m_actionOperationsHasBeenSet = true; m_actionOperations = std::move(value); }
112 inline VisualCustomAction& AddActionOperations(const VisualCustomActionOperation& value) { m_actionOperationsHasBeenSet = true; m_actionOperations.push_back(value); return *this; }
113 inline VisualCustomAction& AddActionOperations(VisualCustomActionOperation&& value) { m_actionOperationsHasBeenSet = true; m_actionOperations.push_back(std::move(value)); return *this; }
115 private:
116
117 Aws::String m_customActionId;
118 bool m_customActionIdHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 WidgetStatus m_status;
124 bool m_statusHasBeenSet = false;
125
127 bool m_triggerHasBeenSet = false;
128
130 bool m_actionOperationsHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QuickSight
135} // namespace Aws
const Aws::String & GetCustomActionId() const
void SetStatus(const WidgetStatus &value)
VisualCustomAction & WithCustomActionId(const char *value)
VisualCustomAction & WithActionOperations(Aws::Vector< VisualCustomActionOperation > &&value)
VisualCustomAction & AddActionOperations(const VisualCustomActionOperation &value)
AWS_QUICKSIGHT_API VisualCustomAction(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API VisualCustomAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomActionId(const Aws::String &value)
const Aws::Vector< VisualCustomActionOperation > & GetActionOperations() const
void SetTrigger(VisualCustomActionTrigger &&value)
VisualCustomAction & WithName(const Aws::String &value)
VisualCustomAction & WithName(const char *value)
VisualCustomAction & WithTrigger(VisualCustomActionTrigger &&value)
void SetActionOperations(const Aws::Vector< VisualCustomActionOperation > &value)
VisualCustomAction & WithStatus(WidgetStatus &&value)
VisualCustomAction & WithCustomActionId(Aws::String &&value)
VisualCustomAction & WithName(Aws::String &&value)
const VisualCustomActionTrigger & GetTrigger() const
void SetTrigger(const VisualCustomActionTrigger &value)
VisualCustomAction & WithTrigger(const VisualCustomActionTrigger &value)
VisualCustomAction & WithStatus(const WidgetStatus &value)
VisualCustomAction & WithCustomActionId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
VisualCustomAction & AddActionOperations(VisualCustomActionOperation &&value)
void SetActionOperations(Aws::Vector< VisualCustomActionOperation > &&value)
VisualCustomAction & WithActionOperations(const Aws::Vector< VisualCustomActionOperation > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue