AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WriteApplicationSettingsRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/CampaignHook.h>
9#include <aws/pinpoint/model/CampaignLimits.h>
10#include <aws/pinpoint/model/QuietTime.h>
11#include <aws/pinpoint/model/ApplicationSettingsJourneyLimits.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Pinpoint
25{
26namespace Model
27{
28
36 {
37 public:
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline const CampaignHook& GetCampaignHook() const{ return m_campaignHook; }
55 inline bool CampaignHookHasBeenSet() const { return m_campaignHookHasBeenSet; }
56 inline void SetCampaignHook(const CampaignHook& value) { m_campaignHookHasBeenSet = true; m_campaignHook = value; }
57 inline void SetCampaignHook(CampaignHook&& value) { m_campaignHookHasBeenSet = true; m_campaignHook = std::move(value); }
59 inline WriteApplicationSettingsRequest& WithCampaignHook(CampaignHook&& value) { SetCampaignHook(std::move(value)); return *this;}
61
63
67 inline bool GetCloudWatchMetricsEnabled() const{ return m_cloudWatchMetricsEnabled; }
68 inline bool CloudWatchMetricsEnabledHasBeenSet() const { return m_cloudWatchMetricsEnabledHasBeenSet; }
69 inline void SetCloudWatchMetricsEnabled(bool value) { m_cloudWatchMetricsEnabledHasBeenSet = true; m_cloudWatchMetricsEnabled = value; }
72
74
75 inline bool GetEventTaggingEnabled() const{ return m_eventTaggingEnabled; }
76 inline bool EventTaggingEnabledHasBeenSet() const { return m_eventTaggingEnabledHasBeenSet; }
77 inline void SetEventTaggingEnabled(bool value) { m_eventTaggingEnabledHasBeenSet = true; m_eventTaggingEnabled = value; }
80
82
90 inline const CampaignLimits& GetLimits() const{ return m_limits; }
91 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; }
92 inline void SetLimits(const CampaignLimits& value) { m_limitsHasBeenSet = true; m_limits = value; }
93 inline void SetLimits(CampaignLimits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); }
94 inline WriteApplicationSettingsRequest& WithLimits(const CampaignLimits& value) { SetLimits(value); return *this;}
95 inline WriteApplicationSettingsRequest& WithLimits(CampaignLimits&& value) { SetLimits(std::move(value)); return *this;}
97
99
117 inline const QuietTime& GetQuietTime() const{ return m_quietTime; }
118 inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; }
119 inline void SetQuietTime(const QuietTime& value) { m_quietTimeHasBeenSet = true; m_quietTime = value; }
120 inline void SetQuietTime(QuietTime&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::move(value); }
121 inline WriteApplicationSettingsRequest& WithQuietTime(const QuietTime& value) { SetQuietTime(value); return *this;}
122 inline WriteApplicationSettingsRequest& WithQuietTime(QuietTime&& value) { SetQuietTime(std::move(value)); return *this;}
124
126
131 inline const ApplicationSettingsJourneyLimits& GetJourneyLimits() const{ return m_journeyLimits; }
132 inline bool JourneyLimitsHasBeenSet() const { return m_journeyLimitsHasBeenSet; }
133 inline void SetJourneyLimits(const ApplicationSettingsJourneyLimits& value) { m_journeyLimitsHasBeenSet = true; m_journeyLimits = value; }
134 inline void SetJourneyLimits(ApplicationSettingsJourneyLimits&& value) { m_journeyLimitsHasBeenSet = true; m_journeyLimits = std::move(value); }
138 private:
139
140 CampaignHook m_campaignHook;
141 bool m_campaignHookHasBeenSet = false;
142
143 bool m_cloudWatchMetricsEnabled;
144 bool m_cloudWatchMetricsEnabledHasBeenSet = false;
145
146 bool m_eventTaggingEnabled;
147 bool m_eventTaggingEnabledHasBeenSet = false;
148
149 CampaignLimits m_limits;
150 bool m_limitsHasBeenSet = false;
151
152 QuietTime m_quietTime;
153 bool m_quietTimeHasBeenSet = false;
154
155 ApplicationSettingsJourneyLimits m_journeyLimits;
156 bool m_journeyLimitsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace Pinpoint
161} // namespace Aws
WriteApplicationSettingsRequest & WithJourneyLimits(const ApplicationSettingsJourneyLimits &value)
WriteApplicationSettingsRequest & WithCampaignHook(const CampaignHook &value)
WriteApplicationSettingsRequest & WithLimits(CampaignLimits &&value)
WriteApplicationSettingsRequest & WithEventTaggingEnabled(bool value)
WriteApplicationSettingsRequest & WithQuietTime(const QuietTime &value)
AWS_PINPOINT_API WriteApplicationSettingsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
WriteApplicationSettingsRequest & WithCloudWatchMetricsEnabled(bool value)
const ApplicationSettingsJourneyLimits & GetJourneyLimits() const
WriteApplicationSettingsRequest & WithQuietTime(QuietTime &&value)
WriteApplicationSettingsRequest & WithLimits(const CampaignLimits &value)
WriteApplicationSettingsRequest & WithJourneyLimits(ApplicationSettingsJourneyLimits &&value)
void SetJourneyLimits(ApplicationSettingsJourneyLimits &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API WriteApplicationSettingsRequest(Aws::Utils::Json::JsonView jsonValue)
void SetJourneyLimits(const ApplicationSettingsJourneyLimits &value)
WriteApplicationSettingsRequest & WithCampaignHook(CampaignHook &&value)
Aws::Utils::Json::JsonValue JsonValue