AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaitActivity.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/WaitTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PINPOINT_API WaitActivity();
39 AWS_PINPOINT_API WaitActivity(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetNextActivity() const{ return m_nextActivity; }
50 inline bool NextActivityHasBeenSet() const { return m_nextActivityHasBeenSet; }
51 inline void SetNextActivity(const Aws::String& value) { m_nextActivityHasBeenSet = true; m_nextActivity = value; }
52 inline void SetNextActivity(Aws::String&& value) { m_nextActivityHasBeenSet = true; m_nextActivity = std::move(value); }
53 inline void SetNextActivity(const char* value) { m_nextActivityHasBeenSet = true; m_nextActivity.assign(value); }
54 inline WaitActivity& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;}
55 inline WaitActivity& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;}
56 inline WaitActivity& WithNextActivity(const char* value) { SetNextActivity(value); return *this;}
58
60
64 inline const WaitTime& GetWaitTime() const{ return m_waitTime; }
65 inline bool WaitTimeHasBeenSet() const { return m_waitTimeHasBeenSet; }
66 inline void SetWaitTime(const WaitTime& value) { m_waitTimeHasBeenSet = true; m_waitTime = value; }
67 inline void SetWaitTime(WaitTime&& value) { m_waitTimeHasBeenSet = true; m_waitTime = std::move(value); }
68 inline WaitActivity& WithWaitTime(const WaitTime& value) { SetWaitTime(value); return *this;}
69 inline WaitActivity& WithWaitTime(WaitTime&& value) { SetWaitTime(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_nextActivity;
74 bool m_nextActivityHasBeenSet = false;
75
76 WaitTime m_waitTime;
77 bool m_waitTimeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Pinpoint
82} // namespace Aws
WaitActivity & WithNextActivity(const Aws::String &value)
WaitActivity & WithNextActivity(const char *value)
AWS_PINPOINT_API WaitActivity(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNextActivity() const
void SetWaitTime(const WaitTime &value)
void SetNextActivity(Aws::String &&value)
WaitActivity & WithWaitTime(WaitTime &&value)
AWS_PINPOINT_API WaitActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNextActivity(const Aws::String &value)
WaitActivity & WithWaitTime(const WaitTime &value)
void SetWaitTime(WaitTime &&value)
void SetNextActivity(const char *value)
const WaitTime & GetWaitTime() const
WaitActivity & WithNextActivity(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue