/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the actions
to be performed when the
* condition
evaluates to TRUE.See Also:
AWS API
* Reference
The name of the event.
*/ inline const Aws::String& GetEventName() const{ return m_eventName; } /** *The name of the event.
*/ inline bool EventNameHasBeenSet() const { return m_eventNameHasBeenSet; } /** *The name of the event.
*/ inline void SetEventName(const Aws::String& value) { m_eventNameHasBeenSet = true; m_eventName = value; } /** *The name of the event.
*/ inline void SetEventName(Aws::String&& value) { m_eventNameHasBeenSet = true; m_eventName = std::move(value); } /** *The name of the event.
*/ inline void SetEventName(const char* value) { m_eventNameHasBeenSet = true; m_eventName.assign(value); } /** *The name of the event.
*/ inline Event& WithEventName(const Aws::String& value) { SetEventName(value); return *this;} /** *The name of the event.
*/ inline Event& WithEventName(Aws::String&& value) { SetEventName(std::move(value)); return *this;} /** *The name of the event.
*/ inline Event& WithEventName(const char* value) { SetEventName(value); return *this;} /** *Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
Optional. The Boolean expression that, when TRUE, causes the
* actions
to be performed. If not present, the actions are performed
* (=TRUE). If the expression result is not a Boolean value, the actions are not
* performed (=FALSE).
The actions to be performed.
*/ inline const Aws::VectorThe actions to be performed.
*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *The actions to be performed.
*/ inline void SetActions(const Aws::VectorThe actions to be performed.
*/ inline void SetActions(Aws::VectorThe actions to be performed.
*/ inline Event& WithActions(const Aws::VectorThe actions to be performed.
*/ inline Event& WithActions(Aws::VectorThe actions to be performed.
*/ inline Event& AddActions(const Action& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *The actions to be performed.
*/ inline Event& AddActions(Action&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } private: Aws::String m_eventName; bool m_eventNameHasBeenSet = false; Aws::String m_condition; bool m_conditionHasBeenSet = false; Aws::Vector