AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndDate(const Aws::String& value) { m_endDateHasBeenSet = true; m_endDate = value; }
50 inline void SetEndDate(Aws::String&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
51 inline void SetEndDate(const char* value) { m_endDateHasBeenSet = true; m_endDate.assign(value); }
52 inline InAppCampaignSchedule& WithEndDate(const Aws::String& value) { SetEndDate(value); return *this;}
53 inline InAppCampaignSchedule& WithEndDate(Aws::String&& value) { SetEndDate(std::move(value)); return *this;}
54 inline InAppCampaignSchedule& WithEndDate(const char* value) { SetEndDate(value); return *this;}
56
58
62 inline const CampaignEventFilter& GetEventFilter() const{ return m_eventFilter; }
63 inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; }
64 inline void SetEventFilter(const CampaignEventFilter& value) { m_eventFilterHasBeenSet = true; m_eventFilter = value; }
65 inline void SetEventFilter(CampaignEventFilter&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::move(value); }
66 inline InAppCampaignSchedule& WithEventFilter(const CampaignEventFilter& value) { SetEventFilter(value); return *this;}
67 inline InAppCampaignSchedule& WithEventFilter(CampaignEventFilter&& value) { SetEventFilter(std::move(value)); return *this;}
69
71
74 inline const QuietTime& GetQuietTime() const{ return m_quietTime; }
75 inline bool QuietTimeHasBeenSet() const { return m_quietTimeHasBeenSet; }
76 inline void SetQuietTime(const QuietTime& value) { m_quietTimeHasBeenSet = true; m_quietTime = value; }
77 inline void SetQuietTime(QuietTime&& value) { m_quietTimeHasBeenSet = true; m_quietTime = std::move(value); }
78 inline InAppCampaignSchedule& WithQuietTime(const QuietTime& value) { SetQuietTime(value); return *this;}
79 inline InAppCampaignSchedule& WithQuietTime(QuietTime&& value) { SetQuietTime(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_endDate;
84 bool m_endDateHasBeenSet = false;
85
86 CampaignEventFilter m_eventFilter;
87 bool m_eventFilterHasBeenSet = false;
88
89 QuietTime m_quietTime;
90 bool m_quietTimeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Pinpoint
95} // namespace Aws
AWS_PINPOINT_API InAppCampaignSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
InAppCampaignSchedule & WithQuietTime(const QuietTime &value)
const CampaignEventFilter & GetEventFilter() const
InAppCampaignSchedule & WithEventFilter(const CampaignEventFilter &value)
InAppCampaignSchedule & WithEndDate(const Aws::String &value)
InAppCampaignSchedule & WithEndDate(Aws::String &&value)
InAppCampaignSchedule & WithEventFilter(CampaignEventFilter &&value)
AWS_PINPOINT_API InAppCampaignSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventFilter(const CampaignEventFilter &value)
void SetEventFilter(CampaignEventFilter &&value)
InAppCampaignSchedule & WithQuietTime(QuietTime &&value)
InAppCampaignSchedule & WithEndDate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue