AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyTimeframeCap.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_PINPOINT_API JourneyTimeframeCap();
36 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline int GetCap() const{ return m_cap; }
46 inline bool CapHasBeenSet() const { return m_capHasBeenSet; }
47 inline void SetCap(int value) { m_capHasBeenSet = true; m_cap = value; }
48 inline JourneyTimeframeCap& WithCap(int value) { SetCap(value); return *this;}
50
52
56 inline int GetDays() const{ return m_days; }
57 inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; }
58 inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; }
59 inline JourneyTimeframeCap& WithDays(int value) { SetDays(value); return *this;}
61 private:
62
63 int m_cap;
64 bool m_capHasBeenSet = false;
65
66 int m_days;
67 bool m_daysHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Pinpoint
72} // namespace Aws
JourneyTimeframeCap & WithDays(int value)
JourneyTimeframeCap & WithCap(int value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API JourneyTimeframeCap(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API JourneyTimeframeCap & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue