AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
43
44
46
49 inline IdentityType GetIdentityType() const { return m_identityType; }
50 inline void SetIdentityType(IdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
53
55
67 inline bool GetFeedbackForwardingStatus() const { return m_feedbackForwardingStatus; }
68 inline void SetFeedbackForwardingStatus(bool value) { m_feedbackForwardingStatusHasBeenSet = true; m_feedbackForwardingStatus = value; }
71
73
80 inline bool GetVerifiedForSendingStatus() const { return m_verifiedForSendingStatus; }
81 inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatusHasBeenSet = true; m_verifiedForSendingStatus = value; }
84
86
91 inline const DkimAttributes& GetDkimAttributes() const { return m_dkimAttributes; }
92 template<typename DkimAttributesT = DkimAttributes>
93 void SetDkimAttributes(DkimAttributesT&& value) { m_dkimAttributesHasBeenSet = true; m_dkimAttributes = std::forward<DkimAttributesT>(value); }
94 template<typename DkimAttributesT = DkimAttributes>
95 GetEmailIdentityResult& WithDkimAttributes(DkimAttributesT&& value) { SetDkimAttributes(std::forward<DkimAttributesT>(value)); return *this;}
97
99
103 inline const MailFromAttributes& GetMailFromAttributes() const { return m_mailFromAttributes; }
104 template<typename MailFromAttributesT = MailFromAttributes>
105 void SetMailFromAttributes(MailFromAttributesT&& value) { m_mailFromAttributesHasBeenSet = true; m_mailFromAttributes = std::forward<MailFromAttributesT>(value); }
106 template<typename MailFromAttributesT = MailFromAttributes>
107 GetEmailIdentityResult& WithMailFromAttributes(MailFromAttributesT&& value) { SetMailFromAttributes(std::forward<MailFromAttributesT>(value)); return *this;}
109
111
115 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
116 template<typename TagsT = Aws::Vector<Tag>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
118 template<typename TagsT = Aws::Vector<Tag>>
119 GetEmailIdentityResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
120 template<typename TagsT = Tag>
121 GetEmailIdentityResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
123
125
126 inline const Aws::String& GetRequestId() const { return m_requestId; }
127 template<typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
129 template<typename RequestIdT = Aws::String>
130 GetEmailIdentityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
132 private:
133
134 IdentityType m_identityType{IdentityType::NOT_SET};
135 bool m_identityTypeHasBeenSet = false;
136
137 bool m_feedbackForwardingStatus{false};
138 bool m_feedbackForwardingStatusHasBeenSet = false;
139
140 bool m_verifiedForSendingStatus{false};
141 bool m_verifiedForSendingStatusHasBeenSet = false;
142
143 DkimAttributes m_dkimAttributes;
144 bool m_dkimAttributesHasBeenSet = false;
145
146 MailFromAttributes m_mailFromAttributes;
147 bool m_mailFromAttributesHasBeenSet = false;
148
149 Aws::Vector<Tag> m_tags;
150 bool m_tagsHasBeenSet = false;
151
152 Aws::String m_requestId;
153 bool m_requestIdHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace PinpointEmail
158} // namespace Aws
const MailFromAttributes & GetMailFromAttributes() const
GetEmailIdentityResult & WithDkimAttributes(DkimAttributesT &&value)
GetEmailIdentityResult & WithMailFromAttributes(MailFromAttributesT &&value)
GetEmailIdentityResult & WithFeedbackForwardingStatus(bool value)
AWS_PINPOINTEMAIL_API GetEmailIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailIdentityResult & WithRequestId(RequestIdT &&value)
GetEmailIdentityResult & AddTags(TagsT &&value)
AWS_PINPOINTEMAIL_API GetEmailIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailIdentityResult & WithVerifiedForSendingStatus(bool value)
GetEmailIdentityResult & WithIdentityType(IdentityType value)
AWS_PINPOINTEMAIL_API GetEmailIdentityResult()=default
GetEmailIdentityResult & WithTags(TagsT &&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