/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a condition to evaluate for an activity path in a
* journey.See Also:
AWS
* API Reference
The condition to evaluate for the activity path.
*/ inline const SimpleCondition& GetCondition() const{ return m_condition; } /** *The condition to evaluate for the activity path.
*/ inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } /** *The condition to evaluate for the activity path.
*/ inline void SetCondition(const SimpleCondition& value) { m_conditionHasBeenSet = true; m_condition = value; } /** *The condition to evaluate for the activity path.
*/ inline void SetCondition(SimpleCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); } /** *The condition to evaluate for the activity path.
*/ inline MultiConditionalBranch& WithCondition(const SimpleCondition& value) { SetCondition(value); return *this;} /** *The condition to evaluate for the activity path.
*/ inline MultiConditionalBranch& WithCondition(SimpleCondition&& value) { SetCondition(std::move(value)); return *this;} /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline const Aws::String& GetNextActivity() const{ return m_nextActivity; } /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline bool NextActivityHasBeenSet() const { return m_nextActivityHasBeenSet; } /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline void SetNextActivity(const Aws::String& value) { m_nextActivityHasBeenSet = true; m_nextActivity = value; } /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline void SetNextActivity(Aws::String&& value) { m_nextActivityHasBeenSet = true; m_nextActivity = std::move(value); } /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline void SetNextActivity(const char* value) { m_nextActivityHasBeenSet = true; m_nextActivity.assign(value); } /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline MultiConditionalBranch& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;} /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline MultiConditionalBranch& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;} /** *The unique identifier for the next activity to perform, after completing the * activity for the path.
*/ inline MultiConditionalBranch& WithNextActivity(const char* value) { SetNextActivity(value); return *this;} private: SimpleCondition m_condition; bool m_conditionHasBeenSet = false; Aws::String m_nextActivity; bool m_nextActivityHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws