AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEmailIdentityResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/IdentityType.h>
9#include <aws/pinpoint-email/model/DkimAttributes.h>
10#include <aws/pinpoint-email/model/MailFromAttributes.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.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{
38 {
39 public:
40 AWS_PINPOINTEMAIL_API GetEmailIdentityResult();
43
44
46
49 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
50 inline void SetIdentityType(const IdentityType& value) { m_identityType = value; }
51 inline void SetIdentityType(IdentityType&& value) { m_identityType = std::move(value); }
52 inline GetEmailIdentityResult& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
53 inline GetEmailIdentityResult& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
55
57
69 inline bool GetFeedbackForwardingStatus() const{ return m_feedbackForwardingStatus; }
70 inline void SetFeedbackForwardingStatus(bool value) { m_feedbackForwardingStatus = value; }
73
75
82 inline bool GetVerifiedForSendingStatus() const{ return m_verifiedForSendingStatus; }
83 inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatus = value; }
86
88
93 inline const DkimAttributes& GetDkimAttributes() const{ return m_dkimAttributes; }
94 inline void SetDkimAttributes(const DkimAttributes& value) { m_dkimAttributes = value; }
95 inline void SetDkimAttributes(DkimAttributes&& value) { m_dkimAttributes = std::move(value); }
96 inline GetEmailIdentityResult& WithDkimAttributes(const DkimAttributes& value) { SetDkimAttributes(value); return *this;}
97 inline GetEmailIdentityResult& WithDkimAttributes(DkimAttributes&& value) { SetDkimAttributes(std::move(value)); return *this;}
99
101
105 inline const MailFromAttributes& GetMailFromAttributes() const{ return m_mailFromAttributes; }
106 inline void SetMailFromAttributes(const MailFromAttributes& value) { m_mailFromAttributes = value; }
107 inline void SetMailFromAttributes(MailFromAttributes&& value) { m_mailFromAttributes = std::move(value); }
111
113
117 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
118 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
119 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
120 inline GetEmailIdentityResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
121 inline GetEmailIdentityResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
122 inline GetEmailIdentityResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
123 inline GetEmailIdentityResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
125
127
128 inline const Aws::String& GetRequestId() const{ return m_requestId; }
129 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
130 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
131 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
132 inline GetEmailIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
133 inline GetEmailIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
134 inline GetEmailIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 private:
137
138 IdentityType m_identityType;
139
140 bool m_feedbackForwardingStatus;
141
142 bool m_verifiedForSendingStatus;
143
144 DkimAttributes m_dkimAttributes;
145
146 MailFromAttributes m_mailFromAttributes;
147
148 Aws::Vector<Tag> m_tags;
149
150 Aws::String m_requestId;
151 };
152
153} // namespace Model
154} // namespace PinpointEmail
155} // namespace Aws
const MailFromAttributes & GetMailFromAttributes() const
GetEmailIdentityResult & WithMailFromAttributes(const MailFromAttributes &value)
GetEmailIdentityResult & WithMailFromAttributes(MailFromAttributes &&value)
GetEmailIdentityResult & WithTags(const Aws::Vector< Tag > &value)
GetEmailIdentityResult & AddTags(const Tag &value)
GetEmailIdentityResult & WithIdentityType(const IdentityType &value)
GetEmailIdentityResult & WithDkimAttributes(DkimAttributes &&value)
GetEmailIdentityResult & WithFeedbackForwardingStatus(bool value)
AWS_PINPOINTEMAIL_API GetEmailIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailIdentityResult & WithIdentityType(IdentityType &&value)
void SetMailFromAttributes(const MailFromAttributes &value)
GetEmailIdentityResult & WithTags(Aws::Vector< Tag > &&value)
GetEmailIdentityResult & WithDkimAttributes(const DkimAttributes &value)
AWS_PINPOINTEMAIL_API GetEmailIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailIdentityResult & WithRequestId(const Aws::String &value)
GetEmailIdentityResult & WithVerifiedForSendingStatus(bool value)
GetEmailIdentityResult & WithRequestId(Aws::String &&value)
GetEmailIdentityResult & WithRequestId(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