AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSettingsJourneyLimits.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/JourneyTimeframeCap.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
34 {
35 public:
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetDailyCap() const{ return m_dailyCap; }
48 inline bool DailyCapHasBeenSet() const { return m_dailyCapHasBeenSet; }
49 inline void SetDailyCap(int value) { m_dailyCapHasBeenSet = true; m_dailyCap = value; }
50 inline ApplicationSettingsJourneyLimits& WithDailyCap(int value) { SetDailyCap(value); return *this;}
52
54
58 inline const JourneyTimeframeCap& GetTimeframeCap() const{ return m_timeframeCap; }
59 inline bool TimeframeCapHasBeenSet() const { return m_timeframeCapHasBeenSet; }
60 inline void SetTimeframeCap(const JourneyTimeframeCap& value) { m_timeframeCapHasBeenSet = true; m_timeframeCap = value; }
61 inline void SetTimeframeCap(JourneyTimeframeCap&& value) { m_timeframeCapHasBeenSet = true; m_timeframeCap = std::move(value); }
63 inline ApplicationSettingsJourneyLimits& WithTimeframeCap(JourneyTimeframeCap&& value) { SetTimeframeCap(std::move(value)); return *this;}
65
67
72 inline int GetTotalCap() const{ return m_totalCap; }
73 inline bool TotalCapHasBeenSet() const { return m_totalCapHasBeenSet; }
74 inline void SetTotalCap(int value) { m_totalCapHasBeenSet = true; m_totalCap = value; }
75 inline ApplicationSettingsJourneyLimits& WithTotalCap(int value) { SetTotalCap(value); return *this;}
77 private:
78
79 int m_dailyCap;
80 bool m_dailyCapHasBeenSet = false;
81
82 JourneyTimeframeCap m_timeframeCap;
83 bool m_timeframeCapHasBeenSet = false;
84
85 int m_totalCap;
86 bool m_totalCapHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Pinpoint
91} // namespace Aws
ApplicationSettingsJourneyLimits & WithTimeframeCap(const JourneyTimeframeCap &value)
ApplicationSettingsJourneyLimits & WithTimeframeCap(JourneyTimeframeCap &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API ApplicationSettingsJourneyLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API ApplicationSettingsJourneyLimits(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue