AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
44
45
47
50 inline IdentityType GetIdentityType() const { return m_identityType; }
51 inline void SetIdentityType(IdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
54
56
63 inline bool GetVerifiedForSendingStatus() const { return m_verifiedForSendingStatus; }
64 inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatusHasBeenSet = true; m_verifiedForSendingStatus = value; }
67
69
74 inline const DkimAttributes& GetDkimAttributes() const { return m_dkimAttributes; }
75 template<typename DkimAttributesT = DkimAttributes>
76 void SetDkimAttributes(DkimAttributesT&& value) { m_dkimAttributesHasBeenSet = true; m_dkimAttributes = std::forward<DkimAttributesT>(value); }
77 template<typename DkimAttributesT = DkimAttributes>
78 CreateEmailIdentityResult& WithDkimAttributes(DkimAttributesT&& value) { SetDkimAttributes(std::forward<DkimAttributesT>(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 CreateEmailIdentityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 IdentityType m_identityType{IdentityType::NOT_SET};
92 bool m_identityTypeHasBeenSet = false;
93
94 bool m_verifiedForSendingStatus{false};
95 bool m_verifiedForSendingStatusHasBeenSet = false;
96
97 DkimAttributes m_dkimAttributes;
98 bool m_dkimAttributesHasBeenSet = false;
99
100 Aws::String m_requestId;
101 bool m_requestIdHasBeenSet = false;
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 & 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