AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Page.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSMContacts
23{
24namespace Model
25{
26
33 class Page
34 {
35 public:
36 AWS_SSMCONTACTS_API Page();
37 AWS_SSMCONTACTS_API Page(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMCONTACTS_API Page& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPageArn() const{ return m_pageArn; }
47 inline bool PageArnHasBeenSet() const { return m_pageArnHasBeenSet; }
48 inline void SetPageArn(const Aws::String& value) { m_pageArnHasBeenSet = true; m_pageArn = value; }
49 inline void SetPageArn(Aws::String&& value) { m_pageArnHasBeenSet = true; m_pageArn = std::move(value); }
50 inline void SetPageArn(const char* value) { m_pageArnHasBeenSet = true; m_pageArn.assign(value); }
51 inline Page& WithPageArn(const Aws::String& value) { SetPageArn(value); return *this;}
52 inline Page& WithPageArn(Aws::String&& value) { SetPageArn(std::move(value)); return *this;}
53 inline Page& WithPageArn(const char* value) { SetPageArn(value); return *this;}
55
57
60 inline const Aws::String& GetEngagementArn() const{ return m_engagementArn; }
61 inline bool EngagementArnHasBeenSet() const { return m_engagementArnHasBeenSet; }
62 inline void SetEngagementArn(const Aws::String& value) { m_engagementArnHasBeenSet = true; m_engagementArn = value; }
63 inline void SetEngagementArn(Aws::String&& value) { m_engagementArnHasBeenSet = true; m_engagementArn = std::move(value); }
64 inline void SetEngagementArn(const char* value) { m_engagementArnHasBeenSet = true; m_engagementArn.assign(value); }
65 inline Page& WithEngagementArn(const Aws::String& value) { SetEngagementArn(value); return *this;}
66 inline Page& WithEngagementArn(Aws::String&& value) { SetEngagementArn(std::move(value)); return *this;}
67 inline Page& WithEngagementArn(const char* value) { SetEngagementArn(value); return *this;}
69
71
74 inline const Aws::String& GetContactArn() const{ return m_contactArn; }
75 inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
76 inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
77 inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
78 inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
79 inline Page& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
80 inline Page& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
81 inline Page& WithContactArn(const char* value) { SetContactArn(value); return *this;}
83
85
88 inline const Aws::String& GetSender() const{ return m_sender; }
89 inline bool SenderHasBeenSet() const { return m_senderHasBeenSet; }
90 inline void SetSender(const Aws::String& value) { m_senderHasBeenSet = true; m_sender = value; }
91 inline void SetSender(Aws::String&& value) { m_senderHasBeenSet = true; m_sender = std::move(value); }
92 inline void SetSender(const char* value) { m_senderHasBeenSet = true; m_sender.assign(value); }
93 inline Page& WithSender(const Aws::String& value) { SetSender(value); return *this;}
94 inline Page& WithSender(Aws::String&& value) { SetSender(std::move(value)); return *this;}
95 inline Page& WithSender(const char* value) { SetSender(value); return *this;}
97
99
102 inline const Aws::String& GetIncidentId() const{ return m_incidentId; }
103 inline bool IncidentIdHasBeenSet() const { return m_incidentIdHasBeenSet; }
104 inline void SetIncidentId(const Aws::String& value) { m_incidentIdHasBeenSet = true; m_incidentId = value; }
105 inline void SetIncidentId(Aws::String&& value) { m_incidentIdHasBeenSet = true; m_incidentId = std::move(value); }
106 inline void SetIncidentId(const char* value) { m_incidentIdHasBeenSet = true; m_incidentId.assign(value); }
107 inline Page& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;}
108 inline Page& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;}
109 inline Page& WithIncidentId(const char* value) { SetIncidentId(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetSentTime() const{ return m_sentTime; }
117 inline bool SentTimeHasBeenSet() const { return m_sentTimeHasBeenSet; }
118 inline void SetSentTime(const Aws::Utils::DateTime& value) { m_sentTimeHasBeenSet = true; m_sentTime = value; }
119 inline void SetSentTime(Aws::Utils::DateTime&& value) { m_sentTimeHasBeenSet = true; m_sentTime = std::move(value); }
120 inline Page& WithSentTime(const Aws::Utils::DateTime& value) { SetSentTime(value); return *this;}
121 inline Page& WithSentTime(Aws::Utils::DateTime&& value) { SetSentTime(std::move(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetDeliveryTime() const{ return m_deliveryTime; }
129 inline bool DeliveryTimeHasBeenSet() const { return m_deliveryTimeHasBeenSet; }
130 inline void SetDeliveryTime(const Aws::Utils::DateTime& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = value; }
131 inline void SetDeliveryTime(Aws::Utils::DateTime&& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = std::move(value); }
132 inline Page& WithDeliveryTime(const Aws::Utils::DateTime& value) { SetDeliveryTime(value); return *this;}
133 inline Page& WithDeliveryTime(Aws::Utils::DateTime&& value) { SetDeliveryTime(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetReadTime() const{ return m_readTime; }
141 inline bool ReadTimeHasBeenSet() const { return m_readTimeHasBeenSet; }
142 inline void SetReadTime(const Aws::Utils::DateTime& value) { m_readTimeHasBeenSet = true; m_readTime = value; }
143 inline void SetReadTime(Aws::Utils::DateTime&& value) { m_readTimeHasBeenSet = true; m_readTime = std::move(value); }
144 inline Page& WithReadTime(const Aws::Utils::DateTime& value) { SetReadTime(value); return *this;}
145 inline Page& WithReadTime(Aws::Utils::DateTime&& value) { SetReadTime(std::move(value)); return *this;}
147 private:
148
149 Aws::String m_pageArn;
150 bool m_pageArnHasBeenSet = false;
151
152 Aws::String m_engagementArn;
153 bool m_engagementArnHasBeenSet = false;
154
155 Aws::String m_contactArn;
156 bool m_contactArnHasBeenSet = false;
157
158 Aws::String m_sender;
159 bool m_senderHasBeenSet = false;
160
161 Aws::String m_incidentId;
162 bool m_incidentIdHasBeenSet = false;
163
164 Aws::Utils::DateTime m_sentTime;
165 bool m_sentTimeHasBeenSet = false;
166
167 Aws::Utils::DateTime m_deliveryTime;
168 bool m_deliveryTimeHasBeenSet = false;
169
170 Aws::Utils::DateTime m_readTime;
171 bool m_readTimeHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace SSMContacts
176} // namespace Aws
const Aws::String & GetContactArn() const
Definition Page.h:74
Page & WithEngagementArn(const char *value)
Definition Page.h:67
Page & WithIncidentId(const Aws::String &value)
Definition Page.h:107
void SetContactArn(const Aws::String &value)
Definition Page.h:76
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContactArnHasBeenSet() const
Definition Page.h:75
bool EngagementArnHasBeenSet() const
Definition Page.h:61
const Aws::Utils::DateTime & GetReadTime() const
Definition Page.h:140
void SetEngagementArn(const Aws::String &value)
Definition Page.h:62
void SetSentTime(Aws::Utils::DateTime &&value)
Definition Page.h:119
Page & WithReadTime(Aws::Utils::DateTime &&value)
Definition Page.h:145
Page & WithDeliveryTime(const Aws::Utils::DateTime &value)
Definition Page.h:132
Page & WithSender(const char *value)
Definition Page.h:95
bool DeliveryTimeHasBeenSet() const
Definition Page.h:129
Page & WithSender(Aws::String &&value)
Definition Page.h:94
void SetPageArn(Aws::String &&value)
Definition Page.h:49
AWS_SSMCONTACTS_API Page(Aws::Utils::Json::JsonView jsonValue)
void SetContactArn(const char *value)
Definition Page.h:78
void SetReadTime(Aws::Utils::DateTime &&value)
Definition Page.h:143
void SetReadTime(const Aws::Utils::DateTime &value)
Definition Page.h:142
Page & WithSender(const Aws::String &value)
Definition Page.h:93
Page & WithEngagementArn(const Aws::String &value)
Definition Page.h:65
Page & WithContactArn(Aws::String &&value)
Definition Page.h:80
Page & WithSentTime(const Aws::Utils::DateTime &value)
Definition Page.h:120
void SetIncidentId(const Aws::String &value)
Definition Page.h:104
bool SenderHasBeenSet() const
Definition Page.h:89
void SetEngagementArn(const char *value)
Definition Page.h:64
const Aws::String & GetSender() const
Definition Page.h:88
void SetDeliveryTime(Aws::Utils::DateTime &&value)
Definition Page.h:131
AWS_SSMCONTACTS_API Page & operator=(Aws::Utils::Json::JsonView jsonValue)
Page & WithIncidentId(const char *value)
Definition Page.h:109
void SetPageArn(const Aws::String &value)
Definition Page.h:48
Page & WithPageArn(const Aws::String &value)
Definition Page.h:51
Page & WithEngagementArn(Aws::String &&value)
Definition Page.h:66
bool PageArnHasBeenSet() const
Definition Page.h:47
void SetIncidentId(Aws::String &&value)
Definition Page.h:105
const Aws::Utils::DateTime & GetSentTime() const
Definition Page.h:116
void SetSender(Aws::String &&value)
Definition Page.h:91
void SetContactArn(Aws::String &&value)
Definition Page.h:77
void SetSentTime(const Aws::Utils::DateTime &value)
Definition Page.h:118
void SetIncidentId(const char *value)
Definition Page.h:106
Page & WithContactArn(const Aws::String &value)
Definition Page.h:79
bool ReadTimeHasBeenSet() const
Definition Page.h:141
Page & WithSentTime(Aws::Utils::DateTime &&value)
Definition Page.h:121
void SetSender(const Aws::String &value)
Definition Page.h:90
Page & WithPageArn(const char *value)
Definition Page.h:53
void SetEngagementArn(Aws::String &&value)
Definition Page.h:63
Page & WithReadTime(const Aws::Utils::DateTime &value)
Definition Page.h:144
Page & WithContactArn(const char *value)
Definition Page.h:81
void SetDeliveryTime(const Aws::Utils::DateTime &value)
Definition Page.h:130
const Aws::String & GetPageArn() const
Definition Page.h:46
Page & WithIncidentId(Aws::String &&value)
Definition Page.h:108
const Aws::String & GetIncidentId() const
Definition Page.h:102
void SetSender(const char *value)
Definition Page.h:92
void SetPageArn(const char *value)
Definition Page.h:50
const Aws::String & GetEngagementArn() const
Definition Page.h:60
const Aws::Utils::DateTime & GetDeliveryTime() const
Definition Page.h:128
bool SentTimeHasBeenSet() const
Definition Page.h:117
bool IncidentIdHasBeenSet() const
Definition Page.h:103
Page & WithPageArn(Aws::String &&value)
Definition Page.h:52
Page & WithDeliveryTime(Aws::Utils::DateTime &&value)
Definition Page.h:133
AWS_SSMCONTACTS_API Page()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue