AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VisualCustomActionOperation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/CustomActionFilterOperation.h>
9#include <aws/quicksight/model/CustomActionNavigationOperation.h>
10#include <aws/quicksight/model/CustomActionURLOperation.h>
11#include <aws/quicksight/model/CustomActionSetParametersOperation.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
37 {
38 public:
39 AWS_QUICKSIGHT_API VisualCustomActionOperation() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const CustomActionFilterOperation& GetFilterOperation() const { return m_filterOperation; }
51 inline bool FilterOperationHasBeenSet() const { return m_filterOperationHasBeenSet; }
52 template<typename FilterOperationT = CustomActionFilterOperation>
53 void SetFilterOperation(FilterOperationT&& value) { m_filterOperationHasBeenSet = true; m_filterOperation = std::forward<FilterOperationT>(value); }
54 template<typename FilterOperationT = CustomActionFilterOperation>
55 VisualCustomActionOperation& WithFilterOperation(FilterOperationT&& value) { SetFilterOperation(std::forward<FilterOperationT>(value)); return *this;}
57
59
63 inline const CustomActionNavigationOperation& GetNavigationOperation() const { return m_navigationOperation; }
64 inline bool NavigationOperationHasBeenSet() const { return m_navigationOperationHasBeenSet; }
65 template<typename NavigationOperationT = CustomActionNavigationOperation>
66 void SetNavigationOperation(NavigationOperationT&& value) { m_navigationOperationHasBeenSet = true; m_navigationOperation = std::forward<NavigationOperationT>(value); }
67 template<typename NavigationOperationT = CustomActionNavigationOperation>
68 VisualCustomActionOperation& WithNavigationOperation(NavigationOperationT&& value) { SetNavigationOperation(std::forward<NavigationOperationT>(value)); return *this;}
70
72
75 inline const CustomActionURLOperation& GetURLOperation() const { return m_uRLOperation; }
76 inline bool URLOperationHasBeenSet() const { return m_uRLOperationHasBeenSet; }
77 template<typename URLOperationT = CustomActionURLOperation>
78 void SetURLOperation(URLOperationT&& value) { m_uRLOperationHasBeenSet = true; m_uRLOperation = std::forward<URLOperationT>(value); }
79 template<typename URLOperationT = CustomActionURLOperation>
80 VisualCustomActionOperation& WithURLOperation(URLOperationT&& value) { SetURLOperation(std::forward<URLOperationT>(value)); return *this;}
82
84
87 inline const CustomActionSetParametersOperation& GetSetParametersOperation() const { return m_setParametersOperation; }
88 inline bool SetParametersOperationHasBeenSet() const { return m_setParametersOperationHasBeenSet; }
89 template<typename SetParametersOperationT = CustomActionSetParametersOperation>
90 void SetSetParametersOperation(SetParametersOperationT&& value) { m_setParametersOperationHasBeenSet = true; m_setParametersOperation = std::forward<SetParametersOperationT>(value); }
91 template<typename SetParametersOperationT = CustomActionSetParametersOperation>
92 VisualCustomActionOperation& WithSetParametersOperation(SetParametersOperationT&& value) { SetSetParametersOperation(std::forward<SetParametersOperationT>(value)); return *this;}
94 private:
95
96 CustomActionFilterOperation m_filterOperation;
97 bool m_filterOperationHasBeenSet = false;
98
99 CustomActionNavigationOperation m_navigationOperation;
100 bool m_navigationOperationHasBeenSet = false;
101
102 CustomActionURLOperation m_uRLOperation;
103 bool m_uRLOperationHasBeenSet = false;
104
105 CustomActionSetParametersOperation m_setParametersOperation;
106 bool m_setParametersOperationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
VisualCustomActionOperation & WithURLOperation(URLOperationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const CustomActionNavigationOperation & GetNavigationOperation() const
AWS_QUICKSIGHT_API VisualCustomActionOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSetParametersOperation(SetParametersOperationT &&value)
AWS_QUICKSIGHT_API VisualCustomActionOperation(Aws::Utils::Json::JsonView jsonValue)
VisualCustomActionOperation & WithNavigationOperation(NavigationOperationT &&value)
const CustomActionFilterOperation & GetFilterOperation() const
const CustomActionSetParametersOperation & GetSetParametersOperation() const
AWS_QUICKSIGHT_API VisualCustomActionOperation()=default
VisualCustomActionOperation & WithFilterOperation(FilterOperationT &&value)
VisualCustomActionOperation & WithSetParametersOperation(SetParametersOperationT &&value)
const CustomActionURLOperation & GetURLOperation() const
Aws::Utils::Json::JsonValue JsonValue