7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/SESV2_EXPORTS.h>
11#include <aws/sesv2/model/EmailInsights.h>
12#include <aws/sesv2/model/MessageTag.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
43 template <
typename MessageIdT = Aws::String>
45 m_messageIdHasBeenSet =
true;
46 m_messageId = std::forward<MessageIdT>(value);
48 template <
typename MessageIdT = Aws::String>
60 template <
typename FromEmailAddressT = Aws::String>
62 m_fromEmailAddressHasBeenSet =
true;
63 m_fromEmailAddress = std::forward<FromEmailAddressT>(value);
65 template <
typename FromEmailAddressT = Aws::String>
77 template <
typename SubjectT = Aws::String>
79 m_subjectHasBeenSet =
true;
80 m_subject = std::forward<SubjectT>(value);
82 template <
typename SubjectT = Aws::String>
97 template <
typename EmailTagsT = Aws::Vector<MessageTag>>
99 m_emailTagsHasBeenSet =
true;
100 m_emailTags = std::forward<EmailTagsT>(value);
102 template <
typename EmailTagsT = Aws::Vector<MessageTag>>
107 template <
typename EmailTagsT = MessageTag>
109 m_emailTagsHasBeenSet =
true;
110 m_emailTags.emplace_back(std::forward<EmailTagsT>(value));
120 template <
typename InsightsT = Aws::Vector<EmailInsights>>
122 m_insightsHasBeenSet =
true;
123 m_insights = std::forward<InsightsT>(value);
125 template <
typename InsightsT = Aws::Vector<EmailInsights>>
130 template <
typename InsightsT = EmailInsights>
132 m_insightsHasBeenSet =
true;
133 m_insights.emplace_back(std::forward<InsightsT>(value));
141 template <
typename RequestIdT = Aws::String>
143 m_requestIdHasBeenSet =
true;
144 m_requestId = std::forward<RequestIdT>(value);
146 template <
typename RequestIdT = Aws::String>
167 bool m_messageIdHasBeenSet =
false;
168 bool m_fromEmailAddressHasBeenSet =
false;
169 bool m_subjectHasBeenSet =
false;
170 bool m_emailTagsHasBeenSet =
false;
171 bool m_insightsHasBeenSet =
false;
172 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
GetMessageInsightsResult & WithEmailTags(EmailTagsT &&value)
GetMessageInsightsResult & WithInsights(InsightsT &&value)
GetMessageInsightsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetSubject() const
GetMessageInsightsResult & WithSubject(SubjectT &&value)
AWS_SESV2_API GetMessageInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMessageInsightsResult & WithMessageId(MessageIdT &&value)
void SetMessageId(MessageIdT &&value)
GetMessageInsightsResult & AddInsights(InsightsT &&value)
void SetFromEmailAddress(FromEmailAddressT &&value)
AWS_SESV2_API GetMessageInsightsResult()=default
const Aws::String & GetFromEmailAddress() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
const Aws::Vector< EmailInsights > & GetInsights() const
void SetInsights(InsightsT &&value)
AWS_SESV2_API GetMessageInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEmailTags(EmailTagsT &&value)
GetMessageInsightsResult & AddEmailTags(EmailTagsT &&value)
void SetSubject(SubjectT &&value)
const Aws::String & GetMessageId() const
const Aws::Vector< MessageTag > & GetEmailTags() const
GetMessageInsightsResult & WithFromEmailAddress(FromEmailAddressT &&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