AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetIdentityNotificationTopicRequest.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/NotificationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace 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_SES_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45
46 public:
47
49
57 inline const Aws::String& GetIdentity() const{ return m_identity; }
58 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
59 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
60 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
61 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
62 inline SetIdentityNotificationTopicRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
63 inline SetIdentityNotificationTopicRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
64 inline SetIdentityNotificationTopicRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
66
68
72 inline const NotificationType& GetNotificationType() const{ return m_notificationType; }
73 inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
74 inline void SetNotificationType(const NotificationType& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
75 inline void SetNotificationType(NotificationType&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = std::move(value); }
79
81
86 inline const Aws::String& GetSnsTopic() const{ return m_snsTopic; }
87 inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
88 inline void SetSnsTopic(const Aws::String& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
89 inline void SetSnsTopic(Aws::String&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::move(value); }
90 inline void SetSnsTopic(const char* value) { m_snsTopicHasBeenSet = true; m_snsTopic.assign(value); }
91 inline SetIdentityNotificationTopicRequest& WithSnsTopic(const Aws::String& value) { SetSnsTopic(value); return *this;}
92 inline SetIdentityNotificationTopicRequest& WithSnsTopic(Aws::String&& value) { SetSnsTopic(std::move(value)); return *this;}
93 inline SetIdentityNotificationTopicRequest& WithSnsTopic(const char* value) { SetSnsTopic(value); return *this;}
95 private:
96
97 Aws::String m_identity;
98 bool m_identityHasBeenSet = false;
99
100 NotificationType m_notificationType;
101 bool m_notificationTypeHasBeenSet = false;
102
103 Aws::String m_snsTopic;
104 bool m_snsTopicHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SES
109} // namespace Aws
SetIdentityNotificationTopicRequest & WithIdentity(Aws::String &&value)
SetIdentityNotificationTopicRequest & WithIdentity(const Aws::String &value)
AWS_SES_API Aws::String SerializePayload() const override
SetIdentityNotificationTopicRequest & WithNotificationType(const NotificationType &value)
SetIdentityNotificationTopicRequest & WithIdentity(const char *value)
SetIdentityNotificationTopicRequest & WithSnsTopic(Aws::String &&value)
SetIdentityNotificationTopicRequest & WithSnsTopic(const Aws::String &value)
SetIdentityNotificationTopicRequest & WithNotificationType(NotificationType &&value)
SetIdentityNotificationTopicRequest & WithSnsTopic(const char *value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String