AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
38 AWS_PINPOINT_API WriteApplicationSettingsRequest() = default;
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 template<typename CampaignHookT = CampaignHook>
57 void SetCampaignHook(CampaignHookT&& value) { m_campaignHookHasBeenSet = true; m_campaignHook = std::forward<CampaignHookT>(value); }
58 template<typename CampaignHookT = CampaignHook>
59 WriteApplicationSettingsRequest& WithCampaignHook(CampaignHookT&& value) { SetCampaignHook(std::forward<CampaignHookT>(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 template<typename LimitsT = CampaignLimits>
93 void SetLimits(LimitsT&& value) { m_limitsHasBeenSet = true; m_limits = std::forward<LimitsT>(value); }
94 template<typename LimitsT = CampaignLimits>
95 WriteApplicationSettingsRequest& WithLimits(LimitsT&& value) { SetLimits(std::forward<LimitsT>(value)); return *this;}
97
99
117 inline const QuietTime& GetQuietTime() const { return m_quietTime; }
118 inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; }
119 template<typename QuietTimeT = QuietTime>
120 void SetQuietTime(QuietTimeT&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::forward<QuietTimeT>(value); }
121 template<typename QuietTimeT = QuietTime>
122 WriteApplicationSettingsRequest& WithQuietTime(QuietTimeT&& value) { SetQuietTime(std::forward<QuietTimeT>(value)); return *this;}
124
126
131 inline const ApplicationSettingsJourneyLimits& GetJourneyLimits() const { return m_journeyLimits; }
132 inline bool JourneyLimitsHasBeenSet() const { return m_journeyLimitsHasBeenSet; }
133 template<typename JourneyLimitsT = ApplicationSettingsJourneyLimits>
134 void SetJourneyLimits(JourneyLimitsT&& value) { m_journeyLimitsHasBeenSet = true; m_journeyLimits = std::forward<JourneyLimitsT>(value); }
135 template<typename JourneyLimitsT = ApplicationSettingsJourneyLimits>
136 WriteApplicationSettingsRequest& WithJourneyLimits(JourneyLimitsT&& value) { SetJourneyLimits(std::forward<JourneyLimitsT>(value)); return *this;}
138 private:
139
140 CampaignHook m_campaignHook;
141 bool m_campaignHookHasBeenSet = false;
142
143 bool m_cloudWatchMetricsEnabled{false};
144 bool m_cloudWatchMetricsEnabledHasBeenSet = false;
145
146 bool m_eventTaggingEnabled{false};
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 & WithEventTaggingEnabled(bool value)
AWS_PINPOINT_API WriteApplicationSettingsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
WriteApplicationSettingsRequest & WithCloudWatchMetricsEnabled(bool value)
WriteApplicationSettingsRequest & WithLimits(LimitsT &&value)
const ApplicationSettingsJourneyLimits & GetJourneyLimits() const
AWS_PINPOINT_API WriteApplicationSettingsRequest()=default
WriteApplicationSettingsRequest & WithJourneyLimits(JourneyLimitsT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
WriteApplicationSettingsRequest & WithQuietTime(QuietTimeT &&value)
AWS_PINPOINT_API WriteApplicationSettingsRequest(Aws::Utils::Json::JsonView jsonValue)
WriteApplicationSettingsRequest & WithCampaignHook(CampaignHookT &&value)
Aws::Utils::Json::JsonValue JsonValue