AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
JourneyTimeframeCap.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Pinpoint {
17namespace Model {
18
26 public:
27 AWS_PINPOINT_API JourneyTimeframeCap() = default;
30 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline int GetCap() const { return m_cap; }
39 inline bool CapHasBeenSet() const { return m_capHasBeenSet; }
40 inline void SetCap(int value) {
41 m_capHasBeenSet = true;
42 m_cap = value;
43 }
44 inline JourneyTimeframeCap& WithCap(int value) {
45 SetCap(value);
46 return *this;
47 }
49
51
55 inline int GetDays() const { return m_days; }
56 inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; }
57 inline void SetDays(int value) {
58 m_daysHasBeenSet = true;
59 m_days = value;
60 }
61 inline JourneyTimeframeCap& WithDays(int value) {
62 SetDays(value);
63 return *this;
64 }
66 private:
67 int m_cap{0};
68 bool m_capHasBeenSet = false;
69
70 int m_days{0};
71 bool m_daysHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Pinpoint
76} // 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_PINPOINT_API JourneyTimeframeCap()=default
Aws::Utils::Json::JsonValue JsonValue