AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AssociateEmailIdentityCertificateRequest.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 "AssociateEmailIdentityCertificate"; }
32
33 AWS_SESV2_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetEmailIdentity() const { return m_emailIdentity; }
41 inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
42 template <typename EmailIdentityT = Aws::String>
43 void SetEmailIdentity(EmailIdentityT&& value) {
44 m_emailIdentityHasBeenSet = true;
45 m_emailIdentity = std::forward<EmailIdentityT>(value);
46 }
47 template <typename EmailIdentityT = Aws::String>
49 SetEmailIdentity(std::forward<EmailIdentityT>(value));
50 return *this;
51 }
53
55
62 inline const Aws::String& GetFromAddress() const { return m_fromAddress; }
63 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
64 template <typename FromAddressT = Aws::String>
65 void SetFromAddress(FromAddressT&& value) {
66 m_fromAddressHasBeenSet = true;
67 m_fromAddress = std::forward<FromAddressT>(value);
68 }
69 template <typename FromAddressT = Aws::String>
71 SetFromAddress(std::forward<FromAddressT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
82 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
83 template <typename CertificateArnT = Aws::String>
84 void SetCertificateArn(CertificateArnT&& value) {
85 m_certificateArnHasBeenSet = true;
86 m_certificateArn = std::forward<CertificateArnT>(value);
87 }
88 template <typename CertificateArnT = Aws::String>
90 SetCertificateArn(std::forward<CertificateArnT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_emailIdentity;
96
97 Aws::String m_fromAddress;
98
99 Aws::String m_certificateArn;
100 bool m_emailIdentityHasBeenSet = false;
101 bool m_fromAddressHasBeenSet = false;
102 bool m_certificateArnHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SESV2
107} // namespace Aws
AssociateEmailIdentityCertificateRequest & WithFromAddress(FromAddressT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
AssociateEmailIdentityCertificateRequest & WithEmailIdentity(EmailIdentityT &&value)
AssociateEmailIdentityCertificateRequest & WithCertificateArn(CertificateArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String