AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
33 AWS_SES_API SetIdentityNotificationTopicRequest() = default;
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 template<typename IdentityT = Aws::String>
60 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
61 template<typename IdentityT = Aws::String>
62 SetIdentityNotificationTopicRequest& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
64
66
70 inline NotificationType GetNotificationType() const { return m_notificationType; }
71 inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
72 inline void SetNotificationType(NotificationType value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
75
77
82 inline const Aws::String& GetSnsTopic() const { return m_snsTopic; }
83 inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
84 template<typename SnsTopicT = Aws::String>
85 void SetSnsTopic(SnsTopicT&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::forward<SnsTopicT>(value); }
86 template<typename SnsTopicT = Aws::String>
87 SetIdentityNotificationTopicRequest& WithSnsTopic(SnsTopicT&& value) { SetSnsTopic(std::forward<SnsTopicT>(value)); return *this;}
89 private:
90
91 Aws::String m_identity;
92 bool m_identityHasBeenSet = false;
93
95 bool m_notificationTypeHasBeenSet = false;
96
97 Aws::String m_snsTopic;
98 bool m_snsTopicHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SES
103} // 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