/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the settings for a wait activity in a journey. This type of
* activity waits for a certain amount of time or until a specific date and time
* before moving participants to the next activity in a journey.See
* Also:
AWS
* API Reference
The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline const Aws::String& GetNextActivity() const{ return m_nextActivity; } /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline bool NextActivityHasBeenSet() const { return m_nextActivityHasBeenSet; } /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline void SetNextActivity(const Aws::String& value) { m_nextActivityHasBeenSet = true; m_nextActivity = value; } /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline void SetNextActivity(Aws::String&& value) { m_nextActivityHasBeenSet = true; m_nextActivity = std::move(value); } /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline void SetNextActivity(const char* value) { m_nextActivityHasBeenSet = true; m_nextActivity.assign(value); } /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline WaitActivity& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;} /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline WaitActivity& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;} /** *The unique identifier for the next activity to perform, after performing the * wait activity.
*/ inline WaitActivity& WithNextActivity(const char* value) { SetNextActivity(value); return *this;} /** *The amount of time to wait or the date and time when the activity moves * participants to the next activity in the journey.
*/ inline const WaitTime& GetWaitTime() const{ return m_waitTime; } /** *The amount of time to wait or the date and time when the activity moves * participants to the next activity in the journey.
*/ inline bool WaitTimeHasBeenSet() const { return m_waitTimeHasBeenSet; } /** *The amount of time to wait or the date and time when the activity moves * participants to the next activity in the journey.
*/ inline void SetWaitTime(const WaitTime& value) { m_waitTimeHasBeenSet = true; m_waitTime = value; } /** *The amount of time to wait or the date and time when the activity moves * participants to the next activity in the journey.
*/ inline void SetWaitTime(WaitTime&& value) { m_waitTimeHasBeenSet = true; m_waitTime = std::move(value); } /** *The amount of time to wait or the date and time when the activity moves * participants to the next activity in the journey.
*/ inline WaitActivity& WithWaitTime(const WaitTime& value) { SetWaitTime(value); return *this;} /** *The amount of time to wait or the date and time when the activity moves * participants to the next activity in the journey.
*/ inline WaitActivity& WithWaitTime(WaitTime&& value) { SetWaitTime(std::move(value)); return *this;} private: Aws::String m_nextActivity; bool m_nextActivityHasBeenSet = false; WaitTime m_waitTime; bool m_waitTimeHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws