AWS SDK for C++  1.9.153
AWS SDK for C++
DeliverabilityTestReport.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/sesv2/model/DeliverabilityTestStatus.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SESV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetReportId() const{ return m_reportId; }
47 
51  inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
52 
56  inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; }
57 
61  inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); }
62 
66  inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); }
67 
71  inline DeliverabilityTestReport& WithReportId(const Aws::String& value) { SetReportId(value); return *this;}
72 
76  inline DeliverabilityTestReport& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;}
77 
81  inline DeliverabilityTestReport& WithReportId(const char* value) { SetReportId(value); return *this;}
82 
83 
87  inline const Aws::String& GetReportName() const{ return m_reportName; }
88 
92  inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
93 
97  inline void SetReportName(const Aws::String& value) { m_reportNameHasBeenSet = true; m_reportName = value; }
98 
102  inline void SetReportName(Aws::String&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); }
103 
107  inline void SetReportName(const char* value) { m_reportNameHasBeenSet = true; m_reportName.assign(value); }
108 
112  inline DeliverabilityTestReport& WithReportName(const Aws::String& value) { SetReportName(value); return *this;}
113 
117  inline DeliverabilityTestReport& WithReportName(Aws::String&& value) { SetReportName(std::move(value)); return *this;}
118 
122  inline DeliverabilityTestReport& WithReportName(const char* value) { SetReportName(value); return *this;}
123 
124 
129  inline const Aws::String& GetSubject() const{ return m_subject; }
130 
135  inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
136 
141  inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
142 
147  inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
148 
153  inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
154 
159  inline DeliverabilityTestReport& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
160 
165  inline DeliverabilityTestReport& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
166 
171  inline DeliverabilityTestReport& WithSubject(const char* value) { SetSubject(value); return *this;}
172 
173 
178  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
179 
184  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
185 
190  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
191 
196  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
197 
202  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
203 
208  inline DeliverabilityTestReport& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
209 
214  inline DeliverabilityTestReport& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
215 
220  inline DeliverabilityTestReport& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
221 
222 
227  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
228 
233  inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
234 
239  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
240 
245  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
246 
251  inline DeliverabilityTestReport& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
252 
257  inline DeliverabilityTestReport& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
258 
259 
268  inline const DeliverabilityTestStatus& GetDeliverabilityTestStatus() const{ return m_deliverabilityTestStatus; }
269 
278  inline bool DeliverabilityTestStatusHasBeenSet() const { return m_deliverabilityTestStatusHasBeenSet; }
279 
288  inline void SetDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = value; }
289 
298  inline void SetDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = std::move(value); }
299 
308  inline DeliverabilityTestReport& WithDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { SetDeliverabilityTestStatus(value); return *this;}
309 
318  inline DeliverabilityTestReport& WithDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { SetDeliverabilityTestStatus(std::move(value)); return *this;}
319 
320  private:
321 
322  Aws::String m_reportId;
323  bool m_reportIdHasBeenSet;
324 
325  Aws::String m_reportName;
326  bool m_reportNameHasBeenSet;
327 
328  Aws::String m_subject;
329  bool m_subjectHasBeenSet;
330 
331  Aws::String m_fromEmailAddress;
332  bool m_fromEmailAddressHasBeenSet;
333 
334  Aws::Utils::DateTime m_createDate;
335  bool m_createDateHasBeenSet;
336 
337  DeliverabilityTestStatus m_deliverabilityTestStatus;
338  bool m_deliverabilityTestStatusHasBeenSet;
339  };
340 
341 } // namespace Model
342 } // namespace SESV2
343 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::DeliverabilityTestReport::SetCreateDate
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition: DeliverabilityTestReport.h:239
Aws::SESV2::Model::DeliverabilityTestReport::SetReportName
void SetReportName(const Aws::String &value)
Definition: DeliverabilityTestReport.h:97
Aws::SESV2::Model::DeliverabilityTestReport::WithReportId
DeliverabilityTestReport & WithReportId(const char *value)
Definition: DeliverabilityTestReport.h:81
Aws::SESV2::Model::DeliverabilityTestReport::SetReportId
void SetReportId(const char *value)
Definition: DeliverabilityTestReport.h:66
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeliverabilityTestReport::WithReportName
DeliverabilityTestReport & WithReportName(Aws::String &&value)
Definition: DeliverabilityTestReport.h:117
Aws::SESV2::Model::DeliverabilityTestReport::WithFromEmailAddress
DeliverabilityTestReport & WithFromEmailAddress(Aws::String &&value)
Definition: DeliverabilityTestReport.h:214
Aws::SESV2::Model::DeliverabilityTestReport::DeliverabilityTestReport
DeliverabilityTestReport(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::SESV2::Model::DeliverabilityTestReport::WithSubject
DeliverabilityTestReport & WithSubject(Aws::String &&value)
Definition: DeliverabilityTestReport.h:165
Aws::SESV2::Model::DeliverabilityTestReport::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::DeliverabilityTestReport::WithReportName
DeliverabilityTestReport & WithReportName(const char *value)
Definition: DeliverabilityTestReport.h:122
Aws::SESV2::Model::DeliverabilityTestReport::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: DeliverabilityTestReport.h:190
Aws::SESV2::Model::DeliverabilityTestReport::WithReportId
DeliverabilityTestReport & WithReportId(const Aws::String &value)
Definition: DeliverabilityTestReport.h:71
Aws::SESV2::Model::DeliverabilityTestReport
Definition: DeliverabilityTestReport.h:35
Aws::SESV2::Model::DeliverabilityTestReport::WithCreateDate
DeliverabilityTestReport & WithCreateDate(const Aws::Utils::DateTime &value)
Definition: DeliverabilityTestReport.h:251
Aws::SESV2::Model::DeliverabilityTestReport::SetSubject
void SetSubject(const char *value)
Definition: DeliverabilityTestReport.h:153
Aws::SESV2::Model::DeliverabilityTestReport::GetReportName
const Aws::String & GetReportName() const
Definition: DeliverabilityTestReport.h:87
Aws::SESV2::Model::DeliverabilityTestReport::WithFromEmailAddress
DeliverabilityTestReport & WithFromEmailAddress(const char *value)
Definition: DeliverabilityTestReport.h:220
Aws::SESV2::Model::DeliverabilityTestReport::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: DeliverabilityTestReport.h:196
Aws::SESV2::Model::DeliverabilityTestReport::GetSubject
const Aws::String & GetSubject() const
Definition: DeliverabilityTestReport.h:129
Aws::SESV2::Model::DeliverabilityTestReport::ReportIdHasBeenSet
bool ReportIdHasBeenSet() const
Definition: DeliverabilityTestReport.h:51
Aws::SESV2::Model::DeliverabilityTestReport::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: DeliverabilityTestReport.h:184
Aws::SESV2::Model::DeliverabilityTestReport::WithDeliverabilityTestStatus
DeliverabilityTestReport & WithDeliverabilityTestStatus(DeliverabilityTestStatus &&value)
Definition: DeliverabilityTestReport.h:318
Aws::SESV2::Model::DeliverabilityTestReport::SetCreateDate
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition: DeliverabilityTestReport.h:245
Aws::SESV2::Model::DeliverabilityTestReport::WithFromEmailAddress
DeliverabilityTestReport & WithFromEmailAddress(const Aws::String &value)
Definition: DeliverabilityTestReport.h:208
Aws::SESV2::Model::DeliverabilityTestReport::GetCreateDate
const Aws::Utils::DateTime & GetCreateDate() const
Definition: DeliverabilityTestReport.h:227
Aws::SESV2::Model::DeliverabilityTestReport::operator=
DeliverabilityTestReport & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DeliverabilityTestReport::SetReportId
void SetReportId(const Aws::String &value)
Definition: DeliverabilityTestReport.h:56
Aws::SESV2::Model::DeliverabilityTestReport::WithCreateDate
DeliverabilityTestReport & WithCreateDate(Aws::Utils::DateTime &&value)
Definition: DeliverabilityTestReport.h:257
Aws::SESV2::Model::DeliverabilityTestReport::GetReportId
const Aws::String & GetReportId() const
Definition: DeliverabilityTestReport.h:46
Aws::SESV2::Model::DeliverabilityTestReport::SubjectHasBeenSet
bool SubjectHasBeenSet() const
Definition: DeliverabilityTestReport.h:135
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::DeliverabilityTestReport::DeliverabilityTestReport
DeliverabilityTestReport()
Aws::SESV2::Model::DeliverabilityTestReport::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: DeliverabilityTestReport.h:178
Aws::SESV2::Model::DeliverabilityTestReport::WithDeliverabilityTestStatus
DeliverabilityTestReport & WithDeliverabilityTestStatus(const DeliverabilityTestStatus &value)
Definition: DeliverabilityTestReport.h:308
Aws::SESV2::Model::DeliverabilityTestReport::SetReportId
void SetReportId(Aws::String &&value)
Definition: DeliverabilityTestReport.h:61
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DeliverabilityTestReport::SetSubject
void SetSubject(const Aws::String &value)
Definition: DeliverabilityTestReport.h:141
Aws::SESV2::Model::DeliverabilityTestReport::CreateDateHasBeenSet
bool CreateDateHasBeenSet() const
Definition: DeliverabilityTestReport.h:233
Aws::SESV2::Model::DeliverabilityTestReport::SetReportName
void SetReportName(const char *value)
Definition: DeliverabilityTestReport.h:107
Aws::SESV2::Model::DeliverabilityTestReport::GetDeliverabilityTestStatus
const DeliverabilityTestStatus & GetDeliverabilityTestStatus() const
Definition: DeliverabilityTestReport.h:268
Aws::SESV2::Model::DeliverabilityTestReport::DeliverabilityTestStatusHasBeenSet
bool DeliverabilityTestStatusHasBeenSet() const
Definition: DeliverabilityTestReport.h:278
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::DeliverabilityTestReport::SetReportName
void SetReportName(Aws::String &&value)
Definition: DeliverabilityTestReport.h:102
Aws::SESV2::Model::DeliverabilityTestReport::WithReportName
DeliverabilityTestReport & WithReportName(const Aws::String &value)
Definition: DeliverabilityTestReport.h:112
Aws::SESV2::Model::DeliverabilityTestReport::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: DeliverabilityTestReport.h:202
Aws::SESV2::Model::DeliverabilityTestReport::ReportNameHasBeenSet
bool ReportNameHasBeenSet() const
Definition: DeliverabilityTestReport.h:92
Aws::SESV2::Model::DeliverabilityTestReport::SetDeliverabilityTestStatus
void SetDeliverabilityTestStatus(const DeliverabilityTestStatus &value)
Definition: DeliverabilityTestReport.h:288
Aws::SESV2::Model::DeliverabilityTestReport::SetDeliverabilityTestStatus
void SetDeliverabilityTestStatus(DeliverabilityTestStatus &&value)
Definition: DeliverabilityTestReport.h:298
Aws::SESV2::Model::DeliverabilityTestReport::WithReportId
DeliverabilityTestReport & WithReportId(Aws::String &&value)
Definition: DeliverabilityTestReport.h:76
Aws::SESV2::Model::DeliverabilityTestReport::WithSubject
DeliverabilityTestReport & WithSubject(const Aws::String &value)
Definition: DeliverabilityTestReport.h:159
Aws::SESV2::Model::DeliverabilityTestReport::WithSubject
DeliverabilityTestReport & WithSubject(const char *value)
Definition: DeliverabilityTestReport.h:171
Aws::SESV2::Model::DeliverabilityTestReport::SetSubject
void SetSubject(Aws::String &&value)
Definition: DeliverabilityTestReport.h:147