AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMessageInsightsResult.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/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/MessageTag.h>
11#include <aws/sesv2/model/EmailInsights.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SESV2
27{
28namespace Model
29{
36 {
37 public:
38 AWS_SESV2_API GetMessageInsightsResult();
41
42
44
47 inline const Aws::String& GetMessageId() const{ return m_messageId; }
48 inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
49 inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
50 inline void SetMessageId(const char* value) { m_messageId.assign(value); }
51 inline GetMessageInsightsResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
52 inline GetMessageInsightsResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
53 inline GetMessageInsightsResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
55
57
60 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
61 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddress = value; }
62 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddress = std::move(value); }
63 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddress.assign(value); }
65 inline GetMessageInsightsResult& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
66 inline GetMessageInsightsResult& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
68
70
73 inline const Aws::String& GetSubject() const{ return m_subject; }
74 inline void SetSubject(const Aws::String& value) { m_subject = value; }
75 inline void SetSubject(Aws::String&& value) { m_subject = std::move(value); }
76 inline void SetSubject(const char* value) { m_subject.assign(value); }
77 inline GetMessageInsightsResult& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
78 inline GetMessageInsightsResult& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
79 inline GetMessageInsightsResult& WithSubject(const char* value) { SetSubject(value); return *this;}
81
83
89 inline const Aws::Vector<MessageTag>& GetEmailTags() const{ return m_emailTags; }
90 inline void SetEmailTags(const Aws::Vector<MessageTag>& value) { m_emailTags = value; }
91 inline void SetEmailTags(Aws::Vector<MessageTag>&& value) { m_emailTags = std::move(value); }
92 inline GetMessageInsightsResult& WithEmailTags(const Aws::Vector<MessageTag>& value) { SetEmailTags(value); return *this;}
93 inline GetMessageInsightsResult& WithEmailTags(Aws::Vector<MessageTag>&& value) { SetEmailTags(std::move(value)); return *this;}
94 inline GetMessageInsightsResult& AddEmailTags(const MessageTag& value) { m_emailTags.push_back(value); return *this; }
95 inline GetMessageInsightsResult& AddEmailTags(MessageTag&& value) { m_emailTags.push_back(std::move(value)); return *this; }
97
99
102 inline const Aws::Vector<EmailInsights>& GetInsights() const{ return m_insights; }
103 inline void SetInsights(const Aws::Vector<EmailInsights>& value) { m_insights = value; }
104 inline void SetInsights(Aws::Vector<EmailInsights>&& value) { m_insights = std::move(value); }
106 inline GetMessageInsightsResult& WithInsights(Aws::Vector<EmailInsights>&& value) { SetInsights(std::move(value)); return *this;}
107 inline GetMessageInsightsResult& AddInsights(const EmailInsights& value) { m_insights.push_back(value); return *this; }
108 inline GetMessageInsightsResult& AddInsights(EmailInsights&& value) { m_insights.push_back(std::move(value)); return *this; }
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline GetMessageInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline GetMessageInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline GetMessageInsightsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_messageId;
124
125 Aws::String m_fromEmailAddress;
126
127 Aws::String m_subject;
128
129 Aws::Vector<MessageTag> m_emailTags;
130
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace SESV2
138} // namespace Aws
GetMessageInsightsResult & WithInsights(Aws::Vector< EmailInsights > &&value)
GetMessageInsightsResult & WithFromEmailAddress(Aws::String &&value)
GetMessageInsightsResult & AddEmailTags(MessageTag &&value)
GetMessageInsightsResult & WithFromEmailAddress(const char *value)
GetMessageInsightsResult & WithSubject(Aws::String &&value)
GetMessageInsightsResult & WithEmailTags(Aws::Vector< MessageTag > &&value)
void SetInsights(Aws::Vector< EmailInsights > &&value)
GetMessageInsightsResult & WithRequestId(const Aws::String &value)
GetMessageInsightsResult & WithMessageId(const char *value)
AWS_SESV2_API GetMessageInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMessageInsightsResult & WithMessageId(Aws::String &&value)
GetMessageInsightsResult & WithEmailTags(const Aws::Vector< MessageTag > &value)
GetMessageInsightsResult & AddEmailTags(const MessageTag &value)
void SetInsights(const Aws::Vector< EmailInsights > &value)
GetMessageInsightsResult & WithInsights(const Aws::Vector< EmailInsights > &value)
const Aws::Vector< EmailInsights > & GetInsights() const
AWS_SESV2_API GetMessageInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMessageInsightsResult & WithMessageId(const Aws::String &value)
void SetEmailTags(Aws::Vector< MessageTag > &&value)
GetMessageInsightsResult & WithRequestId(const char *value)
void SetEmailTags(const Aws::Vector< MessageTag > &value)
GetMessageInsightsResult & WithSubject(const char *value)
GetMessageInsightsResult & WithRequestId(Aws::String &&value)
GetMessageInsightsResult & AddInsights(const EmailInsights &value)
GetMessageInsightsResult & AddInsights(EmailInsights &&value)
GetMessageInsightsResult & WithSubject(const Aws::String &value)
const Aws::Vector< MessageTag > & GetEmailTags() const
GetMessageInsightsResult & WithFromEmailAddress(const Aws::String &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