AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
44
45
47
51 inline const DeliverabilityTestReport& GetDeliverabilityTestReport() const { return m_deliverabilityTestReport; }
52 template<typename DeliverabilityTestReportT = DeliverabilityTestReport>
53 void SetDeliverabilityTestReport(DeliverabilityTestReportT&& value) { m_deliverabilityTestReportHasBeenSet = true; m_deliverabilityTestReport = std::forward<DeliverabilityTestReportT>(value); }
54 template<typename DeliverabilityTestReportT = DeliverabilityTestReport>
55 GetDeliverabilityTestReportResult& WithDeliverabilityTestReport(DeliverabilityTestReportT&& value) { SetDeliverabilityTestReport(std::forward<DeliverabilityTestReportT>(value)); return *this;}
57
59
64 inline const PlacementStatistics& GetOverallPlacement() const { return m_overallPlacement; }
65 template<typename OverallPlacementT = PlacementStatistics>
66 void SetOverallPlacement(OverallPlacementT&& value) { m_overallPlacementHasBeenSet = true; m_overallPlacement = std::forward<OverallPlacementT>(value); }
67 template<typename OverallPlacementT = PlacementStatistics>
68 GetDeliverabilityTestReportResult& WithOverallPlacement(OverallPlacementT&& value) { SetOverallPlacement(std::forward<OverallPlacementT>(value)); return *this;}
70
72
76 inline const Aws::Vector<IspPlacement>& GetIspPlacements() const { return m_ispPlacements; }
77 template<typename IspPlacementsT = Aws::Vector<IspPlacement>>
78 void SetIspPlacements(IspPlacementsT&& value) { m_ispPlacementsHasBeenSet = true; m_ispPlacements = std::forward<IspPlacementsT>(value); }
79 template<typename IspPlacementsT = Aws::Vector<IspPlacement>>
80 GetDeliverabilityTestReportResult& WithIspPlacements(IspPlacementsT&& value) { SetIspPlacements(std::forward<IspPlacementsT>(value)); return *this;}
81 template<typename IspPlacementsT = IspPlacement>
82 GetDeliverabilityTestReportResult& AddIspPlacements(IspPlacementsT&& value) { m_ispPlacementsHasBeenSet = true; m_ispPlacements.emplace_back(std::forward<IspPlacementsT>(value)); return *this; }
84
86
90 inline const Aws::String& GetMessage() const { return m_message; }
91 template<typename MessageT = Aws::String>
92 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
93 template<typename MessageT = Aws::String>
94 GetDeliverabilityTestReportResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
96
98
102 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
103 template<typename TagsT = Aws::Vector<Tag>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Vector<Tag>>
106 GetDeliverabilityTestReportResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsT = Tag>
108 GetDeliverabilityTestReportResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template<typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
116 template<typename RequestIdT = Aws::String>
117 GetDeliverabilityTestReportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
119 private:
120
121 DeliverabilityTestReport m_deliverabilityTestReport;
122 bool m_deliverabilityTestReportHasBeenSet = false;
123
124 PlacementStatistics m_overallPlacement;
125 bool m_overallPlacementHasBeenSet = false;
126
127 Aws::Vector<IspPlacement> m_ispPlacements;
128 bool m_ispPlacementsHasBeenSet = false;
129
130 Aws::String m_message;
131 bool m_messageHasBeenSet = false;
132
133 Aws::Vector<Tag> m_tags;
134 bool m_tagsHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace PinpointEmail
142} // namespace Aws
AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeliverabilityTestReportResult & WithIspPlacements(IspPlacementsT &&value)
AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeliverabilityTestReportResult & AddIspPlacements(IspPlacementsT &&value)
AWS_PINPOINTEMAIL_API GetDeliverabilityTestReportResult()=default
GetDeliverabilityTestReportResult & WithMessage(MessageT &&value)
GetDeliverabilityTestReportResult & WithRequestId(RequestIdT &&value)
GetDeliverabilityTestReportResult & WithDeliverabilityTestReport(DeliverabilityTestReportT &&value)
GetDeliverabilityTestReportResult & WithOverallPlacement(OverallPlacementT &&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