AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
MessageInsightsDataSource.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9#include <aws/sesv2/model/MessageInsightsFilters.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SESV2 {
21namespace Model {
22
30 public:
31 AWS_SESV2_API MessageInsightsDataSource() = default;
34 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
42 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
43 template <typename StartDateT = Aws::Utils::DateTime>
44 void SetStartDate(StartDateT&& value) {
45 m_startDateHasBeenSet = true;
46 m_startDate = std::forward<StartDateT>(value);
47 }
48 template <typename StartDateT = Aws::Utils::DateTime>
50 SetStartDate(std::forward<StartDateT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
61 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
62 template <typename EndDateT = Aws::Utils::DateTime>
63 void SetEndDate(EndDateT&& value) {
64 m_endDateHasBeenSet = true;
65 m_endDate = std::forward<EndDateT>(value);
66 }
67 template <typename EndDateT = Aws::Utils::DateTime>
69 SetEndDate(std::forward<EndDateT>(value));
70 return *this;
71 }
73
75
78 inline const MessageInsightsFilters& GetInclude() const { return m_include; }
79 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
80 template <typename IncludeT = MessageInsightsFilters>
81 void SetInclude(IncludeT&& value) {
82 m_includeHasBeenSet = true;
83 m_include = std::forward<IncludeT>(value);
84 }
85 template <typename IncludeT = MessageInsightsFilters>
87 SetInclude(std::forward<IncludeT>(value));
88 return *this;
89 }
91
93
96 inline const MessageInsightsFilters& GetExclude() const { return m_exclude; }
97 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
98 template <typename ExcludeT = MessageInsightsFilters>
99 void SetExclude(ExcludeT&& value) {
100 m_excludeHasBeenSet = true;
101 m_exclude = std::forward<ExcludeT>(value);
102 }
103 template <typename ExcludeT = MessageInsightsFilters>
105 SetExclude(std::forward<ExcludeT>(value));
106 return *this;
107 }
109
111
116 inline int GetMaxResults() const { return m_maxResults; }
117 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
118 inline void SetMaxResults(int value) {
119 m_maxResultsHasBeenSet = true;
120 m_maxResults = value;
121 }
123 SetMaxResults(value);
124 return *this;
125 }
127 private:
128 Aws::Utils::DateTime m_startDate{};
129
130 Aws::Utils::DateTime m_endDate{};
131
132 MessageInsightsFilters m_include;
133
134 MessageInsightsFilters m_exclude;
135
136 int m_maxResults{0};
137 bool m_startDateHasBeenSet = false;
138 bool m_endDateHasBeenSet = false;
139 bool m_includeHasBeenSet = false;
140 bool m_excludeHasBeenSet = false;
141 bool m_maxResultsHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace SESV2
146} // namespace Aws
MessageInsightsDataSource & WithStartDate(StartDateT &&value)
MessageInsightsDataSource & WithInclude(IncludeT &&value)
AWS_SESV2_API MessageInsightsDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const MessageInsightsFilters & GetInclude() const
MessageInsightsDataSource & WithExclude(ExcludeT &&value)
MessageInsightsDataSource & WithMaxResults(int value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartDate() const
AWS_SESV2_API MessageInsightsDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API MessageInsightsDataSource()=default
const Aws::Utils::DateTime & GetEndDate() const
const MessageInsightsFilters & GetExclude() const
MessageInsightsDataSource & WithEndDate(EndDateT &&value)
Aws::Utils::Json::JsonValue JsonValue