AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DeregisterNotificationHubResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10#include <aws/notifications/model/NotificationHubStatusSummary.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Notifications {
24namespace Model {
26 public:
27 AWS_NOTIFICATIONS_API DeregisterNotificationHubResult() = default;
30
32
35 inline const Aws::String& GetNotificationHubRegion() const { return m_notificationHubRegion; }
36 template <typename NotificationHubRegionT = Aws::String>
37 void SetNotificationHubRegion(NotificationHubRegionT&& value) {
38 m_notificationHubRegionHasBeenSet = true;
39 m_notificationHubRegion = std::forward<NotificationHubRegionT>(value);
40 }
41 template <typename NotificationHubRegionT = Aws::String>
43 SetNotificationHubRegion(std::forward<NotificationHubRegionT>(value));
44 return *this;
45 }
47
49
52 inline const NotificationHubStatusSummary& GetStatusSummary() const { return m_statusSummary; }
53 template <typename StatusSummaryT = NotificationHubStatusSummary>
54 void SetStatusSummary(StatusSummaryT&& value) {
55 m_statusSummaryHasBeenSet = true;
56 m_statusSummary = std::forward<StatusSummaryT>(value);
57 }
58 template <typename StatusSummaryT = NotificationHubStatusSummary>
60 SetStatusSummary(std::forward<StatusSummaryT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_notificationHubRegion;
83
84 NotificationHubStatusSummary m_statusSummary;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_notificationHubRegionHasBeenSet = false;
89 bool m_statusSummaryHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Notifications
95} // namespace Aws
AWS_NOTIFICATIONS_API DeregisterNotificationHubResult()=default
AWS_NOTIFICATIONS_API DeregisterNotificationHubResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API DeregisterNotificationHubResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeregisterNotificationHubResult & WithStatusSummary(StatusSummaryT &&value)
DeregisterNotificationHubResult & WithNotificationHubRegion(NotificationHubRegionT &&value)
DeregisterNotificationHubResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue