AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSettingsResource.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/CampaignHook.h>
10#include <aws/pinpoint/model/CampaignLimits.h>
11#include <aws/pinpoint/model/QuietTime.h>
12#include <aws/pinpoint/model/ApplicationSettingsJourneyLimits.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Pinpoint
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_PINPOINT_API ApplicationSettingsResource();
42 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
51 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
52 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
53 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
54 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
55 inline ApplicationSettingsResource& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
56 inline ApplicationSettingsResource& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
57 inline ApplicationSettingsResource& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
59
61
66 inline const CampaignHook& GetCampaignHook() const{ return m_campaignHook; }
67 inline bool CampaignHookHasBeenSet() const { return m_campaignHookHasBeenSet; }
68 inline void SetCampaignHook(const CampaignHook& value) { m_campaignHookHasBeenSet = true; m_campaignHook = value; }
69 inline void SetCampaignHook(CampaignHook&& value) { m_campaignHookHasBeenSet = true; m_campaignHook = std::move(value); }
70 inline ApplicationSettingsResource& WithCampaignHook(const CampaignHook& value) { SetCampaignHook(value); return *this;}
71 inline ApplicationSettingsResource& WithCampaignHook(CampaignHook&& value) { SetCampaignHook(std::move(value)); return *this;}
73
75
79 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
80 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
81 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
82 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
83 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
85 inline ApplicationSettingsResource& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
86 inline ApplicationSettingsResource& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
88
90
93 inline const CampaignLimits& GetLimits() const{ return m_limits; }
94 inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; }
95 inline void SetLimits(const CampaignLimits& value) { m_limitsHasBeenSet = true; m_limits = value; }
96 inline void SetLimits(CampaignLimits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); }
97 inline ApplicationSettingsResource& WithLimits(const CampaignLimits& value) { SetLimits(value); return *this;}
98 inline ApplicationSettingsResource& WithLimits(CampaignLimits&& value) { SetLimits(std::move(value)); return *this;}
100
102
116 inline const QuietTime& GetQuietTime() const{ return m_quietTime; }
117 inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; }
118 inline void SetQuietTime(const QuietTime& value) { m_quietTimeHasBeenSet = true; m_quietTime = value; }
119 inline void SetQuietTime(QuietTime&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::move(value); }
120 inline ApplicationSettingsResource& WithQuietTime(const QuietTime& value) { SetQuietTime(value); return *this;}
121 inline ApplicationSettingsResource& WithQuietTime(QuietTime&& value) { SetQuietTime(std::move(value)); return *this;}
123
125
130 inline const ApplicationSettingsJourneyLimits& GetJourneyLimits() const{ return m_journeyLimits; }
131 inline bool JourneyLimitsHasBeenSet() const { return m_journeyLimitsHasBeenSet; }
132 inline void SetJourneyLimits(const ApplicationSettingsJourneyLimits& value) { m_journeyLimitsHasBeenSet = true; m_journeyLimits = value; }
133 inline void SetJourneyLimits(ApplicationSettingsJourneyLimits&& value) { m_journeyLimitsHasBeenSet = true; m_journeyLimits = std::move(value); }
137 private:
138
139 Aws::String m_applicationId;
140 bool m_applicationIdHasBeenSet = false;
141
142 CampaignHook m_campaignHook;
143 bool m_campaignHookHasBeenSet = false;
144
145 Aws::String m_lastModifiedDate;
146 bool m_lastModifiedDateHasBeenSet = false;
147
148 CampaignLimits m_limits;
149 bool m_limitsHasBeenSet = false;
150
151 QuietTime m_quietTime;
152 bool m_quietTimeHasBeenSet = false;
153
154 ApplicationSettingsJourneyLimits m_journeyLimits;
155 bool m_journeyLimitsHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Pinpoint
160} // namespace Aws
ApplicationSettingsResource & WithLastModifiedDate(const Aws::String &value)
const ApplicationSettingsJourneyLimits & GetJourneyLimits() const
ApplicationSettingsResource & WithLimits(CampaignLimits &&value)
AWS_PINPOINT_API ApplicationSettingsResource(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettingsResource & WithJourneyLimits(const ApplicationSettingsJourneyLimits &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSettingsResource & WithLimits(const CampaignLimits &value)
ApplicationSettingsResource & WithJourneyLimits(ApplicationSettingsJourneyLimits &&value)
ApplicationSettingsResource & WithApplicationId(const char *value)
ApplicationSettingsResource & WithCampaignHook(CampaignHook &&value)
ApplicationSettingsResource & WithQuietTime(const QuietTime &value)
ApplicationSettingsResource & WithCampaignHook(const CampaignHook &value)
void SetJourneyLimits(ApplicationSettingsJourneyLimits &&value)
void SetJourneyLimits(const ApplicationSettingsJourneyLimits &value)
ApplicationSettingsResource & WithLastModifiedDate(Aws::String &&value)
ApplicationSettingsResource & WithQuietTime(QuietTime &&value)
ApplicationSettingsResource & WithApplicationId(Aws::String &&value)
AWS_PINPOINT_API ApplicationSettingsResource & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationSettingsResource & WithLastModifiedDate(const char *value)
ApplicationSettingsResource & WithApplicationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue