AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateEmailIdentityResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10#include <aws/pinpoint-email/model/DkimAttributes.h>
11#include <aws/pinpoint-email/model/IdentityType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace PinpointEmail {
25namespace Model {
36 public:
37 AWS_PINPOINTEMAIL_API CreateEmailIdentityResult() = default;
40
42
45 inline IdentityType GetIdentityType() const { return m_identityType; }
46 inline void SetIdentityType(IdentityType value) {
47 m_identityTypeHasBeenSet = true;
48 m_identityType = value;
49 }
51 SetIdentityType(value);
52 return *this;
53 }
55
57
64 inline bool GetVerifiedForSendingStatus() const { return m_verifiedForSendingStatus; }
65 inline void SetVerifiedForSendingStatus(bool value) {
66 m_verifiedForSendingStatusHasBeenSet = true;
67 m_verifiedForSendingStatus = value;
68 }
71 return *this;
72 }
74
76
81 inline const DkimAttributes& GetDkimAttributes() const { return m_dkimAttributes; }
82 template <typename DkimAttributesT = DkimAttributes>
83 void SetDkimAttributes(DkimAttributesT&& value) {
84 m_dkimAttributesHasBeenSet = true;
85 m_dkimAttributes = std::forward<DkimAttributesT>(value);
86 }
87 template <typename DkimAttributesT = DkimAttributes>
89 SetDkimAttributes(std::forward<DkimAttributesT>(value));
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
109
110 private:
111 IdentityType m_identityType{IdentityType::NOT_SET};
112
113 bool m_verifiedForSendingStatus{false};
114
115 DkimAttributes m_dkimAttributes;
116
117 Aws::String m_requestId;
118 Aws::Http::HttpResponseCode m_HttpResponseCode;
119 bool m_identityTypeHasBeenSet = false;
120 bool m_verifiedForSendingStatusHasBeenSet = false;
121 bool m_dkimAttributesHasBeenSet = false;
122 bool m_requestIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace PinpointEmail
127} // namespace Aws
AWS_PINPOINTEMAIL_API CreateEmailIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEmailIdentityResult & WithRequestId(RequestIdT &&value)
AWS_PINPOINTEMAIL_API CreateEmailIdentityResult()=default
AWS_PINPOINTEMAIL_API CreateEmailIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEmailIdentityResult & WithDkimAttributes(DkimAttributesT &&value)
CreateEmailIdentityResult & WithIdentityType(IdentityType value)
CreateEmailIdentityResult & WithVerifiedForSendingStatus(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue