AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LayerCustomAction.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/LayerCustomActionTrigger.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/LayerCustomActionOperation.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 LayerCustomAction() = default;
39 AWS_QUICKSIGHT_API LayerCustomAction(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 template<typename CustomActionIdT = Aws::String>
51 void SetCustomActionId(CustomActionIdT&& value) { m_customActionIdHasBeenSet = true; m_customActionId = std::forward<CustomActionIdT>(value); }
52 template<typename CustomActionIdT = Aws::String>
53 LayerCustomAction& WithCustomActionId(CustomActionIdT&& value) { SetCustomActionId(std::forward<CustomActionIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 LayerCustomAction& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline WidgetStatus GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(WidgetStatus value) { m_statusHasBeenSet = true; m_status = value; }
75 inline LayerCustomAction& WithStatus(WidgetStatus value) { SetStatus(value); return *this;}
77
79
86 inline LayerCustomActionTrigger GetTrigger() const { return m_trigger; }
87 inline bool TriggerHasBeenSet() const { return m_triggerHasBeenSet; }
88 inline void SetTrigger(LayerCustomActionTrigger value) { m_triggerHasBeenSet = true; m_trigger = value; }
89 inline LayerCustomAction& WithTrigger(LayerCustomActionTrigger value) { SetTrigger(value); return *this;}
91
93
98 inline const Aws::Vector<LayerCustomActionOperation>& GetActionOperations() const { return m_actionOperations; }
99 inline bool ActionOperationsHasBeenSet() const { return m_actionOperationsHasBeenSet; }
100 template<typename ActionOperationsT = Aws::Vector<LayerCustomActionOperation>>
101 void SetActionOperations(ActionOperationsT&& value) { m_actionOperationsHasBeenSet = true; m_actionOperations = std::forward<ActionOperationsT>(value); }
102 template<typename ActionOperationsT = Aws::Vector<LayerCustomActionOperation>>
103 LayerCustomAction& WithActionOperations(ActionOperationsT&& value) { SetActionOperations(std::forward<ActionOperationsT>(value)); return *this;}
104 template<typename ActionOperationsT = LayerCustomActionOperation>
105 LayerCustomAction& AddActionOperations(ActionOperationsT&& value) { m_actionOperationsHasBeenSet = true; m_actionOperations.emplace_back(std::forward<ActionOperationsT>(value)); return *this; }
107 private:
108
109 Aws::String m_customActionId;
110 bool m_customActionIdHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
116 bool m_statusHasBeenSet = false;
117
119 bool m_triggerHasBeenSet = false;
120
122 bool m_actionOperationsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
LayerCustomAction & WithActionOperations(ActionOperationsT &&value)
LayerCustomAction & WithName(NameT &&value)
void SetActionOperations(ActionOperationsT &&value)
LayerCustomActionTrigger GetTrigger() const
AWS_QUICKSIGHT_API LayerCustomAction()=default
AWS_QUICKSIGHT_API LayerCustomAction(Aws::Utils::Json::JsonView jsonValue)
LayerCustomAction & WithTrigger(LayerCustomActionTrigger value)
AWS_QUICKSIGHT_API LayerCustomAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomActionId(CustomActionIdT &&value)
const Aws::String & GetCustomActionId() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LayerCustomAction & AddActionOperations(ActionOperationsT &&value)
const Aws::Vector< LayerCustomActionOperation > & GetActionOperations() const
void SetTrigger(LayerCustomActionTrigger value)
LayerCustomAction & WithCustomActionId(CustomActionIdT &&value)
LayerCustomAction & WithStatus(WidgetStatus 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