AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RegisterNotificationHubResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/notifications/Notifications_EXPORTS.h>
11#include <aws/notifications/model/NotificationHubStatusSummary.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Notifications {
25namespace Model {
27 public:
28 AWS_NOTIFICATIONS_API RegisterNotificationHubResult() = default;
31
33
36 inline const Aws::String& GetNotificationHubRegion() const { return m_notificationHubRegion; }
37 template <typename NotificationHubRegionT = Aws::String>
38 void SetNotificationHubRegion(NotificationHubRegionT&& value) {
39 m_notificationHubRegionHasBeenSet = true;
40 m_notificationHubRegion = std::forward<NotificationHubRegionT>(value);
41 }
42 template <typename NotificationHubRegionT = Aws::String>
44 SetNotificationHubRegion(std::forward<NotificationHubRegionT>(value));
45 return *this;
46 }
48
50
54 inline const NotificationHubStatusSummary& GetStatusSummary() const { return m_statusSummary; }
55 template <typename StatusSummaryT = NotificationHubStatusSummary>
56 void SetStatusSummary(StatusSummaryT&& value) {
57 m_statusSummaryHasBeenSet = true;
58 m_statusSummary = std::forward<StatusSummaryT>(value);
59 }
60 template <typename StatusSummaryT = NotificationHubStatusSummary>
62 SetStatusSummary(std::forward<StatusSummaryT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 template <typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) {
74 m_creationTimeHasBeenSet = true;
75 m_creationTime = std::forward<CreationTimeT>(value);
76 }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
79 SetCreationTime(std::forward<CreationTimeT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetLastActivationTime() const { return m_lastActivationTime; }
89 template <typename LastActivationTimeT = Aws::Utils::DateTime>
90 void SetLastActivationTime(LastActivationTimeT&& value) {
91 m_lastActivationTimeHasBeenSet = true;
92 m_lastActivationTime = std::forward<LastActivationTimeT>(value);
93 }
94 template <typename LastActivationTimeT = Aws::Utils::DateTime>
96 SetLastActivationTime(std::forward<LastActivationTimeT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_notificationHubRegion;
119
120 NotificationHubStatusSummary m_statusSummary;
121
122 Aws::Utils::DateTime m_creationTime{};
123
124 Aws::Utils::DateTime m_lastActivationTime{};
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_notificationHubRegionHasBeenSet = false;
129 bool m_statusSummaryHasBeenSet = false;
130 bool m_creationTimeHasBeenSet = false;
131 bool m_lastActivationTimeHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Notifications
137} // namespace Aws
RegisterNotificationHubResult & WithLastActivationTime(LastActivationTimeT &&value)
AWS_NOTIFICATIONS_API RegisterNotificationHubResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API RegisterNotificationHubResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterNotificationHubResult & WithNotificationHubRegion(NotificationHubRegionT &&value)
RegisterNotificationHubResult & WithCreationTime(CreationTimeT &&value)
AWS_NOTIFICATIONS_API RegisterNotificationHubResult()=default
RegisterNotificationHubResult & WithStatusSummary(StatusSummaryT &&value)
RegisterNotificationHubResult & WithRequestId(RequestIdT &&value)
const NotificationHubStatusSummary & GetStatusSummary() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue