AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
LayerCustomActionOperation.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/CustomActionSetParametersOperation.h>
11#include <aws/quicksight/model/CustomActionURLOperation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
33 public:
34 AWS_QUICKSIGHT_API LayerCustomActionOperation() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const CustomActionFilterOperation& GetFilterOperation() const { return m_filterOperation; }
42 inline bool FilterOperationHasBeenSet() const { return m_filterOperationHasBeenSet; }
43 template <typename FilterOperationT = CustomActionFilterOperation>
44 void SetFilterOperation(FilterOperationT&& value) {
45 m_filterOperationHasBeenSet = true;
46 m_filterOperation = std::forward<FilterOperationT>(value);
47 }
48 template <typename FilterOperationT = CustomActionFilterOperation>
50 SetFilterOperation(std::forward<FilterOperationT>(value));
51 return *this;
52 }
54
56
57 inline const CustomActionNavigationOperation& GetNavigationOperation() const { return m_navigationOperation; }
58 inline bool NavigationOperationHasBeenSet() const { return m_navigationOperationHasBeenSet; }
59 template <typename NavigationOperationT = CustomActionNavigationOperation>
60 void SetNavigationOperation(NavigationOperationT&& value) {
61 m_navigationOperationHasBeenSet = true;
62 m_navigationOperation = std::forward<NavigationOperationT>(value);
63 }
64 template <typename NavigationOperationT = CustomActionNavigationOperation>
65 LayerCustomActionOperation& WithNavigationOperation(NavigationOperationT&& value) {
66 SetNavigationOperation(std::forward<NavigationOperationT>(value));
67 return *this;
68 }
70
72
73 inline const CustomActionURLOperation& GetURLOperation() const { return m_uRLOperation; }
74 inline bool URLOperationHasBeenSet() const { return m_uRLOperationHasBeenSet; }
75 template <typename URLOperationT = CustomActionURLOperation>
76 void SetURLOperation(URLOperationT&& value) {
77 m_uRLOperationHasBeenSet = true;
78 m_uRLOperation = std::forward<URLOperationT>(value);
79 }
80 template <typename URLOperationT = CustomActionURLOperation>
82 SetURLOperation(std::forward<URLOperationT>(value));
83 return *this;
84 }
86
88
89 inline const CustomActionSetParametersOperation& GetSetParametersOperation() const { return m_setParametersOperation; }
90 inline bool SetParametersOperationHasBeenSet() const { return m_setParametersOperationHasBeenSet; }
91 template <typename SetParametersOperationT = CustomActionSetParametersOperation>
92 void SetSetParametersOperation(SetParametersOperationT&& value) {
93 m_setParametersOperationHasBeenSet = true;
94 m_setParametersOperation = std::forward<SetParametersOperationT>(value);
95 }
96 template <typename SetParametersOperationT = CustomActionSetParametersOperation>
97 LayerCustomActionOperation& WithSetParametersOperation(SetParametersOperationT&& value) {
98 SetSetParametersOperation(std::forward<SetParametersOperationT>(value));
99 return *this;
100 }
102 private:
103 CustomActionFilterOperation m_filterOperation;
104
105 CustomActionNavigationOperation m_navigationOperation;
106
107 CustomActionURLOperation m_uRLOperation;
108
109 CustomActionSetParametersOperation m_setParametersOperation;
110 bool m_filterOperationHasBeenSet = false;
111 bool m_navigationOperationHasBeenSet = false;
112 bool m_uRLOperationHasBeenSet = false;
113 bool m_setParametersOperationHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace QuickSight
118} // namespace Aws
const CustomActionFilterOperation & GetFilterOperation() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LayerCustomActionOperation & WithURLOperation(URLOperationT &&value)
LayerCustomActionOperation & WithFilterOperation(FilterOperationT &&value)
LayerCustomActionOperation & WithSetParametersOperation(SetParametersOperationT &&value)
AWS_QUICKSIGHT_API LayerCustomActionOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomActionURLOperation & GetURLOperation() const
const CustomActionSetParametersOperation & GetSetParametersOperation() const
AWS_QUICKSIGHT_API LayerCustomActionOperation(Aws::Utils::Json::JsonView jsonValue)
LayerCustomActionOperation & WithNavigationOperation(NavigationOperationT &&value)
void SetSetParametersOperation(SetParametersOperationT &&value)
AWS_QUICKSIGHT_API LayerCustomActionOperation()=default
const CustomActionNavigationOperation & GetNavigationOperation() const
Aws::Utils::Json::JsonValue JsonValue