AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateEmailIdentityResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9#include <aws/pinpoint-email/model/DkimAttributes.h>
10#include <aws/pinpoint-email/model/IdentityType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PinpointEmail {
24namespace Model {
35 public:
36 AWS_PINPOINTEMAIL_API CreateEmailIdentityResult() = default;
39
41
44 inline IdentityType GetIdentityType() const { return m_identityType; }
45 inline void SetIdentityType(IdentityType value) {
46 m_identityTypeHasBeenSet = true;
47 m_identityType = value;
48 }
50 SetIdentityType(value);
51 return *this;
52 }
54
56
63 inline bool GetVerifiedForSendingStatus() const { return m_verifiedForSendingStatus; }
64 inline void SetVerifiedForSendingStatus(bool value) {
65 m_verifiedForSendingStatusHasBeenSet = true;
66 m_verifiedForSendingStatus = value;
67 }
70 return *this;
71 }
73
75
80 inline const DkimAttributes& GetDkimAttributes() const { return m_dkimAttributes; }
81 template <typename DkimAttributesT = DkimAttributes>
82 void SetDkimAttributes(DkimAttributesT&& value) {
83 m_dkimAttributesHasBeenSet = true;
84 m_dkimAttributes = std::forward<DkimAttributesT>(value);
85 }
86 template <typename DkimAttributesT = DkimAttributes>
88 SetDkimAttributes(std::forward<DkimAttributesT>(value));
89 return *this;
90 }
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template <typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) {
98 m_requestIdHasBeenSet = true;
99 m_requestId = std::forward<RequestIdT>(value);
100 }
101 template <typename RequestIdT = Aws::String>
103 SetRequestId(std::forward<RequestIdT>(value));
104 return *this;
105 }
107 private:
108 IdentityType m_identityType{IdentityType::NOT_SET};
109
110 bool m_verifiedForSendingStatus{false};
111
112 DkimAttributes m_dkimAttributes;
113
114 Aws::String m_requestId;
115 bool m_identityTypeHasBeenSet = false;
116 bool m_verifiedForSendingStatusHasBeenSet = false;
117 bool m_dkimAttributesHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace PinpointEmail
123} // 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