AWS SDK for C++  1.9.159
AWS SDK for C++
PutEmailIdentityDkimSigningAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SESV2
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "PutEmailIdentityDkimSigningAttributes"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; }
45 
49  inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
50 
54  inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
55 
59  inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
60 
64  inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
65 
69  inline PutEmailIdentityDkimSigningAttributesRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
70 
74  inline PutEmailIdentityDkimSigningAttributesRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
75 
79  inline PutEmailIdentityDkimSigningAttributesRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
80 
81 
90  inline const DkimSigningAttributesOrigin& GetSigningAttributesOrigin() const{ return m_signingAttributesOrigin; }
91 
100  inline bool SigningAttributesOriginHasBeenSet() const { return m_signingAttributesOriginHasBeenSet; }
101 
110  inline void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = value; }
111 
120  inline void SetSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = std::move(value); }
121 
130  inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { SetSigningAttributesOrigin(value); return *this;}
131 
140  inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { SetSigningAttributesOrigin(std::move(value)); return *this;}
141 
142 
150  inline const DkimSigningAttributes& GetSigningAttributes() const{ return m_signingAttributes; }
151 
159  inline bool SigningAttributesHasBeenSet() const { return m_signingAttributesHasBeenSet; }
160 
168  inline void SetSigningAttributes(const DkimSigningAttributes& value) { m_signingAttributesHasBeenSet = true; m_signingAttributes = value; }
169 
177  inline void SetSigningAttributes(DkimSigningAttributes&& value) { m_signingAttributesHasBeenSet = true; m_signingAttributes = std::move(value); }
178 
186  inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributes(const DkimSigningAttributes& value) { SetSigningAttributes(value); return *this;}
187 
195  inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributes(DkimSigningAttributes&& value) { SetSigningAttributes(std::move(value)); return *this;}
196 
197  private:
198 
199  Aws::String m_emailIdentity;
200  bool m_emailIdentityHasBeenSet;
201 
202  DkimSigningAttributesOrigin m_signingAttributesOrigin;
203  bool m_signingAttributesOriginHasBeenSet;
204 
205  DkimSigningAttributes m_signingAttributes;
206  bool m_signingAttributesHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace SESV2
211 } // namespace Aws
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetSigningAttributes
void SetSigningAttributes(const DkimSigningAttributes &value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:168
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SigningAttributesOriginHasBeenSet
bool SigningAttributesOriginHasBeenSet() const
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:100
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::GetSigningAttributesOrigin
const DkimSigningAttributesOrigin & GetSigningAttributesOrigin() const
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:90
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:28
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetEmailIdentity
void SetEmailIdentity(Aws::String &&value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:59
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithSigningAttributesOrigin
PutEmailIdentityDkimSigningAttributesRequest & WithSigningAttributesOrigin(const DkimSigningAttributesOrigin &value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:130
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithSigningAttributesOrigin
PutEmailIdentityDkimSigningAttributesRequest & WithSigningAttributesOrigin(DkimSigningAttributesOrigin &&value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:140
DkimSigningAttributes.h
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithEmailIdentity
PutEmailIdentityDkimSigningAttributesRequest & WithEmailIdentity(Aws::String &&value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:74
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SigningAttributesHasBeenSet
bool SigningAttributesHasBeenSet() const
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:159
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:36
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::GetEmailIdentity
const Aws::String & GetEmailIdentity() const
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:44
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::PutEmailIdentityDkimSigningAttributesRequest
PutEmailIdentityDkimSigningAttributesRequest()
Aws::SESV2::Model::DkimSigningAttributes
Definition: DkimSigningAttributes.h:34
DkimSigningAttributesOrigin.h
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithEmailIdentity
PutEmailIdentityDkimSigningAttributesRequest & WithEmailIdentity(const char *value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:79
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::GetSigningAttributes
const DkimSigningAttributes & GetSigningAttributes() const
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:150
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetSigningAttributesOrigin
void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin &value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:110
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithSigningAttributes
PutEmailIdentityDkimSigningAttributesRequest & WithSigningAttributes(const DkimSigningAttributes &value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:186
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetEmailIdentity
void SetEmailIdentity(const Aws::String &value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:54
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetEmailIdentity
void SetEmailIdentity(const char *value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:64
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::EmailIdentityHasBeenSet
bool EmailIdentityHasBeenSet() const
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:49
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithSigningAttributes
PutEmailIdentityDkimSigningAttributesRequest & WithSigningAttributes(DkimSigningAttributes &&value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:195
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::WithEmailIdentity
PutEmailIdentityDkimSigningAttributesRequest & WithEmailIdentity(const Aws::String &value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:69
Aws::SESV2::Model::DkimSigningAttributesOrigin
DkimSigningAttributesOrigin
Definition: DkimSigningAttributesOrigin.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetSigningAttributesOrigin
void SetSigningAttributesOrigin(DkimSigningAttributesOrigin &&value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:120
SESV2Request.h
Aws::SESV2::Model::PutEmailIdentityDkimSigningAttributesRequest::SetSigningAttributes
void SetSigningAttributes(DkimSigningAttributes &&value)
Definition: PutEmailIdentityDkimSigningAttributesRequest.h:177