AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MessageInsightsDataSource.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/sesv2/model/MessageInsightsFilters.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
48 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
49 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
50 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
51 inline MessageInsightsDataSource& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
52 inline MessageInsightsDataSource& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
61 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
62 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
63 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
64 inline MessageInsightsDataSource& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
65 inline MessageInsightsDataSource& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
67
69
72 inline const MessageInsightsFilters& GetInclude() const{ return m_include; }
73 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
74 inline void SetInclude(const MessageInsightsFilters& value) { m_includeHasBeenSet = true; m_include = value; }
75 inline void SetInclude(MessageInsightsFilters&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
76 inline MessageInsightsDataSource& WithInclude(const MessageInsightsFilters& value) { SetInclude(value); return *this;}
77 inline MessageInsightsDataSource& WithInclude(MessageInsightsFilters&& value) { SetInclude(std::move(value)); return *this;}
79
81
84 inline const MessageInsightsFilters& GetExclude() const{ return m_exclude; }
85 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
86 inline void SetExclude(const MessageInsightsFilters& value) { m_excludeHasBeenSet = true; m_exclude = value; }
87 inline void SetExclude(MessageInsightsFilters&& value) { m_excludeHasBeenSet = true; m_exclude = std::move(value); }
88 inline MessageInsightsDataSource& WithExclude(const MessageInsightsFilters& value) { SetExclude(value); return *this;}
89 inline MessageInsightsDataSource& WithExclude(MessageInsightsFilters&& value) { SetExclude(std::move(value)); return *this;}
91
93
96 inline int GetMaxResults() const{ return m_maxResults; }
97 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
98 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
99 inline MessageInsightsDataSource& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101 private:
102
103 Aws::Utils::DateTime m_startDate;
104 bool m_startDateHasBeenSet = false;
105
106 Aws::Utils::DateTime m_endDate;
107 bool m_endDateHasBeenSet = false;
108
109 MessageInsightsFilters m_include;
110 bool m_includeHasBeenSet = false;
111
112 MessageInsightsFilters m_exclude;
113 bool m_excludeHasBeenSet = false;
114
115 int m_maxResults;
116 bool m_maxResultsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SESV2
121} // namespace Aws
MessageInsightsDataSource & WithExclude(MessageInsightsFilters &&value)
MessageInsightsDataSource & WithEndDate(const Aws::Utils::DateTime &value)
MessageInsightsDataSource & WithInclude(MessageInsightsFilters &&value)
MessageInsightsDataSource & WithEndDate(Aws::Utils::DateTime &&value)
AWS_SESV2_API MessageInsightsDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
MessageInsightsDataSource & WithStartDate(const Aws::Utils::DateTime &value)
const MessageInsightsFilters & GetInclude() const
void SetInclude(const MessageInsightsFilters &value)
MessageInsightsDataSource & WithStartDate(Aws::Utils::DateTime &&value)
void SetInclude(MessageInsightsFilters &&value)
MessageInsightsDataSource & WithMaxResults(int value)
void SetExclude(const MessageInsightsFilters &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExclude(MessageInsightsFilters &&value)
MessageInsightsDataSource & WithExclude(const MessageInsightsFilters &value)
void SetEndDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartDate() const
AWS_SESV2_API MessageInsightsDataSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndDate() const
const MessageInsightsFilters & GetExclude() const
MessageInsightsDataSource & WithInclude(const MessageInsightsFilters &value)
void SetStartDate(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue