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/ImageCustomActionTrigger.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/ImageCustomActionOperation.h>
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>
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>
100 template<
typename ActionOperationsT = Aws::Vector<ImageCustomActionOperation>>
101 void SetActionOperations(ActionOperationsT&& value) { m_actionOperationsHasBeenSet =
true; m_actionOperations = std::forward<ActionOperationsT>(value); }
102 template<
typename ActionOperationsT = Aws::Vector<ImageCustomActionOperation>>
104 template<
typename ActionOperationsT = ImageCustomActionOperation>
105 ImageCustomAction&
AddActionOperations(ActionOperationsT&& value) { m_actionOperationsHasBeenSet =
true; m_actionOperations.emplace_back(std::forward<ActionOperationsT>(value));
return *
this; }
110 bool m_customActionIdHasBeenSet =
false;
113 bool m_nameHasBeenSet =
false;
116 bool m_statusHasBeenSet =
false;
119 bool m_triggerHasBeenSet =
false;
122 bool m_actionOperationsHasBeenSet =
false;
ImageCustomAction & WithStatus(WidgetStatus value)
bool CustomActionIdHasBeenSet() const
AWS_QUICKSIGHT_API ImageCustomAction(Aws::Utils::Json::JsonView jsonValue)
ImageCustomActionTrigger GetTrigger() const
void SetName(NameT &&value)
AWS_QUICKSIGHT_API ImageCustomAction()=default
const Aws::String & GetCustomActionId() const
void SetStatus(WidgetStatus value)
bool StatusHasBeenSet() const
bool TriggerHasBeenSet() const
const Aws::Vector< ImageCustomActionOperation > & GetActionOperations() const
bool NameHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ImageCustomAction & WithName(NameT &&value)
void SetTrigger(ImageCustomActionTrigger value)
bool ActionOperationsHasBeenSet() const
void SetActionOperations(ActionOperationsT &&value)
AWS_QUICKSIGHT_API ImageCustomAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomActionId(CustomActionIdT &&value)
WidgetStatus GetStatus() const
const Aws::String & GetName() const
ImageCustomAction & WithCustomActionId(CustomActionIdT &&value)
ImageCustomAction & AddActionOperations(ActionOperationsT &&value)
ImageCustomAction & WithTrigger(ImageCustomActionTrigger value)
ImageCustomAction & WithActionOperations(ActionOperationsT &&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