AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainDeliverabilityCampaign.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.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 SESV2
24{
25namespace Model
26{
27
38 {
39 public:
43 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
52 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
53 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
54 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
55 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
56 inline DomainDeliverabilityCampaign& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
57 inline DomainDeliverabilityCampaign& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
58 inline DomainDeliverabilityCampaign& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
60
62
66 inline const Aws::String& GetImageUrl() const{ return m_imageUrl; }
67 inline bool ImageUrlHasBeenSet() const { return m_imageUrlHasBeenSet; }
68 inline void SetImageUrl(const Aws::String& value) { m_imageUrlHasBeenSet = true; m_imageUrl = value; }
69 inline void SetImageUrl(Aws::String&& value) { m_imageUrlHasBeenSet = true; m_imageUrl = std::move(value); }
70 inline void SetImageUrl(const char* value) { m_imageUrlHasBeenSet = true; m_imageUrl.assign(value); }
71 inline DomainDeliverabilityCampaign& WithImageUrl(const Aws::String& value) { SetImageUrl(value); return *this;}
72 inline DomainDeliverabilityCampaign& WithImageUrl(Aws::String&& value) { SetImageUrl(std::move(value)); return *this;}
73 inline DomainDeliverabilityCampaign& WithImageUrl(const char* value) { SetImageUrl(value); return *this;}
75
77
80 inline const Aws::String& GetSubject() const{ return m_subject; }
81 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
82 inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
83 inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
84 inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
85 inline DomainDeliverabilityCampaign& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
86 inline DomainDeliverabilityCampaign& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
87 inline DomainDeliverabilityCampaign& WithSubject(const char* value) { SetSubject(value); return *this;}
89
91
94 inline const Aws::String& GetFromAddress() const{ return m_fromAddress; }
95 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
96 inline void SetFromAddress(const Aws::String& value) { m_fromAddressHasBeenSet = true; m_fromAddress = value; }
97 inline void SetFromAddress(Aws::String&& value) { m_fromAddressHasBeenSet = true; m_fromAddress = std::move(value); }
98 inline void SetFromAddress(const char* value) { m_fromAddressHasBeenSet = true; m_fromAddress.assign(value); }
99 inline DomainDeliverabilityCampaign& WithFromAddress(const Aws::String& value) { SetFromAddress(value); return *this;}
100 inline DomainDeliverabilityCampaign& WithFromAddress(Aws::String&& value) { SetFromAddress(std::move(value)); return *this;}
101 inline DomainDeliverabilityCampaign& WithFromAddress(const char* value) { SetFromAddress(value); return *this;}
103
105
108 inline const Aws::Vector<Aws::String>& GetSendingIps() const{ return m_sendingIps; }
109 inline bool SendingIpsHasBeenSet() const { return m_sendingIpsHasBeenSet; }
110 inline void SetSendingIps(const Aws::Vector<Aws::String>& value) { m_sendingIpsHasBeenSet = true; m_sendingIps = value; }
111 inline void SetSendingIps(Aws::Vector<Aws::String>&& value) { m_sendingIpsHasBeenSet = true; m_sendingIps = std::move(value); }
113 inline DomainDeliverabilityCampaign& WithSendingIps(Aws::Vector<Aws::String>&& value) { SetSendingIps(std::move(value)); return *this;}
114 inline DomainDeliverabilityCampaign& AddSendingIps(const Aws::String& value) { m_sendingIpsHasBeenSet = true; m_sendingIps.push_back(value); return *this; }
115 inline DomainDeliverabilityCampaign& AddSendingIps(Aws::String&& value) { m_sendingIpsHasBeenSet = true; m_sendingIps.push_back(std::move(value)); return *this; }
116 inline DomainDeliverabilityCampaign& AddSendingIps(const char* value) { m_sendingIpsHasBeenSet = true; m_sendingIps.push_back(value); return *this; }
118
120
125 inline const Aws::Utils::DateTime& GetFirstSeenDateTime() const{ return m_firstSeenDateTime; }
126 inline bool FirstSeenDateTimeHasBeenSet() const { return m_firstSeenDateTimeHasBeenSet; }
127 inline void SetFirstSeenDateTime(const Aws::Utils::DateTime& value) { m_firstSeenDateTimeHasBeenSet = true; m_firstSeenDateTime = value; }
128 inline void SetFirstSeenDateTime(Aws::Utils::DateTime&& value) { m_firstSeenDateTimeHasBeenSet = true; m_firstSeenDateTime = std::move(value); }
132
134
139 inline const Aws::Utils::DateTime& GetLastSeenDateTime() const{ return m_lastSeenDateTime; }
140 inline bool LastSeenDateTimeHasBeenSet() const { return m_lastSeenDateTimeHasBeenSet; }
141 inline void SetLastSeenDateTime(const Aws::Utils::DateTime& value) { m_lastSeenDateTimeHasBeenSet = true; m_lastSeenDateTime = value; }
142 inline void SetLastSeenDateTime(Aws::Utils::DateTime&& value) { m_lastSeenDateTimeHasBeenSet = true; m_lastSeenDateTime = std::move(value); }
146
148
151 inline long long GetInboxCount() const{ return m_inboxCount; }
152 inline bool InboxCountHasBeenSet() const { return m_inboxCountHasBeenSet; }
153 inline void SetInboxCount(long long value) { m_inboxCountHasBeenSet = true; m_inboxCount = value; }
154 inline DomainDeliverabilityCampaign& WithInboxCount(long long value) { SetInboxCount(value); return *this;}
156
158
162 inline long long GetSpamCount() const{ return m_spamCount; }
163 inline bool SpamCountHasBeenSet() const { return m_spamCountHasBeenSet; }
164 inline void SetSpamCount(long long value) { m_spamCountHasBeenSet = true; m_spamCount = value; }
165 inline DomainDeliverabilityCampaign& WithSpamCount(long long value) { SetSpamCount(value); return *this;}
167
169
174 inline double GetReadRate() const{ return m_readRate; }
175 inline bool ReadRateHasBeenSet() const { return m_readRateHasBeenSet; }
176 inline void SetReadRate(double value) { m_readRateHasBeenSet = true; m_readRate = value; }
177 inline DomainDeliverabilityCampaign& WithReadRate(double value) { SetReadRate(value); return *this;}
179
181
187 inline double GetDeleteRate() const{ return m_deleteRate; }
188 inline bool DeleteRateHasBeenSet() const { return m_deleteRateHasBeenSet; }
189 inline void SetDeleteRate(double value) { m_deleteRateHasBeenSet = true; m_deleteRate = value; }
190 inline DomainDeliverabilityCampaign& WithDeleteRate(double value) { SetDeleteRate(value); return *this;}
192
194
199 inline double GetReadDeleteRate() const{ return m_readDeleteRate; }
200 inline bool ReadDeleteRateHasBeenSet() const { return m_readDeleteRateHasBeenSet; }
201 inline void SetReadDeleteRate(double value) { m_readDeleteRateHasBeenSet = true; m_readDeleteRate = value; }
202 inline DomainDeliverabilityCampaign& WithReadDeleteRate(double value) { SetReadDeleteRate(value); return *this;}
204
206
209 inline long long GetProjectedVolume() const{ return m_projectedVolume; }
210 inline bool ProjectedVolumeHasBeenSet() const { return m_projectedVolumeHasBeenSet; }
211 inline void SetProjectedVolume(long long value) { m_projectedVolumeHasBeenSet = true; m_projectedVolume = value; }
212 inline DomainDeliverabilityCampaign& WithProjectedVolume(long long value) { SetProjectedVolume(value); return *this;}
214
216
219 inline const Aws::Vector<Aws::String>& GetEsps() const{ return m_esps; }
220 inline bool EspsHasBeenSet() const { return m_espsHasBeenSet; }
221 inline void SetEsps(const Aws::Vector<Aws::String>& value) { m_espsHasBeenSet = true; m_esps = value; }
222 inline void SetEsps(Aws::Vector<Aws::String>&& value) { m_espsHasBeenSet = true; m_esps = std::move(value); }
223 inline DomainDeliverabilityCampaign& WithEsps(const Aws::Vector<Aws::String>& value) { SetEsps(value); return *this;}
224 inline DomainDeliverabilityCampaign& WithEsps(Aws::Vector<Aws::String>&& value) { SetEsps(std::move(value)); return *this;}
225 inline DomainDeliverabilityCampaign& AddEsps(const Aws::String& value) { m_espsHasBeenSet = true; m_esps.push_back(value); return *this; }
226 inline DomainDeliverabilityCampaign& AddEsps(Aws::String&& value) { m_espsHasBeenSet = true; m_esps.push_back(std::move(value)); return *this; }
227 inline DomainDeliverabilityCampaign& AddEsps(const char* value) { m_espsHasBeenSet = true; m_esps.push_back(value); return *this; }
229 private:
230
231 Aws::String m_campaignId;
232 bool m_campaignIdHasBeenSet = false;
233
234 Aws::String m_imageUrl;
235 bool m_imageUrlHasBeenSet = false;
236
237 Aws::String m_subject;
238 bool m_subjectHasBeenSet = false;
239
240 Aws::String m_fromAddress;
241 bool m_fromAddressHasBeenSet = false;
242
243 Aws::Vector<Aws::String> m_sendingIps;
244 bool m_sendingIpsHasBeenSet = false;
245
246 Aws::Utils::DateTime m_firstSeenDateTime;
247 bool m_firstSeenDateTimeHasBeenSet = false;
248
249 Aws::Utils::DateTime m_lastSeenDateTime;
250 bool m_lastSeenDateTimeHasBeenSet = false;
251
252 long long m_inboxCount;
253 bool m_inboxCountHasBeenSet = false;
254
255 long long m_spamCount;
256 bool m_spamCountHasBeenSet = false;
257
258 double m_readRate;
259 bool m_readRateHasBeenSet = false;
260
261 double m_deleteRate;
262 bool m_deleteRateHasBeenSet = false;
263
264 double m_readDeleteRate;
265 bool m_readDeleteRateHasBeenSet = false;
266
267 long long m_projectedVolume;
268 bool m_projectedVolumeHasBeenSet = false;
269
271 bool m_espsHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace SESV2
276} // namespace Aws
DomainDeliverabilityCampaign & AddSendingIps(const char *value)
DomainDeliverabilityCampaign & WithCampaignId(const Aws::String &value)
DomainDeliverabilityCampaign & WithImageUrl(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEsps() const
DomainDeliverabilityCampaign & AddEsps(Aws::String &&value)
DomainDeliverabilityCampaign & WithFromAddress(const Aws::String &value)
void SetEsps(const Aws::Vector< Aws::String > &value)
DomainDeliverabilityCampaign & WithSendingIps(const Aws::Vector< Aws::String > &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
DomainDeliverabilityCampaign & WithFirstSeenDateTime(const Aws::Utils::DateTime &value)
DomainDeliverabilityCampaign & AddEsps(const Aws::String &value)
DomainDeliverabilityCampaign & WithCampaignId(Aws::String &&value)
DomainDeliverabilityCampaign & AddSendingIps(Aws::String &&value)
DomainDeliverabilityCampaign & WithFromAddress(const char *value)
DomainDeliverabilityCampaign & WithDeleteRate(double value)
DomainDeliverabilityCampaign & WithCampaignId(const char *value)
void SetSendingIps(Aws::Vector< Aws::String > &&value)
DomainDeliverabilityCampaign & WithSubject(Aws::String &&value)
DomainDeliverabilityCampaign & WithInboxCount(long long value)
DomainDeliverabilityCampaign & WithReadRate(double value)
const Aws::Vector< Aws::String > & GetSendingIps() const
DomainDeliverabilityCampaign & WithSubject(const char *value)
DomainDeliverabilityCampaign & AddEsps(const char *value)
AWS_SESV2_API DomainDeliverabilityCampaign & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainDeliverabilityCampaign & WithLastSeenDateTime(Aws::Utils::DateTime &&value)
void SetSendingIps(const Aws::Vector< Aws::String > &value)
DomainDeliverabilityCampaign & WithImageUrl(const char *value)
DomainDeliverabilityCampaign & WithSpamCount(long long value)
DomainDeliverabilityCampaign & WithEsps(const Aws::Vector< Aws::String > &value)
DomainDeliverabilityCampaign & WithSendingIps(Aws::Vector< Aws::String > &&value)
DomainDeliverabilityCampaign & WithProjectedVolume(long long value)
void SetFirstSeenDateTime(const Aws::Utils::DateTime &value)
DomainDeliverabilityCampaign & WithReadDeleteRate(double value)
DomainDeliverabilityCampaign & WithFromAddress(Aws::String &&value)
DomainDeliverabilityCampaign & WithLastSeenDateTime(const Aws::Utils::DateTime &value)
DomainDeliverabilityCampaign & WithImageUrl(Aws::String &&value)
DomainDeliverabilityCampaign & AddSendingIps(const Aws::String &value)
DomainDeliverabilityCampaign & WithEsps(Aws::Vector< Aws::String > &&value)
DomainDeliverabilityCampaign & WithFirstSeenDateTime(Aws::Utils::DateTime &&value)
void SetLastSeenDateTime(const Aws::Utils::DateTime &value)
AWS_SESV2_API DomainDeliverabilityCampaign(Aws::Utils::Json::JsonView jsonValue)
DomainDeliverabilityCampaign & WithSubject(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue