AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEmailIdentityResult.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PinpointEmail
26{
27namespace Model
28{
39 {
40 public:
41 AWS_PINPOINTEMAIL_API CreateEmailIdentityResult();
44
45
47
50 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
51 inline void SetIdentityType(const IdentityType& value) { m_identityType = value; }
52 inline void SetIdentityType(IdentityType&& value) { m_identityType = std::move(value); }
53 inline CreateEmailIdentityResult& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
54 inline CreateEmailIdentityResult& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
56
58
65 inline bool GetVerifiedForSendingStatus() const{ return m_verifiedForSendingStatus; }
66 inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatus = value; }
69
71
76 inline const DkimAttributes& GetDkimAttributes() const{ return m_dkimAttributes; }
77 inline void SetDkimAttributes(const DkimAttributes& value) { m_dkimAttributes = value; }
78 inline void SetDkimAttributes(DkimAttributes&& value) { m_dkimAttributes = std::move(value); }
80 inline CreateEmailIdentityResult& WithDkimAttributes(DkimAttributes&& value) { SetDkimAttributes(std::move(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline CreateEmailIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline CreateEmailIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline CreateEmailIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 IdentityType m_identityType;
96
97 bool m_verifiedForSendingStatus;
98
99 DkimAttributes m_dkimAttributes;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace PinpointEmail
106} // namespace Aws
AWS_PINPOINTEMAIL_API CreateEmailIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEmailIdentityResult & WithDkimAttributes(DkimAttributes &&value)
AWS_PINPOINTEMAIL_API CreateEmailIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEmailIdentityResult & WithRequestId(const Aws::String &value)
CreateEmailIdentityResult & WithIdentityType(const IdentityType &value)
CreateEmailIdentityResult & WithRequestId(const char *value)
CreateEmailIdentityResult & WithDkimAttributes(const DkimAttributes &value)
CreateEmailIdentityResult & WithIdentityType(IdentityType &&value)
CreateEmailIdentityResult & WithRequestId(Aws::String &&value)
CreateEmailIdentityResult & WithVerifiedForSendingStatus(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue