/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the conditions to evaluate for an event that applies to an activity
* in a journey.See Also:
AWS
* API Reference
The dimensions for the event filter to use for the activity.
*/ inline const EventDimensions& GetDimensions() const{ return m_dimensions; } /** *The dimensions for the event filter to use for the activity.
*/ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; } /** *The dimensions for the event filter to use for the activity.
*/ inline void SetDimensions(const EventDimensions& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; } /** *The dimensions for the event filter to use for the activity.
*/ inline void SetDimensions(EventDimensions&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); } /** *The dimensions for the event filter to use for the activity.
*/ inline EventCondition& WithDimensions(const EventDimensions& value) { SetDimensions(value); return *this;} /** *The dimensions for the event filter to use for the activity.
*/ inline EventCondition& WithDimensions(EventDimensions&& value) { SetDimensions(std::move(value)); return *this;} /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline const Aws::String& GetMessageActivity() const{ return m_messageActivity; } /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline bool MessageActivityHasBeenSet() const { return m_messageActivityHasBeenSet; } /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline void SetMessageActivity(const Aws::String& value) { m_messageActivityHasBeenSet = true; m_messageActivity = value; } /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline void SetMessageActivity(Aws::String&& value) { m_messageActivityHasBeenSet = true; m_messageActivity = std::move(value); } /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline void SetMessageActivity(const char* value) { m_messageActivityHasBeenSet = true; m_messageActivity.assign(value); } /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline EventCondition& WithMessageActivity(const Aws::String& value) { SetMessageActivity(value); return *this;} /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline EventCondition& WithMessageActivity(Aws::String&& value) { SetMessageActivity(std::move(value)); return *this;} /** *The message identifier (message_id) for the message to use when determining * whether message events meet the condition.
*/ inline EventCondition& WithMessageActivity(const char* value) { SetMessageActivity(value); return *this;} private: EventDimensions m_dimensions; bool m_dimensionsHasBeenSet = false; Aws::String m_messageActivity; bool m_messageActivityHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws