AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
WriteApplicationSettingsRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/ApplicationSettingsJourneyLimits.h>
9#include <aws/pinpoint/model/CampaignHook.h>
10#include <aws/pinpoint/model/CampaignLimits.h>
11#include <aws/pinpoint/model/QuietTime.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint {
23namespace Model {
24
32 public:
33 AWS_PINPOINT_API WriteApplicationSettingsRequest() = default;
36 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
48 inline const CampaignHook& GetCampaignHook() const { return m_campaignHook; }
49 inline bool CampaignHookHasBeenSet() const { return m_campaignHookHasBeenSet; }
50 template <typename CampaignHookT = CampaignHook>
51 void SetCampaignHook(CampaignHookT&& value) {
52 m_campaignHookHasBeenSet = true;
53 m_campaignHook = std::forward<CampaignHookT>(value);
54 }
55 template <typename CampaignHookT = CampaignHook>
57 SetCampaignHook(std::forward<CampaignHookT>(value));
58 return *this;
59 }
61
63
67 inline bool GetCloudWatchMetricsEnabled() const { return m_cloudWatchMetricsEnabled; }
68 inline bool CloudWatchMetricsEnabledHasBeenSet() const { return m_cloudWatchMetricsEnabledHasBeenSet; }
69 inline void SetCloudWatchMetricsEnabled(bool value) {
70 m_cloudWatchMetricsEnabledHasBeenSet = true;
71 m_cloudWatchMetricsEnabled = value;
72 }
75 return *this;
76 }
78
80
81 inline bool GetEventTaggingEnabled() const { return m_eventTaggingEnabled; }
82 inline bool EventTaggingEnabledHasBeenSet() const { return m_eventTaggingEnabledHasBeenSet; }
83 inline void SetEventTaggingEnabled(bool value) {
84 m_eventTaggingEnabledHasBeenSet = true;
85 m_eventTaggingEnabled = value;
86 }
89 return *this;
90 }
92
94
102 inline const CampaignLimits& GetLimits() const { return m_limits; }
103 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; }
104 template <typename LimitsT = CampaignLimits>
105 void SetLimits(LimitsT&& value) {
106 m_limitsHasBeenSet = true;
107 m_limits = std::forward<LimitsT>(value);
108 }
109 template <typename LimitsT = CampaignLimits>
111 SetLimits(std::forward<LimitsT>(value));
112 return *this;
113 }
115
117
135 inline const QuietTime& GetQuietTime() const { return m_quietTime; }
136 inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; }
137 template <typename QuietTimeT = QuietTime>
138 void SetQuietTime(QuietTimeT&& value) {
139 m_quietTimeHasBeenSet = true;
140 m_quietTime = std::forward<QuietTimeT>(value);
141 }
142 template <typename QuietTimeT = QuietTime>
144 SetQuietTime(std::forward<QuietTimeT>(value));
145 return *this;
146 }
148
150
155 inline const ApplicationSettingsJourneyLimits& GetJourneyLimits() const { return m_journeyLimits; }
156 inline bool JourneyLimitsHasBeenSet() const { return m_journeyLimitsHasBeenSet; }
157 template <typename JourneyLimitsT = ApplicationSettingsJourneyLimits>
158 void SetJourneyLimits(JourneyLimitsT&& value) {
159 m_journeyLimitsHasBeenSet = true;
160 m_journeyLimits = std::forward<JourneyLimitsT>(value);
161 }
162 template <typename JourneyLimitsT = ApplicationSettingsJourneyLimits>
164 SetJourneyLimits(std::forward<JourneyLimitsT>(value));
165 return *this;
166 }
168 private:
169 CampaignHook m_campaignHook;
170
171 bool m_cloudWatchMetricsEnabled{false};
172
173 bool m_eventTaggingEnabled{false};
174
175 CampaignLimits m_limits;
176
177 QuietTime m_quietTime;
178
179 ApplicationSettingsJourneyLimits m_journeyLimits;
180 bool m_campaignHookHasBeenSet = false;
181 bool m_cloudWatchMetricsEnabledHasBeenSet = false;
182 bool m_eventTaggingEnabledHasBeenSet = false;
183 bool m_limitsHasBeenSet = false;
184 bool m_quietTimeHasBeenSet = false;
185 bool m_journeyLimitsHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace Pinpoint
190} // 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