AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeliverabilityTestReport.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/DateTime.h>
10#include <aws/sesv2/model/DeliverabilityTestStatus.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
35 {
36 public:
37 AWS_SESV2_API DeliverabilityTestReport();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetReportId() const{ return m_reportId; }
48 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
49 inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; }
50 inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); }
51 inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); }
52 inline DeliverabilityTestReport& WithReportId(const Aws::String& value) { SetReportId(value); return *this;}
53 inline DeliverabilityTestReport& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;}
54 inline DeliverabilityTestReport& WithReportId(const char* value) { SetReportId(value); return *this;}
56
58
61 inline const Aws::String& GetReportName() const{ return m_reportName; }
62 inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
63 inline void SetReportName(const Aws::String& value) { m_reportNameHasBeenSet = true; m_reportName = value; }
64 inline void SetReportName(Aws::String&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); }
65 inline void SetReportName(const char* value) { m_reportNameHasBeenSet = true; m_reportName.assign(value); }
66 inline DeliverabilityTestReport& WithReportName(const Aws::String& value) { SetReportName(value); return *this;}
67 inline DeliverabilityTestReport& WithReportName(Aws::String&& value) { SetReportName(std::move(value)); return *this;}
68 inline DeliverabilityTestReport& WithReportName(const char* value) { SetReportName(value); return *this;}
70
72
76 inline const Aws::String& GetSubject() const{ return m_subject; }
77 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
78 inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
79 inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
80 inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
81 inline DeliverabilityTestReport& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
82 inline DeliverabilityTestReport& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
83 inline DeliverabilityTestReport& WithSubject(const char* value) { SetSubject(value); return *this;}
85
87
91 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
92 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
93 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
94 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
95 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
97 inline DeliverabilityTestReport& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
98 inline DeliverabilityTestReport& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
106 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
107 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
108 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
109 inline DeliverabilityTestReport& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
110 inline DeliverabilityTestReport& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
112
114
122 inline const DeliverabilityTestStatus& GetDeliverabilityTestStatus() const{ return m_deliverabilityTestStatus; }
123 inline bool DeliverabilityTestStatusHasBeenSet() const { return m_deliverabilityTestStatusHasBeenSet; }
124 inline void SetDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = value; }
125 inline void SetDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = std::move(value); }
126 inline DeliverabilityTestReport& WithDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { SetDeliverabilityTestStatus(value); return *this;}
127 inline DeliverabilityTestReport& WithDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { SetDeliverabilityTestStatus(std::move(value)); return *this;}
129 private:
130
131 Aws::String m_reportId;
132 bool m_reportIdHasBeenSet = false;
133
134 Aws::String m_reportName;
135 bool m_reportNameHasBeenSet = false;
136
137 Aws::String m_subject;
138 bool m_subjectHasBeenSet = false;
139
140 Aws::String m_fromEmailAddress;
141 bool m_fromEmailAddressHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createDate;
144 bool m_createDateHasBeenSet = false;
145
146 DeliverabilityTestStatus m_deliverabilityTestStatus;
147 bool m_deliverabilityTestStatusHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SESV2
152} // namespace Aws
DeliverabilityTestReport & WithReportName(const char *value)
DeliverabilityTestReport & WithSubject(const char *value)
AWS_SESV2_API DeliverabilityTestReport(Aws::Utils::Json::JsonView jsonValue)
DeliverabilityTestReport & WithReportId(Aws::String &&value)
AWS_SESV2_API DeliverabilityTestReport & operator=(Aws::Utils::Json::JsonView jsonValue)
const DeliverabilityTestStatus & GetDeliverabilityTestStatus() const
DeliverabilityTestReport & WithSubject(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
DeliverabilityTestReport & WithDeliverabilityTestStatus(const DeliverabilityTestStatus &value)
void SetCreateDate(const Aws::Utils::DateTime &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeliverabilityTestStatus(const DeliverabilityTestStatus &value)
DeliverabilityTestReport & WithFromEmailAddress(const Aws::String &value)
DeliverabilityTestReport & WithFromEmailAddress(Aws::String &&value)
DeliverabilityTestReport & WithCreateDate(Aws::Utils::DateTime &&value)
DeliverabilityTestReport & WithReportName(Aws::String &&value)
DeliverabilityTestReport & WithCreateDate(const Aws::Utils::DateTime &value)
DeliverabilityTestReport & WithReportId(const char *value)
DeliverabilityTestReport & WithReportName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateDate() const
DeliverabilityTestReport & WithDeliverabilityTestStatus(DeliverabilityTestStatus &&value)
void SetDeliverabilityTestStatus(DeliverabilityTestStatus &&value)
DeliverabilityTestReport & WithReportId(const Aws::String &value)
DeliverabilityTestReport & WithFromEmailAddress(const char *value)
DeliverabilityTestReport & WithSubject(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue