AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEngagementResult.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 DescribeEngagementResult();
34
35
37
40 inline const Aws::String& GetContactArn() const{ return m_contactArn; }
41 inline void SetContactArn(const Aws::String& value) { m_contactArn = value; }
42 inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); }
43 inline void SetContactArn(const char* value) { m_contactArn.assign(value); }
44 inline DescribeEngagementResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
45 inline DescribeEngagementResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
46 inline DescribeEngagementResult& WithContactArn(const char* value) { SetContactArn(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 DescribeEngagementResult& WithEngagementArn(const Aws::String& value) { SetEngagementArn(value); return *this;}
58 inline DescribeEngagementResult& WithEngagementArn(Aws::String&& value) { SetEngagementArn(std::move(value)); return *this;}
59 inline DescribeEngagementResult& WithEngagementArn(const char* value) { SetEngagementArn(value); return *this;}
61
63
66 inline const Aws::String& GetSender() const{ return m_sender; }
67 inline void SetSender(const Aws::String& value) { m_sender = value; }
68 inline void SetSender(Aws::String&& value) { m_sender = std::move(value); }
69 inline void SetSender(const char* value) { m_sender.assign(value); }
70 inline DescribeEngagementResult& WithSender(const Aws::String& value) { SetSender(value); return *this;}
71 inline DescribeEngagementResult& WithSender(Aws::String&& value) { SetSender(std::move(value)); return *this;}
72 inline DescribeEngagementResult& WithSender(const char* value) { SetSender(value); return *this;}
74
76
80 inline const Aws::String& GetSubject() const{ return m_subject; }
81 inline void SetSubject(const Aws::String& value) { m_subject = value; }
82 inline void SetSubject(Aws::String&& value) { m_subject = std::move(value); }
83 inline void SetSubject(const char* value) { m_subject.assign(value); }
84 inline DescribeEngagementResult& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
85 inline DescribeEngagementResult& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
86 inline DescribeEngagementResult& WithSubject(const char* value) { SetSubject(value); return *this;}
88
90
94 inline const Aws::String& GetContent() const{ return m_content; }
95 inline void SetContent(const Aws::String& value) { m_content = value; }
96 inline void SetContent(Aws::String&& value) { m_content = std::move(value); }
97 inline void SetContent(const char* value) { m_content.assign(value); }
98 inline DescribeEngagementResult& WithContent(const Aws::String& value) { SetContent(value); return *this;}
99 inline DescribeEngagementResult& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
100 inline DescribeEngagementResult& WithContent(const char* value) { SetContent(value); return *this;}
102
104
108 inline const Aws::String& GetPublicSubject() const{ return m_publicSubject; }
109 inline void SetPublicSubject(const Aws::String& value) { m_publicSubject = value; }
110 inline void SetPublicSubject(Aws::String&& value) { m_publicSubject = std::move(value); }
111 inline void SetPublicSubject(const char* value) { m_publicSubject.assign(value); }
112 inline DescribeEngagementResult& WithPublicSubject(const Aws::String& value) { SetPublicSubject(value); return *this;}
113 inline DescribeEngagementResult& WithPublicSubject(Aws::String&& value) { SetPublicSubject(std::move(value)); return *this;}
114 inline DescribeEngagementResult& WithPublicSubject(const char* value) { SetPublicSubject(value); return *this;}
116
118
122 inline const Aws::String& GetPublicContent() const{ return m_publicContent; }
123 inline void SetPublicContent(const Aws::String& value) { m_publicContent = value; }
124 inline void SetPublicContent(Aws::String&& value) { m_publicContent = std::move(value); }
125 inline void SetPublicContent(const char* value) { m_publicContent.assign(value); }
126 inline DescribeEngagementResult& WithPublicContent(const Aws::String& value) { SetPublicContent(value); return *this;}
127 inline DescribeEngagementResult& WithPublicContent(Aws::String&& value) { SetPublicContent(std::move(value)); return *this;}
128 inline DescribeEngagementResult& WithPublicContent(const char* value) { SetPublicContent(value); return *this;}
130
132
135 inline const Aws::String& GetIncidentId() const{ return m_incidentId; }
136 inline void SetIncidentId(const Aws::String& value) { m_incidentId = value; }
137 inline void SetIncidentId(Aws::String&& value) { m_incidentId = std::move(value); }
138 inline void SetIncidentId(const char* value) { m_incidentId.assign(value); }
139 inline DescribeEngagementResult& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;}
140 inline DescribeEngagementResult& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;}
141 inline DescribeEngagementResult& WithIncidentId(const char* value) { SetIncidentId(value); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
149 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
150 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
151 inline DescribeEngagementResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
152 inline DescribeEngagementResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetStopTime() const{ return m_stopTime; }
160 inline void SetStopTime(const Aws::Utils::DateTime& value) { m_stopTime = value; }
161 inline void SetStopTime(Aws::Utils::DateTime&& value) { m_stopTime = std::move(value); }
162 inline DescribeEngagementResult& WithStopTime(const Aws::Utils::DateTime& value) { SetStopTime(value); return *this;}
163 inline DescribeEngagementResult& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;}
165
167
168 inline const Aws::String& GetRequestId() const{ return m_requestId; }
169 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
170 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
171 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
172 inline DescribeEngagementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
173 inline DescribeEngagementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
174 inline DescribeEngagementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
176 private:
177
178 Aws::String m_contactArn;
179
180 Aws::String m_engagementArn;
181
182 Aws::String m_sender;
183
184 Aws::String m_subject;
185
186 Aws::String m_content;
187
188 Aws::String m_publicSubject;
189
190 Aws::String m_publicContent;
191
192 Aws::String m_incidentId;
193
194 Aws::Utils::DateTime m_startTime;
195
196 Aws::Utils::DateTime m_stopTime;
197
198 Aws::String m_requestId;
199 };
200
201} // namespace Model
202} // namespace SSMContacts
203} // namespace Aws
DescribeEngagementResult & WithStartTime(const Aws::Utils::DateTime &value)
DescribeEngagementResult & WithContent(const Aws::String &value)
DescribeEngagementResult & WithStartTime(Aws::Utils::DateTime &&value)
DescribeEngagementResult & WithEngagementArn(const Aws::String &value)
DescribeEngagementResult & WithSubject(const char *value)
DescribeEngagementResult & WithContactArn(const Aws::String &value)
DescribeEngagementResult & WithSubject(const Aws::String &value)
DescribeEngagementResult & WithSender(const char *value)
DescribeEngagementResult & WithSender(Aws::String &&value)
DescribeEngagementResult & WithPublicContent(const char *value)
AWS_SSMCONTACTS_API DescribeEngagementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEngagementResult & WithContent(Aws::String &&value)
DescribeEngagementResult & WithPublicSubject(const char *value)
DescribeEngagementResult & WithEngagementArn(const char *value)
DescribeEngagementResult & WithRequestId(const char *value)
void SetStopTime(const Aws::Utils::DateTime &value)
DescribeEngagementResult & WithRequestId(Aws::String &&value)
DescribeEngagementResult & WithStopTime(Aws::Utils::DateTime &&value)
DescribeEngagementResult & WithIncidentId(Aws::String &&value)
DescribeEngagementResult & WithPublicContent(const Aws::String &value)
AWS_SSMCONTACTS_API DescribeEngagementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEngagementResult & WithSender(const Aws::String &value)
DescribeEngagementResult & WithPublicSubject(Aws::String &&value)
DescribeEngagementResult & WithIncidentId(const Aws::String &value)
DescribeEngagementResult & WithIncidentId(const char *value)
DescribeEngagementResult & WithStopTime(const Aws::Utils::DateTime &value)
DescribeEngagementResult & WithContactArn(const char *value)
DescribeEngagementResult & WithRequestId(const Aws::String &value)
DescribeEngagementResult & WithSubject(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeEngagementResult & WithEngagementArn(Aws::String &&value)
DescribeEngagementResult & WithContent(const char *value)
DescribeEngagementResult & WithPublicSubject(const Aws::String &value)
DescribeEngagementResult & WithPublicContent(Aws::String &&value)
DescribeEngagementResult & WithContactArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue