AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetPageArn() const{ return m_pageArn; }
41 inline void SetPageArn(const Aws::String& value) { m_pageArn = value; }
42 inline void SetPageArn(Aws::String&& value) { m_pageArn = std::move(value); }
43 inline void SetPageArn(const char* value) { m_pageArn.assign(value); }
44 inline DescribePageResult& WithPageArn(const Aws::String& value) { SetPageArn(value); return *this;}
45 inline DescribePageResult& WithPageArn(Aws::String&& value) { SetPageArn(std::move(value)); return *this;}
46 inline DescribePageResult& WithPageArn(const char* value) { SetPageArn(value); return *this;}
48
50
53 inline const Aws::String& GetEngagementArn() const{ return m_engagementArn; }
54 inline void SetEngagementArn(const Aws::String& value) { m_engagementArn = value; }
55 inline void SetEngagementArn(Aws::String&& value) { m_engagementArn = std::move(value); }
56 inline void SetEngagementArn(const char* value) { m_engagementArn.assign(value); }
57 inline DescribePageResult& WithEngagementArn(const Aws::String& value) { SetEngagementArn(value); return *this;}
58 inline DescribePageResult& WithEngagementArn(Aws::String&& value) { SetEngagementArn(std::move(value)); return *this;}
59 inline DescribePageResult& WithEngagementArn(const char* value) { SetEngagementArn(value); return *this;}
61
63
66 inline const Aws::String& GetContactArn() const{ return m_contactArn; }
67 inline void SetContactArn(const Aws::String& value) { m_contactArn = value; }
68 inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); }
69 inline void SetContactArn(const char* value) { m_contactArn.assign(value); }
70 inline DescribePageResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
71 inline DescribePageResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
72 inline DescribePageResult& WithContactArn(const char* value) { SetContactArn(value); return *this;}
74
76
79 inline const Aws::String& GetSender() const{ return m_sender; }
80 inline void SetSender(const Aws::String& value) { m_sender = value; }
81 inline void SetSender(Aws::String&& value) { m_sender = std::move(value); }
82 inline void SetSender(const char* value) { m_sender.assign(value); }
83 inline DescribePageResult& WithSender(const Aws::String& value) { SetSender(value); return *this;}
84 inline DescribePageResult& WithSender(Aws::String&& value) { SetSender(std::move(value)); return *this;}
85 inline DescribePageResult& WithSender(const char* value) { SetSender(value); return *this;}
87
89
93 inline const Aws::String& GetSubject() const{ return m_subject; }
94 inline void SetSubject(const Aws::String& value) { m_subject = value; }
95 inline void SetSubject(Aws::String&& value) { m_subject = std::move(value); }
96 inline void SetSubject(const char* value) { m_subject.assign(value); }
97 inline DescribePageResult& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
98 inline DescribePageResult& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
99 inline DescribePageResult& WithSubject(const char* value) { SetSubject(value); return *this;}
101
103
107 inline const Aws::String& GetContent() const{ return m_content; }
108 inline void SetContent(const Aws::String& value) { m_content = value; }
109 inline void SetContent(Aws::String&& value) { m_content = std::move(value); }
110 inline void SetContent(const char* value) { m_content.assign(value); }
111 inline DescribePageResult& WithContent(const Aws::String& value) { SetContent(value); return *this;}
112 inline DescribePageResult& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
113 inline DescribePageResult& WithContent(const char* value) { SetContent(value); return *this;}
115
117
121 inline const Aws::String& GetPublicSubject() const{ return m_publicSubject; }
122 inline void SetPublicSubject(const Aws::String& value) { m_publicSubject = value; }
123 inline void SetPublicSubject(Aws::String&& value) { m_publicSubject = std::move(value); }
124 inline void SetPublicSubject(const char* value) { m_publicSubject.assign(value); }
125 inline DescribePageResult& WithPublicSubject(const Aws::String& value) { SetPublicSubject(value); return *this;}
126 inline DescribePageResult& WithPublicSubject(Aws::String&& value) { SetPublicSubject(std::move(value)); return *this;}
127 inline DescribePageResult& WithPublicSubject(const char* value) { SetPublicSubject(value); return *this;}
129
131
135 inline const Aws::String& GetPublicContent() const{ return m_publicContent; }
136 inline void SetPublicContent(const Aws::String& value) { m_publicContent = value; }
137 inline void SetPublicContent(Aws::String&& value) { m_publicContent = std::move(value); }
138 inline void SetPublicContent(const char* value) { m_publicContent.assign(value); }
139 inline DescribePageResult& WithPublicContent(const Aws::String& value) { SetPublicContent(value); return *this;}
140 inline DescribePageResult& WithPublicContent(Aws::String&& value) { SetPublicContent(std::move(value)); return *this;}
141 inline DescribePageResult& WithPublicContent(const char* value) { SetPublicContent(value); return *this;}
143
145
148 inline const Aws::String& GetIncidentId() const{ return m_incidentId; }
149 inline void SetIncidentId(const Aws::String& value) { m_incidentId = value; }
150 inline void SetIncidentId(Aws::String&& value) { m_incidentId = std::move(value); }
151 inline void SetIncidentId(const char* value) { m_incidentId.assign(value); }
152 inline DescribePageResult& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;}
153 inline DescribePageResult& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;}
154 inline DescribePageResult& WithIncidentId(const char* value) { SetIncidentId(value); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetSentTime() const{ return m_sentTime; }
162 inline void SetSentTime(const Aws::Utils::DateTime& value) { m_sentTime = value; }
163 inline void SetSentTime(Aws::Utils::DateTime&& value) { m_sentTime = std::move(value); }
164 inline DescribePageResult& WithSentTime(const Aws::Utils::DateTime& value) { SetSentTime(value); return *this;}
165 inline DescribePageResult& WithSentTime(Aws::Utils::DateTime&& value) { SetSentTime(std::move(value)); return *this;}
167
169
172 inline const Aws::Utils::DateTime& GetReadTime() const{ return m_readTime; }
173 inline void SetReadTime(const Aws::Utils::DateTime& value) { m_readTime = value; }
174 inline void SetReadTime(Aws::Utils::DateTime&& value) { m_readTime = std::move(value); }
175 inline DescribePageResult& WithReadTime(const Aws::Utils::DateTime& value) { SetReadTime(value); return *this;}
176 inline DescribePageResult& WithReadTime(Aws::Utils::DateTime&& value) { SetReadTime(std::move(value)); return *this;}
178
180
183 inline const Aws::Utils::DateTime& GetDeliveryTime() const{ return m_deliveryTime; }
184 inline void SetDeliveryTime(const Aws::Utils::DateTime& value) { m_deliveryTime = value; }
185 inline void SetDeliveryTime(Aws::Utils::DateTime&& value) { m_deliveryTime = std::move(value); }
186 inline DescribePageResult& WithDeliveryTime(const Aws::Utils::DateTime& value) { SetDeliveryTime(value); return *this;}
187 inline DescribePageResult& WithDeliveryTime(Aws::Utils::DateTime&& value) { SetDeliveryTime(std::move(value)); return *this;}
189
191
192 inline const Aws::String& GetRequestId() const{ return m_requestId; }
193 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
194 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
195 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
196 inline DescribePageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
197 inline DescribePageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
198 inline DescribePageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
200 private:
201
202 Aws::String m_pageArn;
203
204 Aws::String m_engagementArn;
205
206 Aws::String m_contactArn;
207
208 Aws::String m_sender;
209
210 Aws::String m_subject;
211
212 Aws::String m_content;
213
214 Aws::String m_publicSubject;
215
216 Aws::String m_publicContent;
217
218 Aws::String m_incidentId;
219
220 Aws::Utils::DateTime m_sentTime;
221
222 Aws::Utils::DateTime m_readTime;
223
224 Aws::Utils::DateTime m_deliveryTime;
225
226 Aws::String m_requestId;
227 };
228
229} // namespace Model
230} // namespace SSMContacts
231} // namespace Aws
void SetReadTime(Aws::Utils::DateTime &&value)
DescribePageResult & WithContent(Aws::String &&value)
DescribePageResult & WithContent(const Aws::String &value)
DescribePageResult & WithSentTime(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
void SetEngagementArn(const Aws::String &value)
DescribePageResult & WithPublicSubject(const Aws::String &value)
void SetPublicContent(const Aws::String &value)
void SetReadTime(const Aws::Utils::DateTime &value)
void SetSentTime(const Aws::Utils::DateTime &value)
void SetDeliveryTime(Aws::Utils::DateTime &&value)
DescribePageResult & WithSubject(Aws::String &&value)
DescribePageResult & WithSender(const char *value)
const Aws::Utils::DateTime & GetSentTime() const
DescribePageResult & WithSentTime(Aws::Utils::DateTime &&value)
void SetSubject(const Aws::String &value)
AWS_SSMCONTACTS_API DescribePageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePageResult & WithPageArn(const Aws::String &value)
DescribePageResult & WithEngagementArn(const Aws::String &value)
void SetIncidentId(const Aws::String &value)
DescribePageResult & WithSender(Aws::String &&value)
void SetPublicSubject(const Aws::String &value)
DescribePageResult & WithPublicSubject(Aws::String &&value)
void SetPageArn(const Aws::String &value)
DescribePageResult & WithPublicContent(const char *value)
AWS_SSMCONTACTS_API DescribePageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetDeliveryTime() const
DescribePageResult & WithEngagementArn(const char *value)
DescribePageResult & WithPublicSubject(const char *value)
const Aws::Utils::DateTime & GetReadTime() const
DescribePageResult & WithPublicContent(const Aws::String &value)
DescribePageResult & WithRequestId(Aws::String &&value)
DescribePageResult & WithRequestId(const Aws::String &value)
DescribePageResult & WithContactArn(Aws::String &&value)
DescribePageResult & WithPublicContent(Aws::String &&value)
DescribePageResult & WithDeliveryTime(const Aws::Utils::DateTime &value)
void SetContactArn(const Aws::String &value)
DescribePageResult & WithIncidentId(Aws::String &&value)
DescribePageResult & WithContent(const char *value)
DescribePageResult & WithContactArn(const Aws::String &value)
DescribePageResult & WithSubject(const Aws::String &value)
DescribePageResult & WithSubject(const char *value)
DescribePageResult & WithContactArn(const char *value)
DescribePageResult & WithDeliveryTime(Aws::Utils::DateTime &&value)
DescribePageResult & WithPageArn(const char *value)
DescribePageResult & WithReadTime(const Aws::Utils::DateTime &value)
DescribePageResult & WithPageArn(Aws::String &&value)
void SetSentTime(Aws::Utils::DateTime &&value)
DescribePageResult & WithRequestId(const char *value)
DescribePageResult & WithEngagementArn(Aws::String &&value)
DescribePageResult & WithReadTime(Aws::Utils::DateTime &&value)
DescribePageResult & WithIncidentId(const char *value)
void SetDeliveryTime(const Aws::Utils::DateTime &value)
DescribePageResult & WithIncidentId(const Aws::String &value)
DescribePageResult & WithSender(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue