AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
InAppCampaignSchedule.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/CampaignEventFilter.h>
10#include <aws/pinpoint/model/QuietTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PINPOINT_API InAppCampaignSchedule() = default;
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEndDate() const { return m_endDate; }
48 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
49 template<typename EndDateT = Aws::String>
50 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
51 template<typename EndDateT = Aws::String>
52 InAppCampaignSchedule& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
54
56
60 inline const CampaignEventFilter& GetEventFilter() const { return m_eventFilter; }
61 inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; }
62 template<typename EventFilterT = CampaignEventFilter>
63 void SetEventFilter(EventFilterT&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::forward<EventFilterT>(value); }
64 template<typename EventFilterT = CampaignEventFilter>
65 InAppCampaignSchedule& WithEventFilter(EventFilterT&& value) { SetEventFilter(std::forward<EventFilterT>(value)); return *this;}
67
69
72 inline const QuietTime& GetQuietTime() const { return m_quietTime; }
73 inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; }
74 template<typename QuietTimeT = QuietTime>
75 void SetQuietTime(QuietTimeT&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::forward<QuietTimeT>(value); }
76 template<typename QuietTimeT = QuietTime>
77 InAppCampaignSchedule& WithQuietTime(QuietTimeT&& value) { SetQuietTime(std::forward<QuietTimeT>(value)); return *this;}
79 private:
80
81 Aws::String m_endDate;
82 bool m_endDateHasBeenSet = false;
83
84 CampaignEventFilter m_eventFilter;
85 bool m_eventFilterHasBeenSet = false;
86
87 QuietTime m_quietTime;
88 bool m_quietTimeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Pinpoint
93} // namespace Aws
InAppCampaignSchedule & WithQuietTime(QuietTimeT &&value)
InAppCampaignSchedule & WithEndDate(EndDateT &&value)
AWS_PINPOINT_API InAppCampaignSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API InAppCampaignSchedule()=default
const CampaignEventFilter & GetEventFilter() const
AWS_PINPOINT_API InAppCampaignSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
InAppCampaignSchedule & WithEventFilter(EventFilterT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue