AWS SDK for C++  1.8.129
AWS SDK for C++
SetIdentityHeadersInNotificationsEnabledRequest.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 "SetIdentityHeadersInNotificationsEnabled"; }
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 SetIdentityHeadersInNotificationsEnabledRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
82 
87  inline SetIdentityHeadersInNotificationsEnabledRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
88 
93  inline SetIdentityHeadersInNotificationsEnabledRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
94 
95 
100  inline const NotificationType& GetNotificationType() const{ return m_notificationType; }
101 
106  inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
107 
112  inline void SetNotificationType(const NotificationType& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
113 
118  inline void SetNotificationType(NotificationType&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = std::move(value); }
119 
124  inline SetIdentityHeadersInNotificationsEnabledRequest& WithNotificationType(const NotificationType& value) { SetNotificationType(value); return *this;}
125 
130  inline SetIdentityHeadersInNotificationsEnabledRequest& WithNotificationType(NotificationType&& value) { SetNotificationType(std::move(value)); return *this;}
131 
132 
142  inline bool GetEnabled() const{ return m_enabled; }
143 
153  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
154 
164  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
165 
175  inline SetIdentityHeadersInNotificationsEnabledRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
176 
177  private:
178 
179  Aws::String m_identity;
180  bool m_identityHasBeenSet;
181 
182  NotificationType m_notificationType;
183  bool m_notificationTypeHasBeenSet;
184 
185  bool m_enabled;
186  bool m_enabledHasBeenSet;
187  };
188 
189 } // namespace Model
190 } // namespace SES
191 } // namespace Aws
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::WithIdentity
SetIdentityHeadersInNotificationsEnabledRequest & WithIdentity(Aws::String &&value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:87
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SetIdentityHeadersInNotificationsEnabledRequest
SetIdentityHeadersInNotificationsEnabledRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:63
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SetIdentity
void SetIdentity(const char *value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:75
NotificationType.h
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SetNotificationType
void SetNotificationType(const NotificationType &value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:112
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::GetNotificationType
const NotificationType & GetNotificationType() const
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:100
Aws::SES::Model::NotificationType
NotificationType
Definition: NotificationType.h:17
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:153
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::NotificationTypeHasBeenSet
bool NotificationTypeHasBeenSet() const
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:106
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::WithIdentity
SetIdentityHeadersInNotificationsEnabledRequest & WithIdentity(const Aws::String &value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:81
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::WithNotificationType
SetIdentityHeadersInNotificationsEnabledRequest & WithNotificationType(NotificationType &&value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:130
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:30
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:51
SESRequest.h
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::GetEnabled
bool GetEnabled() const
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:142
AWSString.h
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:57
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SetEnabled
void SetEnabled(bool value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:164
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::SetIdentityHeadersInNotificationsEnabledRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:69
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::WithEnabled
SetIdentityHeadersInNotificationsEnabledRequest & WithEnabled(bool value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:175
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::SetNotificationType
void SetNotificationType(NotificationType &&value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:38
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::WithNotificationType
SetIdentityHeadersInNotificationsEnabledRequest & WithNotificationType(const NotificationType &value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:124
Aws::SES::Model::SetIdentityHeadersInNotificationsEnabledRequest::WithIdentity
SetIdentityHeadersInNotificationsEnabledRequest & WithIdentity(const char *value)
Definition: SetIdentityHeadersInNotificationsEnabledRequest.h:93