AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DisassociateEmailIdentityCertificateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SESV2 {
15namespace Model {
16
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateEmailIdentityCertificate"; }
32
33 AWS_SESV2_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetEmailIdentity() const { return m_emailIdentity; }
40 inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
41 template <typename EmailIdentityT = Aws::String>
42 void SetEmailIdentity(EmailIdentityT&& value) {
43 m_emailIdentityHasBeenSet = true;
44 m_emailIdentity = std::forward<EmailIdentityT>(value);
45 }
46 template <typename EmailIdentityT = Aws::String>
48 SetEmailIdentity(std::forward<EmailIdentityT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetFromAddress() const { return m_fromAddress; }
60 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
61 template <typename FromAddressT = Aws::String>
62 void SetFromAddress(FromAddressT&& value) {
63 m_fromAddressHasBeenSet = true;
64 m_fromAddress = std::forward<FromAddressT>(value);
65 }
66 template <typename FromAddressT = Aws::String>
68 SetFromAddress(std::forward<FromAddressT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_emailIdentity;
74
75 Aws::String m_fromAddress;
76 bool m_emailIdentityHasBeenSet = false;
77 bool m_fromAddressHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SESV2
82} // namespace Aws
DisassociateEmailIdentityCertificateRequest & WithEmailIdentity(EmailIdentityT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
DisassociateEmailIdentityCertificateRequest & WithFromAddress(FromAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String