This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/WaitActivity.h

141 lines
4.6 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/pinpoint/model/WaitTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Pinpoint
{
namespace Model
{
/**
* <p>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.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WaitActivity">AWS
* API Reference</a></p>
*/
class AWS_PINPOINT_API WaitActivity
{
public:
WaitActivity();
WaitActivity(Aws::Utils::Json::JsonView jsonValue);
WaitActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline const Aws::String& GetNextActivity() const{ return m_nextActivity; }
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline bool NextActivityHasBeenSet() const { return m_nextActivityHasBeenSet; }
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline void SetNextActivity(const Aws::String& value) { m_nextActivityHasBeenSet = true; m_nextActivity = value; }
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline void SetNextActivity(Aws::String&& value) { m_nextActivityHasBeenSet = true; m_nextActivity = std::move(value); }
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline void SetNextActivity(const char* value) { m_nextActivityHasBeenSet = true; m_nextActivity.assign(value); }
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline WaitActivity& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;}
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline WaitActivity& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;}
/**
* <p>The unique identifier for the next activity to perform, after performing the
* wait activity.</p>
*/
inline WaitActivity& WithNextActivity(const char* value) { SetNextActivity(value); return *this;}
/**
* <p>The amount of time to wait or the date and time when the activity moves
* participants to the next activity in the journey.</p>
*/
inline const WaitTime& GetWaitTime() const{ return m_waitTime; }
/**
* <p>The amount of time to wait or the date and time when the activity moves
* participants to the next activity in the journey.</p>
*/
inline bool WaitTimeHasBeenSet() const { return m_waitTimeHasBeenSet; }
/**
* <p>The amount of time to wait or the date and time when the activity moves
* participants to the next activity in the journey.</p>
*/
inline void SetWaitTime(const WaitTime& value) { m_waitTimeHasBeenSet = true; m_waitTime = value; }
/**
* <p>The amount of time to wait or the date and time when the activity moves
* participants to the next activity in the journey.</p>
*/
inline void SetWaitTime(WaitTime&& value) { m_waitTimeHasBeenSet = true; m_waitTime = std::move(value); }
/**
* <p>The amount of time to wait or the date and time when the activity moves
* participants to the next activity in the journey.</p>
*/
inline WaitActivity& WithWaitTime(const WaitTime& value) { SetWaitTime(value); return *this;}
/**
* <p>The amount of time to wait or the date and time when the activity moves
* participants to the next activity in the journey.</p>
*/
inline WaitActivity& WithWaitTime(WaitTime&& value) { SetWaitTime(std::move(value)); return *this;}
private:
Aws::String m_nextActivity;
bool m_nextActivityHasBeenSet;
WaitTime m_waitTime;
bool m_waitTimeHasBeenSet;
};
} // namespace Model
} // namespace Pinpoint
} // namespace Aws