AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetIdentityMailFromDomainRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/BehaviorOnMXFailure.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace 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_SES_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44
45 public:
46
48
51 inline const Aws::String& GetIdentity() const{ return m_identity; }
52 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
53 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
54 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
55 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
56 inline SetIdentityMailFromDomainRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
57 inline SetIdentityMailFromDomainRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
58 inline SetIdentityMailFromDomainRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
60
62
71 inline const Aws::String& GetMailFromDomain() const{ return m_mailFromDomain; }
72 inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
73 inline void SetMailFromDomain(const Aws::String& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = value; }
74 inline void SetMailFromDomain(Aws::String&& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = std::move(value); }
75 inline void SetMailFromDomain(const char* value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain.assign(value); }
77 inline SetIdentityMailFromDomainRequest& WithMailFromDomain(Aws::String&& value) { SetMailFromDomain(std::move(value)); return *this;}
78 inline SetIdentityMailFromDomainRequest& WithMailFromDomain(const char* value) { SetMailFromDomain(value); return *this;}
80
82
92 inline const BehaviorOnMXFailure& GetBehaviorOnMXFailure() const{ return m_behaviorOnMXFailure; }
93 inline bool BehaviorOnMXFailureHasBeenSet() const { return m_behaviorOnMXFailureHasBeenSet; }
94 inline void SetBehaviorOnMXFailure(const BehaviorOnMXFailure& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = value; }
95 inline void SetBehaviorOnMXFailure(BehaviorOnMXFailure&& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = std::move(value); }
99 private:
100
101 Aws::String m_identity;
102 bool m_identityHasBeenSet = false;
103
104 Aws::String m_mailFromDomain;
105 bool m_mailFromDomainHasBeenSet = false;
106
107 BehaviorOnMXFailure m_behaviorOnMXFailure;
108 bool m_behaviorOnMXFailureHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SES
113} // namespace Aws
SetIdentityMailFromDomainRequest & WithBehaviorOnMXFailure(BehaviorOnMXFailure &&value)
SetIdentityMailFromDomainRequest & WithMailFromDomain(Aws::String &&value)
SetIdentityMailFromDomainRequest & WithMailFromDomain(const Aws::String &value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SetIdentityMailFromDomainRequest & WithMailFromDomain(const char *value)
SetIdentityMailFromDomainRequest & WithIdentity(Aws::String &&value)
AWS_SES_API Aws::String SerializePayload() const override
SetIdentityMailFromDomainRequest & WithBehaviorOnMXFailure(const BehaviorOnMXFailure &value)
SetIdentityMailFromDomainRequest & WithIdentity(const Aws::String &value)
SetIdentityMailFromDomainRequest & WithIdentity(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String