AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
SetIdentityNotificationTopicRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/NotificationType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SES {
16namespace Model {
17
29 public:
30 AWS_SES_API SetIdentityNotificationTopicRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "SetIdentityNotificationTopic"; }
37
38 AWS_SES_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
42
43 public:
45
53 inline const Aws::String& GetIdentity() const { return m_identity; }
54 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
55 template <typename IdentityT = Aws::String>
56 void SetIdentity(IdentityT&& value) {
57 m_identityHasBeenSet = true;
58 m_identity = std::forward<IdentityT>(value);
59 }
60 template <typename IdentityT = Aws::String>
62 SetIdentity(std::forward<IdentityT>(value));
63 return *this;
64 }
66
68
72 inline NotificationType GetNotificationType() const { return m_notificationType; }
73 inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
75 m_notificationTypeHasBeenSet = true;
76 m_notificationType = value;
77 }
80 return *this;
81 }
83
85
90 inline const Aws::String& GetSnsTopic() const { return m_snsTopic; }
91 inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
92 template <typename SnsTopicT = Aws::String>
93 void SetSnsTopic(SnsTopicT&& value) {
94 m_snsTopicHasBeenSet = true;
95 m_snsTopic = std::forward<SnsTopicT>(value);
96 }
97 template <typename SnsTopicT = Aws::String>
99 SetSnsTopic(std::forward<SnsTopicT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_identity;
105
107
108 Aws::String m_snsTopic;
109 bool m_identityHasBeenSet = false;
110 bool m_notificationTypeHasBeenSet = false;
111 bool m_snsTopicHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace SES
116} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
SetIdentityNotificationTopicRequest & WithNotificationType(NotificationType value)
SetIdentityNotificationTopicRequest & WithIdentity(IdentityT &&value)
SetIdentityNotificationTopicRequest & WithSnsTopic(SnsTopicT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String