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/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pinpoint-email/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 PinpointEmail
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINTEMAIL_API DeliverabilityTestReport();
38 AWS_PINPOINTEMAIL_API DeliverabilityTestReport(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINTEMAIL_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
106 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
107 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
108 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
109 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
110 inline DeliverabilityTestReport& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
111 inline DeliverabilityTestReport& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
113
115
123 inline const DeliverabilityTestStatus& GetDeliverabilityTestStatus() const{ return m_deliverabilityTestStatus; }
124 inline bool DeliverabilityTestStatusHasBeenSet() const { return m_deliverabilityTestStatusHasBeenSet; }
125 inline void SetDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = value; }
126 inline void SetDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = std::move(value); }
127 inline DeliverabilityTestReport& WithDeliverabilityTestStatus(const DeliverabilityTestStatus& value) { SetDeliverabilityTestStatus(value); return *this;}
128 inline DeliverabilityTestReport& WithDeliverabilityTestStatus(DeliverabilityTestStatus&& value) { SetDeliverabilityTestStatus(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_reportId;
133 bool m_reportIdHasBeenSet = false;
134
135 Aws::String m_reportName;
136 bool m_reportNameHasBeenSet = false;
137
138 Aws::String m_subject;
139 bool m_subjectHasBeenSet = false;
140
141 Aws::String m_fromEmailAddress;
142 bool m_fromEmailAddressHasBeenSet = false;
143
144 Aws::Utils::DateTime m_createDate;
145 bool m_createDateHasBeenSet = false;
146
147 DeliverabilityTestStatus m_deliverabilityTestStatus;
148 bool m_deliverabilityTestStatusHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace PinpointEmail
153} // namespace Aws
const DeliverabilityTestStatus & GetDeliverabilityTestStatus() const
DeliverabilityTestReport & WithReportId(const char *value)
DeliverabilityTestReport & WithDeliverabilityTestStatus(const DeliverabilityTestStatus &value)
DeliverabilityTestReport & WithReportName(const char *value)
DeliverabilityTestReport & WithReportName(Aws::String &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
DeliverabilityTestReport & WithFromEmailAddress(const char *value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
DeliverabilityTestReport & WithCreateDate(Aws::Utils::DateTime &&value)
DeliverabilityTestReport & WithSubject(const char *value)
DeliverabilityTestReport & WithReportName(const Aws::String &value)
DeliverabilityTestReport & WithSubject(const Aws::String &value)
void SetDeliverabilityTestStatus(const DeliverabilityTestStatus &value)
DeliverabilityTestReport & WithReportId(const Aws::String &value)
void SetDeliverabilityTestStatus(DeliverabilityTestStatus &&value)
DeliverabilityTestReport & WithFromEmailAddress(Aws::String &&value)
DeliverabilityTestReport & WithSubject(Aws::String &&value)
AWS_PINPOINTEMAIL_API DeliverabilityTestReport & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliverabilityTestReport & WithDeliverabilityTestStatus(DeliverabilityTestStatus &&value)
DeliverabilityTestReport & WithFromEmailAddress(const Aws::String &value)
DeliverabilityTestReport & WithReportId(Aws::String &&value)
DeliverabilityTestReport & WithCreateDate(const Aws::Utils::DateTime &value)
AWS_PINPOINTEMAIL_API DeliverabilityTestReport(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue