AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDeliverabilityTestReportResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/DeliverabilityTestReport.h>
9#include <aws/pinpoint-email/model/PlacementStatistics.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/pinpoint-email/model/IspPlacement.h>
13#include <aws/pinpoint-email/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace PinpointEmail
29{
30namespace Model
31{
39 {
40 public:
41 AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult();
44
45
47
51 inline const DeliverabilityTestReport& GetDeliverabilityTestReport() const{ return m_deliverabilityTestReport; }
52 inline void SetDeliverabilityTestReport(const DeliverabilityTestReport& value) { m_deliverabilityTestReport = value; }
53 inline void SetDeliverabilityTestReport(DeliverabilityTestReport&& value) { m_deliverabilityTestReport = std::move(value); }
57
59
64 inline const PlacementStatistics& GetOverallPlacement() const{ return m_overallPlacement; }
65 inline void SetOverallPlacement(const PlacementStatistics& value) { m_overallPlacement = value; }
66 inline void SetOverallPlacement(PlacementStatistics&& value) { m_overallPlacement = std::move(value); }
70
72
76 inline const Aws::Vector<IspPlacement>& GetIspPlacements() const{ return m_ispPlacements; }
77 inline void SetIspPlacements(const Aws::Vector<IspPlacement>& value) { m_ispPlacements = value; }
78 inline void SetIspPlacements(Aws::Vector<IspPlacement>&& value) { m_ispPlacements = std::move(value); }
81 inline GetDeliverabilityTestReportResult& AddIspPlacements(const IspPlacement& value) { m_ispPlacements.push_back(value); return *this; }
82 inline GetDeliverabilityTestReportResult& AddIspPlacements(IspPlacement&& value) { m_ispPlacements.push_back(std::move(value)); return *this; }
84
86
90 inline const Aws::String& GetMessage() const{ return m_message; }
91 inline void SetMessage(const Aws::String& value) { m_message = value; }
92 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
93 inline void SetMessage(const char* value) { m_message.assign(value); }
94 inline GetDeliverabilityTestReportResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
95 inline GetDeliverabilityTestReportResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
96 inline GetDeliverabilityTestReportResult& WithMessage(const char* value) { SetMessage(value); return *this;}
98
100
104 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
105 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
106 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
107 inline GetDeliverabilityTestReportResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
108 inline GetDeliverabilityTestReportResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
109 inline GetDeliverabilityTestReportResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
110 inline GetDeliverabilityTestReportResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline GetDeliverabilityTestReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline GetDeliverabilityTestReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline GetDeliverabilityTestReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 DeliverabilityTestReport m_deliverabilityTestReport;
126
127 PlacementStatistics m_overallPlacement;
128
129 Aws::Vector<IspPlacement> m_ispPlacements;
130
131 Aws::String m_message;
132
133 Aws::Vector<Tag> m_tags;
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace PinpointEmail
140} // namespace Aws
GetDeliverabilityTestReportResult & AddIspPlacements(const IspPlacement &value)
GetDeliverabilityTestReportResult & WithMessage(Aws::String &&value)
GetDeliverabilityTestReportResult & WithRequestId(Aws::String &&value)
AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeliverabilityTestReportResult & AddTags(const Tag &value)
GetDeliverabilityTestReportResult & AddIspPlacements(IspPlacement &&value)
AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeliverabilityTestReportResult & WithDeliverabilityTestReport(DeliverabilityTestReport &&value)
GetDeliverabilityTestReportResult & WithOverallPlacement(PlacementStatistics &&value)
GetDeliverabilityTestReportResult & WithIspPlacements(Aws::Vector< IspPlacement > &&value)
GetDeliverabilityTestReportResult & WithTags(const Aws::Vector< Tag > &value)
GetDeliverabilityTestReportResult & WithOverallPlacement(const PlacementStatistics &value)
GetDeliverabilityTestReportResult & WithRequestId(const Aws::String &value)
GetDeliverabilityTestReportResult & WithIspPlacements(const Aws::Vector< IspPlacement > &value)
GetDeliverabilityTestReportResult & WithMessage(const Aws::String &value)
GetDeliverabilityTestReportResult & WithDeliverabilityTestReport(const DeliverabilityTestReport &value)
GetDeliverabilityTestReportResult & WithTags(Aws::Vector< Tag > &&value)
GetDeliverabilityTestReportResult & WithRequestId(const char *value)
GetDeliverabilityTestReportResult & WithMessage(const char *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