7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/NotificationSearchSummary.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename NotificationsT = Aws::Vector<NotificationSearchSummary>>
39 m_notificationsHasBeenSet =
true;
40 m_notifications = std::forward<NotificationsT>(value);
42 template <
typename NotificationsT = Aws::Vector<NotificationSearchSummary>>
47 template <
typename NotificationsT = NotificationSearchSummary>
49 m_notificationsHasBeenSet =
true;
50 m_notifications.emplace_back(std::forward<NotificationsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
80 m_approximateTotalCountHasBeenSet =
true;
81 m_approximateTotalCount = value;
92 template <
typename RequestIdT = Aws::String>
94 m_requestIdHasBeenSet =
true;
95 m_requestId = std::forward<RequestIdT>(value);
97 template <
typename RequestIdT = Aws::String>
110 long long m_approximateTotalCount{0};
114 bool m_notificationsHasBeenSet =
false;
115 bool m_nextTokenHasBeenSet =
false;
116 bool m_approximateTotalCountHasBeenSet =
false;
117 bool m_requestIdHasBeenSet =
false;
SearchNotificationsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< NotificationSearchSummary > & GetNotifications() const
void SetRequestId(RequestIdT &&value)
SearchNotificationsResult & WithApproximateTotalCount(long long value)
SearchNotificationsResult & AddNotifications(NotificationsT &&value)
SearchNotificationsResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
SearchNotificationsResult & WithNotifications(NotificationsT &&value)
void SetApproximateTotalCount(long long value)
long long GetApproximateTotalCount() const
AWS_CONNECT_API SearchNotificationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
AWS_CONNECT_API SearchNotificationsResult()=default
AWS_CONNECT_API SearchNotificationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
void SetNotifications(NotificationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue