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/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/IdentityType.h>
9#include <aws/sesv2/model/DkimAttributes.h>
10#include <aws/sesv2/model/MailFromAttributes.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/sesv2/model/VerificationStatus.h>
15#include <aws/sesv2/model/VerificationInfo.h>
16#include <aws/sesv2/model/Tag.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SESV2
32{
33namespace Model
34{
41 {
42 public:
43 AWS_SESV2_API GetEmailIdentityResult();
46
47
49
53 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
54 inline void SetIdentityType(const IdentityType& value) { m_identityType = value; }
55 inline void SetIdentityType(IdentityType&& value) { m_identityType = std::move(value); }
56 inline GetEmailIdentityResult& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
57 inline GetEmailIdentityResult& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
59
61
71 inline bool GetFeedbackForwardingStatus() const{ return m_feedbackForwardingStatus; }
72 inline void SetFeedbackForwardingStatus(bool value) { m_feedbackForwardingStatus = value; }
75
77
84 inline bool GetVerifiedForSendingStatus() const{ return m_verifiedForSendingStatus; }
85 inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatus = value; }
88
90
94 inline const DkimAttributes& GetDkimAttributes() const{ return m_dkimAttributes; }
95 inline void SetDkimAttributes(const DkimAttributes& value) { m_dkimAttributes = value; }
96 inline void SetDkimAttributes(DkimAttributes&& value) { m_dkimAttributes = std::move(value); }
97 inline GetEmailIdentityResult& WithDkimAttributes(const DkimAttributes& value) { SetDkimAttributes(value); return *this;}
98 inline GetEmailIdentityResult& WithDkimAttributes(DkimAttributes&& value) { SetDkimAttributes(std::move(value)); return *this;}
100
102
106 inline const MailFromAttributes& GetMailFromAttributes() const{ return m_mailFromAttributes; }
107 inline void SetMailFromAttributes(const MailFromAttributes& value) { m_mailFromAttributes = value; }
108 inline void SetMailFromAttributes(MailFromAttributes&& value) { m_mailFromAttributes = std::move(value); }
112
114
117 inline const Aws::Map<Aws::String, Aws::String>& GetPolicies() const{ return m_policies; }
118 inline void SetPolicies(const Aws::Map<Aws::String, Aws::String>& value) { m_policies = value; }
119 inline void SetPolicies(Aws::Map<Aws::String, Aws::String>&& value) { m_policies = std::move(value); }
121 inline GetEmailIdentityResult& WithPolicies(Aws::Map<Aws::String, Aws::String>&& value) { SetPolicies(std::move(value)); return *this;}
122 inline GetEmailIdentityResult& AddPolicies(const Aws::String& key, const Aws::String& value) { m_policies.emplace(key, value); return *this; }
123 inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, const Aws::String& value) { m_policies.emplace(std::move(key), value); return *this; }
124 inline GetEmailIdentityResult& AddPolicies(const Aws::String& key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
125 inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, Aws::String&& value) { m_policies.emplace(std::move(key), std::move(value)); return *this; }
126 inline GetEmailIdentityResult& AddPolicies(const char* key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
127 inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, const char* value) { m_policies.emplace(std::move(key), value); return *this; }
128 inline GetEmailIdentityResult& AddPolicies(const char* key, const char* value) { m_policies.emplace(key, value); return *this; }
130
132
136 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
137 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
138 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
139 inline GetEmailIdentityResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
140 inline GetEmailIdentityResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
141 inline GetEmailIdentityResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
142 inline GetEmailIdentityResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
144
146
149 inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
150 inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetName = value; }
151 inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetName = std::move(value); }
152 inline void SetConfigurationSetName(const char* value) { m_configurationSetName.assign(value); }
154 inline GetEmailIdentityResult& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
155 inline GetEmailIdentityResult& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
157
159
170 inline const VerificationStatus& GetVerificationStatus() const{ return m_verificationStatus; }
171 inline void SetVerificationStatus(const VerificationStatus& value) { m_verificationStatus = value; }
172 inline void SetVerificationStatus(VerificationStatus&& value) { m_verificationStatus = std::move(value); }
176
178
182 inline const VerificationInfo& GetVerificationInfo() const{ return m_verificationInfo; }
183 inline void SetVerificationInfo(const VerificationInfo& value) { m_verificationInfo = value; }
184 inline void SetVerificationInfo(VerificationInfo&& value) { m_verificationInfo = std::move(value); }
186 inline GetEmailIdentityResult& WithVerificationInfo(VerificationInfo&& value) { SetVerificationInfo(std::move(value)); return *this;}
188
190
191 inline const Aws::String& GetRequestId() const{ return m_requestId; }
192 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
193 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
194 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
195 inline GetEmailIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
196 inline GetEmailIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
197 inline GetEmailIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
199 private:
200
201 IdentityType m_identityType;
202
203 bool m_feedbackForwardingStatus;
204
205 bool m_verifiedForSendingStatus;
206
207 DkimAttributes m_dkimAttributes;
208
209 MailFromAttributes m_mailFromAttributes;
210
212
213 Aws::Vector<Tag> m_tags;
214
215 Aws::String m_configurationSetName;
216
217 VerificationStatus m_verificationStatus;
218
219 VerificationInfo m_verificationInfo;
220
221 Aws::String m_requestId;
222 };
223
224} // namespace Model
225} // namespace SESV2
226} // namespace Aws
GetEmailIdentityResult & WithTags(Aws::Vector< Tag > &&value)
GetEmailIdentityResult & WithDkimAttributes(DkimAttributes &&value)
GetEmailIdentityResult & WithVerificationStatus(const VerificationStatus &value)
void SetMailFromAttributes(const MailFromAttributes &value)
const Aws::Vector< Tag > & GetTags() const
GetEmailIdentityResult & WithConfigurationSetName(Aws::String &&value)
GetEmailIdentityResult & WithIdentityType(IdentityType &&value)
GetEmailIdentityResult & WithRequestId(const char *value)
void SetDkimAttributes(const DkimAttributes &value)
GetEmailIdentityResult & WithVerificationInfo(const VerificationInfo &value)
const VerificationStatus & GetVerificationStatus() const
GetEmailIdentityResult & WithTags(const Aws::Vector< Tag > &value)
AWS_SESV2_API GetEmailIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const MailFromAttributes & GetMailFromAttributes() const
AWS_SESV2_API GetEmailIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const VerificationInfo & GetVerificationInfo() const
void SetVerificationInfo(VerificationInfo &&value)
GetEmailIdentityResult & AddTags(Tag &&value)
GetEmailIdentityResult & AddPolicies(const char *key, const char *value)
void SetTags(const Aws::Vector< Tag > &value)
const DkimAttributes & GetDkimAttributes() const
void SetVerificationStatus(const VerificationStatus &value)
void SetConfigurationSetName(const Aws::String &value)
void SetPolicies(Aws::Map< Aws::String, Aws::String > &&value)
GetEmailIdentityResult & AddTags(const Tag &value)
void SetMailFromAttributes(MailFromAttributes &&value)
void SetIdentityType(const IdentityType &value)
GetEmailIdentityResult & WithConfigurationSetName(const char *value)
GetEmailIdentityResult & WithVerificationInfo(VerificationInfo &&value)
GetEmailIdentityResult & WithPolicies(const Aws::Map< Aws::String, Aws::String > &value)
GetEmailIdentityResult & WithMailFromAttributes(MailFromAttributes &&value)
void SetVerificationInfo(const VerificationInfo &value)
GetEmailIdentityResult & AddPolicies(const Aws::String &key, const Aws::String &value)
GetEmailIdentityResult & WithMailFromAttributes(const MailFromAttributes &value)
GetEmailIdentityResult & WithRequestId(Aws::String &&value)
GetEmailIdentityResult & AddPolicies(const char *key, Aws::String &&value)
GetEmailIdentityResult & WithVerifiedForSendingStatus(bool value)
GetEmailIdentityResult & WithFeedbackForwardingStatus(bool value)
GetEmailIdentityResult & WithPolicies(Aws::Map< Aws::String, Aws::String > &&value)
GetEmailIdentityResult & WithIdentityType(const IdentityType &value)
void SetPolicies(const Aws::Map< Aws::String, Aws::String > &value)
GetEmailIdentityResult & WithVerificationStatus(VerificationStatus &&value)
GetEmailIdentityResult & WithDkimAttributes(const DkimAttributes &value)
const Aws::Map< Aws::String, Aws::String > & GetPolicies() const
GetEmailIdentityResult & WithRequestId(const Aws::String &value)
GetEmailIdentityResult & AddPolicies(const Aws::String &key, Aws::String &&value)
void SetVerificationStatus(VerificationStatus &&value)
GetEmailIdentityResult & WithConfigurationSetName(const Aws::String &value)
GetEmailIdentityResult & AddPolicies(Aws::String &&key, const Aws::String &value)
GetEmailIdentityResult & AddPolicies(Aws::String &&key, Aws::String &&value)
GetEmailIdentityResult & AddPolicies(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue