AWS SDK for C++

AWS SDK for C++ Version 1.11.709

Loading...
Searching...
No Matches
GetManagedNotificationEventRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10#include <aws/notifications/model/LocaleCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Notifications {
19namespace Model {
20
24 public:
25 AWS_NOTIFICATIONS_API GetManagedNotificationEventRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetManagedNotificationEvent"; }
32
33 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
34
35 AWS_NOTIFICATIONS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
62 inline LocaleCode GetLocale() const { return m_locale; }
63 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
64 inline void SetLocale(LocaleCode value) {
65 m_localeHasBeenSet = true;
66 m_locale = value;
67 }
69 SetLocale(value);
70 return *this;
71 }
73 private:
74 Aws::String m_arn;
75
77 bool m_arnHasBeenSet = false;
78 bool m_localeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Notifications
83} // namespace Aws
AWS_NOTIFICATIONS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_NOTIFICATIONS_API GetManagedNotificationEventRequest()=default
GetManagedNotificationEventRequest & WithLocale(LocaleCode value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String