/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the settings for a random split activity in a journey. This type of
* activity randomly sends specified percentages of participants down one of as
* many as five paths in a journey, based on conditions that you
* specify.See Also:
AWS
* API Reference
The paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline const Aws::VectorThe paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline bool BranchesHasBeenSet() const { return m_branchesHasBeenSet; } /** *The paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline void SetBranches(const Aws::VectorThe paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline void SetBranches(Aws::VectorThe paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline RandomSplitActivity& WithBranches(const Aws::VectorThe paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline RandomSplitActivity& WithBranches(Aws::VectorThe paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline RandomSplitActivity& AddBranches(const RandomSplitEntry& value) { m_branchesHasBeenSet = true; m_branches.push_back(value); return *this; } /** *The paths for the activity, including the percentage of participants to enter * each path and the activity to perform for each path.
*/ inline RandomSplitActivity& AddBranches(RandomSplitEntry&& value) { m_branchesHasBeenSet = true; m_branches.push_back(std::move(value)); return *this; } private: Aws::Vector