AWS SDK for C++  1.8.129
AWS SDK for C++
SetIdentityNotificationTopicRequest.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 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "SetIdentityNotificationTopic"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  protected:
44  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45 
46  public:
47 
56  inline const Aws::String& GetIdentity() const{ return m_identity; }
57 
66  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
67 
76  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
77 
86  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
87 
96  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
97 
106  inline SetIdentityNotificationTopicRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
107 
116  inline SetIdentityNotificationTopicRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
117 
126  inline SetIdentityNotificationTopicRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
127 
128 
133  inline const NotificationType& GetNotificationType() const{ return m_notificationType; }
134 
139  inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
140 
145  inline void SetNotificationType(const NotificationType& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
146 
151  inline void SetNotificationType(NotificationType&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = std::move(value); }
152 
157  inline SetIdentityNotificationTopicRequest& WithNotificationType(const NotificationType& value) { SetNotificationType(value); return *this;}
158 
163  inline SetIdentityNotificationTopicRequest& WithNotificationType(NotificationType&& value) { SetNotificationType(std::move(value)); return *this;}
164 
165 
171  inline const Aws::String& GetSnsTopic() const{ return m_snsTopic; }
172 
178  inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
179 
185  inline void SetSnsTopic(const Aws::String& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
186 
192  inline void SetSnsTopic(Aws::String&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::move(value); }
193 
199  inline void SetSnsTopic(const char* value) { m_snsTopicHasBeenSet = true; m_snsTopic.assign(value); }
200 
206  inline SetIdentityNotificationTopicRequest& WithSnsTopic(const Aws::String& value) { SetSnsTopic(value); return *this;}
207 
213  inline SetIdentityNotificationTopicRequest& WithSnsTopic(Aws::String&& value) { SetSnsTopic(std::move(value)); return *this;}
214 
220  inline SetIdentityNotificationTopicRequest& WithSnsTopic(const char* value) { SetSnsTopic(value); return *this;}
221 
222  private:
223 
224  Aws::String m_identity;
225  bool m_identityHasBeenSet;
226 
227  NotificationType m_notificationType;
228  bool m_notificationTypeHasBeenSet;
229 
230  Aws::String m_snsTopic;
231  bool m_snsTopicHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace SES
236 } // namespace Aws
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetIdentity
void SetIdentity(const char *value)
Definition: SetIdentityNotificationTopicRequest.h:96
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetSnsTopic
void SetSnsTopic(const char *value)
Definition: SetIdentityNotificationTopicRequest.h:199
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SetIdentityNotificationTopicRequest::GetNotificationType
const NotificationType & GetNotificationType() const
Definition: SetIdentityNotificationTopicRequest.h:133
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithSnsTopic
SetIdentityNotificationTopicRequest & WithSnsTopic(const char *value)
Definition: SetIdentityNotificationTopicRequest.h:220
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithIdentity
SetIdentityNotificationTopicRequest & WithIdentity(const Aws::String &value)
Definition: SetIdentityNotificationTopicRequest.h:106
Aws::SES::Model::SetIdentityNotificationTopicRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetNotificationType
void SetNotificationType(const NotificationType &value)
Definition: SetIdentityNotificationTopicRequest.h:145
Aws::SES::Model::SetIdentityNotificationTopicRequest::NotificationTypeHasBeenSet
bool NotificationTypeHasBeenSet() const
Definition: SetIdentityNotificationTopicRequest.h:139
NotificationType.h
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithSnsTopic
SetIdentityNotificationTopicRequest & WithSnsTopic(Aws::String &&value)
Definition: SetIdentityNotificationTopicRequest.h:213
Aws::SES::Model::NotificationType
NotificationType
Definition: NotificationType.h:17
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithIdentity
SetIdentityNotificationTopicRequest & WithIdentity(const char *value)
Definition: SetIdentityNotificationTopicRequest.h:126
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithSnsTopic
SetIdentityNotificationTopicRequest & WithSnsTopic(const Aws::String &value)
Definition: SetIdentityNotificationTopicRequest.h:206
Aws::SES::Model::SetIdentityNotificationTopicRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: SetIdentityNotificationTopicRequest.h:56
Aws::SES::Model::SetIdentityNotificationTopicRequest::GetSnsTopic
const Aws::String & GetSnsTopic() const
Definition: SetIdentityNotificationTopicRequest.h:171
Aws::SES::Model::SetIdentityNotificationTopicRequest::SnsTopicHasBeenSet
bool SnsTopicHasBeenSet() const
Definition: SetIdentityNotificationTopicRequest.h:178
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetSnsTopic
void SetSnsTopic(Aws::String &&value)
Definition: SetIdentityNotificationTopicRequest.h:192
SESRequest.h
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetNotificationType
void SetNotificationType(NotificationType &&value)
Definition: SetIdentityNotificationTopicRequest.h:151
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::SetIdentityNotificationTopicRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: SetIdentityNotificationTopicRequest.h:66
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithNotificationType
SetIdentityNotificationTopicRequest & WithNotificationType(const NotificationType &value)
Definition: SetIdentityNotificationTopicRequest.h:157
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: SetIdentityNotificationTopicRequest.h:86
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithIdentity
SetIdentityNotificationTopicRequest & WithIdentity(Aws::String &&value)
Definition: SetIdentityNotificationTopicRequest.h:116
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetIdentityNotificationTopicRequest
SetIdentityNotificationTopicRequest()
Aws::SES::Model::SetIdentityNotificationTopicRequest::WithNotificationType
SetIdentityNotificationTopicRequest & WithNotificationType(NotificationType &&value)
Definition: SetIdentityNotificationTopicRequest.h:163
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SetIdentityNotificationTopicRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::SetIdentityNotificationTopicRequest
Definition: SetIdentityNotificationTopicRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetSnsTopic
void SetSnsTopic(const Aws::String &value)
Definition: SetIdentityNotificationTopicRequest.h:185
Aws::SES::Model::SetIdentityNotificationTopicRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: SetIdentityNotificationTopicRequest.h:76
Aws::SES::Model::SetIdentityNotificationTopicRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetIdentityNotificationTopicRequest.h:39