7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename NextActivityT = Aws::String>
49 void SetNextActivity(NextActivityT&& value) { m_nextActivityHasBeenSet =
true; m_nextActivity = std::forward<NextActivityT>(value); }
50 template<
typename NextActivityT = Aws::String>
64 inline void SetPercentage(
int value) { m_percentageHasBeenSet =
true; m_percentage = value; }
70 bool m_nextActivityHasBeenSet =
false;
73 bool m_percentageHasBeenSet =
false;
AWS_PINPOINT_API RandomSplitEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPercentage(int value)
bool PercentageHasBeenSet() const
const Aws::String & GetNextActivity() const
bool NextActivityHasBeenSet() const
AWS_PINPOINT_API RandomSplitEntry()=default
AWS_PINPOINT_API RandomSplitEntry(Aws::Utils::Json::JsonView jsonValue)
RandomSplitEntry & WithPercentage(int value)
RandomSplitEntry & WithNextActivity(NextActivityT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNextActivity(NextActivityT &&value)
int GetPercentage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue