AWS SDK for C++  1.8.127
AWS SDK for C++
SetIdentityMailFromDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace Model
18 {
19 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "SetIdentityMailFromDomain"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
51  inline const Aws::String& GetIdentity() const{ return m_identity; }
52 
57  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
58 
63  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
64 
69  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
70 
75  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
76 
81  inline SetIdentityMailFromDomainRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
82 
87  inline SetIdentityMailFromDomainRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
88 
93  inline SetIdentityMailFromDomainRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
94 
95 
105  inline const Aws::String& GetMailFromDomain() const{ return m_mailFromDomain; }
106 
116  inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
117 
127  inline void SetMailFromDomain(const Aws::String& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = value; }
128 
138  inline void SetMailFromDomain(Aws::String&& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = std::move(value); }
139 
149  inline void SetMailFromDomain(const char* value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain.assign(value); }
150 
160  inline SetIdentityMailFromDomainRequest& WithMailFromDomain(const Aws::String& value) { SetMailFromDomain(value); return *this;}
161 
171  inline SetIdentityMailFromDomainRequest& WithMailFromDomain(Aws::String&& value) { SetMailFromDomain(std::move(value)); return *this;}
172 
182  inline SetIdentityMailFromDomainRequest& WithMailFromDomain(const char* value) { SetMailFromDomain(value); return *this;}
183 
184 
195  inline const BehaviorOnMXFailure& GetBehaviorOnMXFailure() const{ return m_behaviorOnMXFailure; }
196 
207  inline bool BehaviorOnMXFailureHasBeenSet() const { return m_behaviorOnMXFailureHasBeenSet; }
208 
219  inline void SetBehaviorOnMXFailure(const BehaviorOnMXFailure& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = value; }
220 
231  inline void SetBehaviorOnMXFailure(BehaviorOnMXFailure&& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = std::move(value); }
232 
243  inline SetIdentityMailFromDomainRequest& WithBehaviorOnMXFailure(const BehaviorOnMXFailure& value) { SetBehaviorOnMXFailure(value); return *this;}
244 
255  inline SetIdentityMailFromDomainRequest& WithBehaviorOnMXFailure(BehaviorOnMXFailure&& value) { SetBehaviorOnMXFailure(std::move(value)); return *this;}
256 
257  private:
258 
259  Aws::String m_identity;
260  bool m_identityHasBeenSet;
261 
262  Aws::String m_mailFromDomain;
263  bool m_mailFromDomainHasBeenSet;
264 
265  BehaviorOnMXFailure m_behaviorOnMXFailure;
266  bool m_behaviorOnMXFailureHasBeenSet;
267  };
268 
269 } // namespace Model
270 } // namespace SES
271 } // namespace Aws
Aws::SES::Model::SetIdentityMailFromDomainRequest::MailFromDomainHasBeenSet
bool MailFromDomainHasBeenSet() const
Definition: SetIdentityMailFromDomainRequest.h:116
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SetIdentityMailFromDomainRequest::BehaviorOnMXFailureHasBeenSet
bool BehaviorOnMXFailureHasBeenSet() const
Definition: SetIdentityMailFromDomainRequest.h:207
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetMailFromDomain
void SetMailFromDomain(const Aws::String &value)
Definition: SetIdentityMailFromDomainRequest.h:127
Aws::SES::Model::SetIdentityMailFromDomainRequest
Definition: SetIdentityMailFromDomainRequest.h:30
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetMailFromDomain
void SetMailFromDomain(const char *value)
Definition: SetIdentityMailFromDomainRequest.h:149
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithIdentity
SetIdentityMailFromDomainRequest & WithIdentity(const Aws::String &value)
Definition: SetIdentityMailFromDomainRequest.h:81
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: SetIdentityMailFromDomainRequest.h:69
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithMailFromDomain
SetIdentityMailFromDomainRequest & WithMailFromDomain(const Aws::String &value)
Definition: SetIdentityMailFromDomainRequest.h:160
Aws::SES::Model::SetIdentityMailFromDomainRequest::GetMailFromDomain
const Aws::String & GetMailFromDomain() const
Definition: SetIdentityMailFromDomainRequest.h:105
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithMailFromDomain
SetIdentityMailFromDomainRequest & WithMailFromDomain(Aws::String &&value)
Definition: SetIdentityMailFromDomainRequest.h:171
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetMailFromDomain
void SetMailFromDomain(Aws::String &&value)
Definition: SetIdentityMailFromDomainRequest.h:138
Aws::SES::Model::BehaviorOnMXFailure
BehaviorOnMXFailure
Definition: BehaviorOnMXFailure.h:17
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetBehaviorOnMXFailure
void SetBehaviorOnMXFailure(const BehaviorOnMXFailure &value)
Definition: SetIdentityMailFromDomainRequest.h:219
Aws::SES::Model::SetIdentityMailFromDomainRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: SetIdentityMailFromDomainRequest.h:57
Aws::SES::Model::SetIdentityMailFromDomainRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: SetIdentityMailFromDomainRequest.h:51
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetIdentityMailFromDomainRequest
SetIdentityMailFromDomainRequest()
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetBehaviorOnMXFailure
void SetBehaviorOnMXFailure(BehaviorOnMXFailure &&value)
Definition: SetIdentityMailFromDomainRequest.h:231
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: SetIdentityMailFromDomainRequest.h:63
Aws::SES::Model::SetIdentityMailFromDomainRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
BehaviorOnMXFailure.h
SESRequest.h
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithBehaviorOnMXFailure
SetIdentityMailFromDomainRequest & WithBehaviorOnMXFailure(BehaviorOnMXFailure &&value)
Definition: SetIdentityMailFromDomainRequest.h:255
Aws::SES::Model::SetIdentityMailFromDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetIdentityMailFromDomainRequest.h:38
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithIdentity
SetIdentityMailFromDomainRequest & WithIdentity(Aws::String &&value)
Definition: SetIdentityMailFromDomainRequest.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithBehaviorOnMXFailure
SetIdentityMailFromDomainRequest & WithBehaviorOnMXFailure(const BehaviorOnMXFailure &value)
Definition: SetIdentityMailFromDomainRequest.h:243
Aws::SES::Model::SetIdentityMailFromDomainRequest::GetBehaviorOnMXFailure
const BehaviorOnMXFailure & GetBehaviorOnMXFailure() const
Definition: SetIdentityMailFromDomainRequest.h:195
Aws::SES::Model::SetIdentityMailFromDomainRequest::SetIdentity
void SetIdentity(const char *value)
Definition: SetIdentityMailFromDomainRequest.h:75
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithIdentity
SetIdentityMailFromDomainRequest & WithIdentity(const char *value)
Definition: SetIdentityMailFromDomainRequest.h:93
Aws::SES::Model::SetIdentityMailFromDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::SetIdentityMailFromDomainRequest::WithMailFromDomain
SetIdentityMailFromDomainRequest & WithMailFromDomain(const char *value)
Definition: SetIdentityMailFromDomainRequest.h:182