AWS SDK for C++  1.9.155
AWS SDK for C++
GetEmailIdentityResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <aws/sesv2/model/Tag.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace SESV2
30 {
31 namespace Model
32 {
39  {
40  public:
44 
45 
50  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
51 
56  inline void SetIdentityType(const IdentityType& value) { m_identityType = value; }
57 
62  inline void SetIdentityType(IdentityType&& value) { m_identityType = std::move(value); }
63 
68  inline GetEmailIdentityResult& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
69 
74  inline GetEmailIdentityResult& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
75 
76 
87  inline bool GetFeedbackForwardingStatus() const{ return m_feedbackForwardingStatus; }
88 
99  inline void SetFeedbackForwardingStatus(bool value) { m_feedbackForwardingStatus = value; }
100 
111  inline GetEmailIdentityResult& WithFeedbackForwardingStatus(bool value) { SetFeedbackForwardingStatus(value); return *this;}
112 
113 
121  inline bool GetVerifiedForSendingStatus() const{ return m_verifiedForSendingStatus; }
122 
130  inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatus = value; }
131 
139  inline GetEmailIdentityResult& WithVerifiedForSendingStatus(bool value) { SetVerifiedForSendingStatus(value); return *this;}
140 
141 
146  inline const DkimAttributes& GetDkimAttributes() const{ return m_dkimAttributes; }
147 
152  inline void SetDkimAttributes(const DkimAttributes& value) { m_dkimAttributes = value; }
153 
158  inline void SetDkimAttributes(DkimAttributes&& value) { m_dkimAttributes = std::move(value); }
159 
164  inline GetEmailIdentityResult& WithDkimAttributes(const DkimAttributes& value) { SetDkimAttributes(value); return *this;}
165 
170  inline GetEmailIdentityResult& WithDkimAttributes(DkimAttributes&& value) { SetDkimAttributes(std::move(value)); return *this;}
171 
172 
177  inline const MailFromAttributes& GetMailFromAttributes() const{ return m_mailFromAttributes; }
178 
183  inline void SetMailFromAttributes(const MailFromAttributes& value) { m_mailFromAttributes = value; }
184 
189  inline void SetMailFromAttributes(MailFromAttributes&& value) { m_mailFromAttributes = std::move(value); }
190 
195  inline GetEmailIdentityResult& WithMailFromAttributes(const MailFromAttributes& value) { SetMailFromAttributes(value); return *this;}
196 
201  inline GetEmailIdentityResult& WithMailFromAttributes(MailFromAttributes&& value) { SetMailFromAttributes(std::move(value)); return *this;}
202 
203 
207  inline const Aws::Map<Aws::String, Aws::String>& GetPolicies() const{ return m_policies; }
208 
212  inline void SetPolicies(const Aws::Map<Aws::String, Aws::String>& value) { m_policies = value; }
213 
217  inline void SetPolicies(Aws::Map<Aws::String, Aws::String>&& value) { m_policies = std::move(value); }
218 
222  inline GetEmailIdentityResult& WithPolicies(const Aws::Map<Aws::String, Aws::String>& value) { SetPolicies(value); return *this;}
223 
227  inline GetEmailIdentityResult& WithPolicies(Aws::Map<Aws::String, Aws::String>&& value) { SetPolicies(std::move(value)); return *this;}
228 
232  inline GetEmailIdentityResult& AddPolicies(const Aws::String& key, const Aws::String& value) { m_policies.emplace(key, value); return *this; }
233 
237  inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, const Aws::String& value) { m_policies.emplace(std::move(key), value); return *this; }
238 
242  inline GetEmailIdentityResult& AddPolicies(const Aws::String& key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
243 
247  inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, Aws::String&& value) { m_policies.emplace(std::move(key), std::move(value)); return *this; }
248 
252  inline GetEmailIdentityResult& AddPolicies(const char* key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
253 
257  inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, const char* value) { m_policies.emplace(std::move(key), value); return *this; }
258 
262  inline GetEmailIdentityResult& AddPolicies(const char* key, const char* value) { m_policies.emplace(key, value); return *this; }
263 
264 
269  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
270 
275  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
276 
281  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
282 
287  inline GetEmailIdentityResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
288 
293  inline GetEmailIdentityResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
294 
299  inline GetEmailIdentityResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
300 
305  inline GetEmailIdentityResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
306 
307 
311  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
312 
316  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetName = value; }
317 
321  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetName = std::move(value); }
322 
326  inline void SetConfigurationSetName(const char* value) { m_configurationSetName.assign(value); }
327 
331  inline GetEmailIdentityResult& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
332 
336  inline GetEmailIdentityResult& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
337 
341  inline GetEmailIdentityResult& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
342 
343  private:
344 
345  IdentityType m_identityType;
346 
347  bool m_feedbackForwardingStatus;
348 
349  bool m_verifiedForSendingStatus;
350 
351  DkimAttributes m_dkimAttributes;
352 
353  MailFromAttributes m_mailFromAttributes;
354 
356 
357  Aws::Vector<Tag> m_tags;
358 
359  Aws::String m_configurationSetName;
360  };
361 
362 } // namespace Model
363 } // namespace SESV2
364 } // namespace Aws
Aws::SESV2::Model::GetEmailIdentityResult::WithMailFromAttributes
GetEmailIdentityResult & WithMailFromAttributes(const MailFromAttributes &value)
Definition: GetEmailIdentityResult.h:195
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetEmailIdentityResult::WithConfigurationSetName
GetEmailIdentityResult & WithConfigurationSetName(Aws::String &&value)
Definition: GetEmailIdentityResult.h:336
Aws::SESV2::Model::GetEmailIdentityResult::AddTags
GetEmailIdentityResult & AddTags(const Tag &value)
Definition: GetEmailIdentityResult.h:299
Aws::SESV2::Model::GetEmailIdentityResult::SetMailFromAttributes
void SetMailFromAttributes(const MailFromAttributes &value)
Definition: GetEmailIdentityResult.h:183
Aws::SESV2::Model::GetEmailIdentityResult::SetFeedbackForwardingStatus
void SetFeedbackForwardingStatus(bool value)
Definition: GetEmailIdentityResult.h:99
Aws::SESV2::Model::GetEmailIdentityResult::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: GetEmailIdentityResult.h:56
Aws::SESV2::Model::GetEmailIdentityResult::AddTags
GetEmailIdentityResult & AddTags(Tag &&value)
Definition: GetEmailIdentityResult.h:305
Aws::SESV2::Model::GetEmailIdentityResult::WithTags
GetEmailIdentityResult & WithTags(const Aws::Vector< Tag > &value)
Definition: GetEmailIdentityResult.h:287
IdentityType.h
Aws::SESV2::Model::GetEmailIdentityResult::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: GetEmailIdentityResult.h:316
DkimAttributes.h
MailFromAttributes.h
Aws::SESV2::Model::GetEmailIdentityResult::GetPolicies
const Aws::Map< Aws::String, Aws::String > & GetPolicies() const
Definition: GetEmailIdentityResult.h:207
Aws::SESV2::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(Aws::String &&key, Aws::String &&value)
Definition: GetEmailIdentityResult.h:247
Aws::SESV2::Model::GetEmailIdentityResult::GetEmailIdentityResult
GetEmailIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetEmailIdentityResult::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: GetEmailIdentityResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::GetEmailIdentityResult::WithConfigurationSetName
GetEmailIdentityResult & WithConfigurationSetName(const char *value)
Definition: GetEmailIdentityResult.h:341
Aws::SESV2::Model::GetEmailIdentityResult::GetVerifiedForSendingStatus
bool GetVerifiedForSendingStatus() const
Definition: GetEmailIdentityResult.h:121
Tag.h
Aws::SESV2::Model::GetEmailIdentityResult::WithDkimAttributes
GetEmailIdentityResult & WithDkimAttributes(DkimAttributes &&value)
Definition: GetEmailIdentityResult.h:170
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(const Aws::String &key, const Aws::String &value)
Definition: GetEmailIdentityResult.h:232
Aws::SESV2::Model::GetEmailIdentityResult::SetMailFromAttributes
void SetMailFromAttributes(MailFromAttributes &&value)
Definition: GetEmailIdentityResult.h:189
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(Aws::String &&key, const char *value)
Definition: GetEmailIdentityResult.h:257
AWSVector.h
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(Aws::String &&key, const Aws::String &value)
Definition: GetEmailIdentityResult.h:237
Aws::SESV2::Model::GetEmailIdentityResult::SetPolicies
void SetPolicies(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetEmailIdentityResult.h:217
Aws::SESV2::Model::GetEmailIdentityResult::SetVerifiedForSendingStatus
void SetVerifiedForSendingStatus(bool value)
Definition: GetEmailIdentityResult.h:130
Aws::SESV2::Model::GetEmailIdentityResult::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: GetEmailIdentityResult.h:326
Aws::SESV2::Model::GetEmailIdentityResult::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: GetEmailIdentityResult.h:321
Aws::SESV2::Model::GetEmailIdentityResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: GetEmailIdentityResult.h:275
Aws::SESV2::Model::MailFromAttributes
Definition: MailFromAttributes.h:35
Aws::SESV2::Model::GetEmailIdentityResult::SetDkimAttributes
void SetDkimAttributes(const DkimAttributes &value)
Definition: GetEmailIdentityResult.h:152
Aws::SESV2::Model::GetEmailIdentityResult::GetEmailIdentityResult
GetEmailIdentityResult()
Aws::SESV2::Model::DkimAttributes
Definition: DkimAttributes.h:47
Aws::SESV2::Model::GetEmailIdentityResult::WithPolicies
GetEmailIdentityResult & WithPolicies(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetEmailIdentityResult.h:222
AWSString.h
Aws::SESV2::Model::GetEmailIdentityResult::WithPolicies
GetEmailIdentityResult & WithPolicies(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetEmailIdentityResult.h:227
Aws::SESV2::Model::GetEmailIdentityResult::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: GetEmailIdentityResult.h:62
SESV2_EXPORTS.h
Aws::SESV2::Model::GetEmailIdentityResult::GetDkimAttributes
const DkimAttributes & GetDkimAttributes() const
Definition: GetEmailIdentityResult.h:146
Aws::SESV2::Model::GetEmailIdentityResult::WithTags
GetEmailIdentityResult & WithTags(Aws::Vector< Tag > &&value)
Definition: GetEmailIdentityResult.h:293
Aws::SESV2::Model::GetEmailIdentityResult::WithVerifiedForSendingStatus
GetEmailIdentityResult & WithVerifiedForSendingStatus(bool value)
Definition: GetEmailIdentityResult.h:139
Aws::SESV2::Model::GetEmailIdentityResult::WithIdentityType
GetEmailIdentityResult & WithIdentityType(const IdentityType &value)
Definition: GetEmailIdentityResult.h:68
Aws::SESV2::Model::GetEmailIdentityResult::GetFeedbackForwardingStatus
bool GetFeedbackForwardingStatus() const
Definition: GetEmailIdentityResult.h:87
Aws::SESV2::Model::GetEmailIdentityResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: GetEmailIdentityResult.h:269
Aws::SESV2::Model::GetEmailIdentityResult::WithDkimAttributes
GetEmailIdentityResult & WithDkimAttributes(const DkimAttributes &value)
Definition: GetEmailIdentityResult.h:164
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::GetEmailIdentityResult
Definition: GetEmailIdentityResult.h:39
Aws::SESV2::Model::GetEmailIdentityResult::WithConfigurationSetName
GetEmailIdentityResult & WithConfigurationSetName(const Aws::String &value)
Definition: GetEmailIdentityResult.h:331
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(const char *key, Aws::String &&value)
Definition: GetEmailIdentityResult.h:252
Aws::SESV2::Model::GetEmailIdentityResult::operator=
GetEmailIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Tag
Definition: Tag.h:53
Aws::SESV2::Model::GetEmailIdentityResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: GetEmailIdentityResult.h:281
Aws::SESV2::Model::GetEmailIdentityResult::SetDkimAttributes
void SetDkimAttributes(DkimAttributes &&value)
Definition: GetEmailIdentityResult.h:158
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(const char *key, const char *value)
Definition: GetEmailIdentityResult.h:262
Aws::SESV2::Model::GetEmailIdentityResult::WithFeedbackForwardingStatus
GetEmailIdentityResult & WithFeedbackForwardingStatus(bool value)
Definition: GetEmailIdentityResult.h:111
Aws::SESV2::Model::GetEmailIdentityResult::WithMailFromAttributes
GetEmailIdentityResult & WithMailFromAttributes(MailFromAttributes &&value)
Definition: GetEmailIdentityResult.h:201
Aws::SESV2::Model::GetEmailIdentityResult::AddPolicies
GetEmailIdentityResult & AddPolicies(const Aws::String &key, Aws::String &&value)
Definition: GetEmailIdentityResult.h:242
Aws::SESV2::Model::GetEmailIdentityResult::GetMailFromAttributes
const MailFromAttributes & GetMailFromAttributes() const
Definition: GetEmailIdentityResult.h:177
AWSMap.h
Aws::SESV2::Model::GetEmailIdentityResult::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: GetEmailIdentityResult.h:311
Aws::SESV2::Model::GetEmailIdentityResult::WithIdentityType
GetEmailIdentityResult & WithIdentityType(IdentityType &&value)
Definition: GetEmailIdentityResult.h:74
Aws::SESV2::Model::GetEmailIdentityResult::SetPolicies
void SetPolicies(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetEmailIdentityResult.h:212
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19