AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribePageResult.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SSMContacts
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SSMCONTACTS_API DescribePageResult() = default;
34
35
37
40 inline const Aws::String& GetPageArn() const { return m_pageArn; }
41 template<typename PageArnT = Aws::String>
42 void SetPageArn(PageArnT&& value) { m_pageArnHasBeenSet = true; m_pageArn = std::forward<PageArnT>(value); }
43 template<typename PageArnT = Aws::String>
44 DescribePageResult& WithPageArn(PageArnT&& value) { SetPageArn(std::forward<PageArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetEngagementArn() const { return m_engagementArn; }
52 template<typename EngagementArnT = Aws::String>
53 void SetEngagementArn(EngagementArnT&& value) { m_engagementArnHasBeenSet = true; m_engagementArn = std::forward<EngagementArnT>(value); }
54 template<typename EngagementArnT = Aws::String>
55 DescribePageResult& WithEngagementArn(EngagementArnT&& value) { SetEngagementArn(std::forward<EngagementArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetContactArn() const { return m_contactArn; }
63 template<typename ContactArnT = Aws::String>
64 void SetContactArn(ContactArnT&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::forward<ContactArnT>(value); }
65 template<typename ContactArnT = Aws::String>
66 DescribePageResult& WithContactArn(ContactArnT&& value) { SetContactArn(std::forward<ContactArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetSender() const { return m_sender; }
74 template<typename SenderT = Aws::String>
75 void SetSender(SenderT&& value) { m_senderHasBeenSet = true; m_sender = std::forward<SenderT>(value); }
76 template<typename SenderT = Aws::String>
77 DescribePageResult& WithSender(SenderT&& value) { SetSender(std::forward<SenderT>(value)); return *this;}
79
81
85 inline const Aws::String& GetSubject() const { return m_subject; }
86 template<typename SubjectT = Aws::String>
87 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet = true; m_subject = std::forward<SubjectT>(value); }
88 template<typename SubjectT = Aws::String>
89 DescribePageResult& WithSubject(SubjectT&& value) { SetSubject(std::forward<SubjectT>(value)); return *this;}
91
93
97 inline const Aws::String& GetContent() const { return m_content; }
98 template<typename ContentT = Aws::String>
99 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
100 template<typename ContentT = Aws::String>
101 DescribePageResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
103
105
109 inline const Aws::String& GetPublicSubject() const { return m_publicSubject; }
110 template<typename PublicSubjectT = Aws::String>
111 void SetPublicSubject(PublicSubjectT&& value) { m_publicSubjectHasBeenSet = true; m_publicSubject = std::forward<PublicSubjectT>(value); }
112 template<typename PublicSubjectT = Aws::String>
113 DescribePageResult& WithPublicSubject(PublicSubjectT&& value) { SetPublicSubject(std::forward<PublicSubjectT>(value)); return *this;}
115
117
121 inline const Aws::String& GetPublicContent() const { return m_publicContent; }
122 template<typename PublicContentT = Aws::String>
123 void SetPublicContent(PublicContentT&& value) { m_publicContentHasBeenSet = true; m_publicContent = std::forward<PublicContentT>(value); }
124 template<typename PublicContentT = Aws::String>
125 DescribePageResult& WithPublicContent(PublicContentT&& value) { SetPublicContent(std::forward<PublicContentT>(value)); return *this;}
127
129
132 inline const Aws::String& GetIncidentId() const { return m_incidentId; }
133 template<typename IncidentIdT = Aws::String>
134 void SetIncidentId(IncidentIdT&& value) { m_incidentIdHasBeenSet = true; m_incidentId = std::forward<IncidentIdT>(value); }
135 template<typename IncidentIdT = Aws::String>
136 DescribePageResult& WithIncidentId(IncidentIdT&& value) { SetIncidentId(std::forward<IncidentIdT>(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetSentTime() const { return m_sentTime; }
144 template<typename SentTimeT = Aws::Utils::DateTime>
145 void SetSentTime(SentTimeT&& value) { m_sentTimeHasBeenSet = true; m_sentTime = std::forward<SentTimeT>(value); }
146 template<typename SentTimeT = Aws::Utils::DateTime>
147 DescribePageResult& WithSentTime(SentTimeT&& value) { SetSentTime(std::forward<SentTimeT>(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetReadTime() const { return m_readTime; }
155 template<typename ReadTimeT = Aws::Utils::DateTime>
156 void SetReadTime(ReadTimeT&& value) { m_readTimeHasBeenSet = true; m_readTime = std::forward<ReadTimeT>(value); }
157 template<typename ReadTimeT = Aws::Utils::DateTime>
158 DescribePageResult& WithReadTime(ReadTimeT&& value) { SetReadTime(std::forward<ReadTimeT>(value)); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetDeliveryTime() const { return m_deliveryTime; }
166 template<typename DeliveryTimeT = Aws::Utils::DateTime>
167 void SetDeliveryTime(DeliveryTimeT&& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = std::forward<DeliveryTimeT>(value); }
168 template<typename DeliveryTimeT = Aws::Utils::DateTime>
169 DescribePageResult& WithDeliveryTime(DeliveryTimeT&& value) { SetDeliveryTime(std::forward<DeliveryTimeT>(value)); return *this;}
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template<typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
177 template<typename RequestIdT = Aws::String>
178 DescribePageResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
180 private:
181
182 Aws::String m_pageArn;
183 bool m_pageArnHasBeenSet = false;
184
185 Aws::String m_engagementArn;
186 bool m_engagementArnHasBeenSet = false;
187
188 Aws::String m_contactArn;
189 bool m_contactArnHasBeenSet = false;
190
191 Aws::String m_sender;
192 bool m_senderHasBeenSet = false;
193
194 Aws::String m_subject;
195 bool m_subjectHasBeenSet = false;
196
197 Aws::String m_content;
198 bool m_contentHasBeenSet = false;
199
200 Aws::String m_publicSubject;
201 bool m_publicSubjectHasBeenSet = false;
202
203 Aws::String m_publicContent;
204 bool m_publicContentHasBeenSet = false;
205
206 Aws::String m_incidentId;
207 bool m_incidentIdHasBeenSet = false;
208
209 Aws::Utils::DateTime m_sentTime{};
210 bool m_sentTimeHasBeenSet = false;
211
212 Aws::Utils::DateTime m_readTime{};
213 bool m_readTimeHasBeenSet = false;
214
215 Aws::Utils::DateTime m_deliveryTime{};
216 bool m_deliveryTimeHasBeenSet = false;
217
218 Aws::String m_requestId;
219 bool m_requestIdHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace SSMContacts
224} // namespace Aws
DescribePageResult & WithSubject(SubjectT &&value)
DescribePageResult & WithReadTime(ReadTimeT &&value)
DescribePageResult & WithContactArn(ContactArnT &&value)
DescribePageResult & WithDeliveryTime(DeliveryTimeT &&value)
const Aws::Utils::DateTime & GetSentTime() const
AWS_SSMCONTACTS_API DescribePageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePageResult & WithPublicSubject(PublicSubjectT &&value)
DescribePageResult & WithEngagementArn(EngagementArnT &&value)
AWS_SSMCONTACTS_API DescribePageResult()=default
AWS_SSMCONTACTS_API DescribePageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetDeliveryTime() const
DescribePageResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetReadTime() const
DescribePageResult & WithPublicContent(PublicContentT &&value)
DescribePageResult & WithSentTime(SentTimeT &&value)
DescribePageResult & WithIncidentId(IncidentIdT &&value)
DescribePageResult & WithPageArn(PageArnT &&value)
void SetEngagementArn(EngagementArnT &&value)
DescribePageResult & WithSender(SenderT &&value)
DescribePageResult & WithContent(ContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue