AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListNotificationsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/NotificationSummary.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 WellArchitected {
24namespace Model {
26 public:
27 AWS_WELLARCHITECTED_API ListNotificationsResult() = default;
30
32
35 inline const Aws::Vector<NotificationSummary>& GetNotificationSummaries() const { return m_notificationSummaries; }
36 template <typename NotificationSummariesT = Aws::Vector<NotificationSummary>>
37 void SetNotificationSummaries(NotificationSummariesT&& value) {
38 m_notificationSummariesHasBeenSet = true;
39 m_notificationSummaries = std::forward<NotificationSummariesT>(value);
40 }
41 template <typename NotificationSummariesT = Aws::Vector<NotificationSummary>>
42 ListNotificationsResult& WithNotificationSummaries(NotificationSummariesT&& value) {
43 SetNotificationSummaries(std::forward<NotificationSummariesT>(value));
44 return *this;
45 }
46 template <typename NotificationSummariesT = NotificationSummary>
47 ListNotificationsResult& AddNotificationSummaries(NotificationSummariesT&& value) {
48 m_notificationSummariesHasBeenSet = true;
49 m_notificationSummaries.emplace_back(std::forward<NotificationSummariesT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 template <typename NextTokenT = Aws::String>
58 void SetNextToken(NextTokenT&& value) {
59 m_nextTokenHasBeenSet = true;
60 m_nextToken = std::forward<NextTokenT>(value);
61 }
62 template <typename NextTokenT = Aws::String>
64 SetNextToken(std::forward<NextTokenT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 private:
84 Aws::Vector<NotificationSummary> m_notificationSummaries;
85 bool m_notificationSummariesHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 Aws::String m_requestId;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace WellArchitected
96} // namespace Aws
AWS_WELLARCHITECTED_API ListNotificationsResult()=default
ListNotificationsResult & WithNotificationSummaries(NotificationSummariesT &&value)
ListNotificationsResult & AddNotificationSummaries(NotificationSummariesT &&value)
AWS_WELLARCHITECTED_API ListNotificationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WELLARCHITECTED_API ListNotificationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< NotificationSummary > & GetNotificationSummaries() const
void SetNotificationSummaries(NotificationSummariesT &&value)
ListNotificationsResult & WithNextToken(NextTokenT &&value)
ListNotificationsResult & WithRequestId(RequestIdT &&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