AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CaseDetails.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/support/model/RecentCaseCommunications.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Support
24{
25namespace Model
26{
27
69 {
70 public:
71 AWS_SUPPORT_API CaseDetails();
72 AWS_SUPPORT_API CaseDetails(Aws::Utils::Json::JsonView jsonValue);
74 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
75
76
78
83 inline const Aws::String& GetCaseId() const{ return m_caseId; }
84 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
85 inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
86 inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
87 inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
88 inline CaseDetails& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
89 inline CaseDetails& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
90 inline CaseDetails& WithCaseId(const char* value) { SetCaseId(value); return *this;}
92
94
98 inline const Aws::String& GetDisplayId() const{ return m_displayId; }
99 inline bool DisplayIdHasBeenSet() const { return m_displayIdHasBeenSet; }
100 inline void SetDisplayId(const Aws::String& value) { m_displayIdHasBeenSet = true; m_displayId = value; }
101 inline void SetDisplayId(Aws::String&& value) { m_displayIdHasBeenSet = true; m_displayId = std::move(value); }
102 inline void SetDisplayId(const char* value) { m_displayIdHasBeenSet = true; m_displayId.assign(value); }
103 inline CaseDetails& WithDisplayId(const Aws::String& value) { SetDisplayId(value); return *this;}
104 inline CaseDetails& WithDisplayId(Aws::String&& value) { SetDisplayId(std::move(value)); return *this;}
105 inline CaseDetails& WithDisplayId(const char* value) { SetDisplayId(value); return *this;}
107
109
112 inline const Aws::String& GetSubject() const{ return m_subject; }
113 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
114 inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
115 inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
116 inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
117 inline CaseDetails& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
118 inline CaseDetails& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
119 inline CaseDetails& WithSubject(const char* value) { SetSubject(value); return *this;}
121
123
132 inline const Aws::String& GetStatus() const{ return m_status; }
133 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
135 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
136 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
137 inline CaseDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
138 inline CaseDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
139 inline CaseDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
141
143
147 inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
148 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
149 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
150 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
151 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
152 inline CaseDetails& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
153 inline CaseDetails& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
154 inline CaseDetails& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
156
158
161 inline const Aws::String& GetCategoryCode() const{ return m_categoryCode; }
162 inline bool CategoryCodeHasBeenSet() const { return m_categoryCodeHasBeenSet; }
163 inline void SetCategoryCode(const Aws::String& value) { m_categoryCodeHasBeenSet = true; m_categoryCode = value; }
164 inline void SetCategoryCode(Aws::String&& value) { m_categoryCodeHasBeenSet = true; m_categoryCode = std::move(value); }
165 inline void SetCategoryCode(const char* value) { m_categoryCodeHasBeenSet = true; m_categoryCode.assign(value); }
166 inline CaseDetails& WithCategoryCode(const Aws::String& value) { SetCategoryCode(value); return *this;}
167 inline CaseDetails& WithCategoryCode(Aws::String&& value) { SetCategoryCode(std::move(value)); return *this;}
168 inline CaseDetails& WithCategoryCode(const char* value) { SetCategoryCode(value); return *this;}
170
172
176 inline const Aws::String& GetSeverityCode() const{ return m_severityCode; }
177 inline bool SeverityCodeHasBeenSet() const { return m_severityCodeHasBeenSet; }
178 inline void SetSeverityCode(const Aws::String& value) { m_severityCodeHasBeenSet = true; m_severityCode = value; }
179 inline void SetSeverityCode(Aws::String&& value) { m_severityCodeHasBeenSet = true; m_severityCode = std::move(value); }
180 inline void SetSeverityCode(const char* value) { m_severityCodeHasBeenSet = true; m_severityCode.assign(value); }
181 inline CaseDetails& WithSeverityCode(const Aws::String& value) { SetSeverityCode(value); return *this;}
182 inline CaseDetails& WithSeverityCode(Aws::String&& value) { SetSeverityCode(std::move(value)); return *this;}
183 inline CaseDetails& WithSeverityCode(const char* value) { SetSeverityCode(value); return *this;}
185
187
190 inline const Aws::String& GetSubmittedBy() const{ return m_submittedBy; }
191 inline bool SubmittedByHasBeenSet() const { return m_submittedByHasBeenSet; }
192 inline void SetSubmittedBy(const Aws::String& value) { m_submittedByHasBeenSet = true; m_submittedBy = value; }
193 inline void SetSubmittedBy(Aws::String&& value) { m_submittedByHasBeenSet = true; m_submittedBy = std::move(value); }
194 inline void SetSubmittedBy(const char* value) { m_submittedByHasBeenSet = true; m_submittedBy.assign(value); }
195 inline CaseDetails& WithSubmittedBy(const Aws::String& value) { SetSubmittedBy(value); return *this;}
196 inline CaseDetails& WithSubmittedBy(Aws::String&& value) { SetSubmittedBy(std::move(value)); return *this;}
197 inline CaseDetails& WithSubmittedBy(const char* value) { SetSubmittedBy(value); return *this;}
199
201
205 inline const Aws::String& GetTimeCreated() const{ return m_timeCreated; }
206 inline bool TimeCreatedHasBeenSet() const { return m_timeCreatedHasBeenSet; }
207 inline void SetTimeCreated(const Aws::String& value) { m_timeCreatedHasBeenSet = true; m_timeCreated = value; }
208 inline void SetTimeCreated(Aws::String&& value) { m_timeCreatedHasBeenSet = true; m_timeCreated = std::move(value); }
209 inline void SetTimeCreated(const char* value) { m_timeCreatedHasBeenSet = true; m_timeCreated.assign(value); }
210 inline CaseDetails& WithTimeCreated(const Aws::String& value) { SetTimeCreated(value); return *this;}
211 inline CaseDetails& WithTimeCreated(Aws::String&& value) { SetTimeCreated(std::move(value)); return *this;}
212 inline CaseDetails& WithTimeCreated(const char* value) { SetTimeCreated(value); return *this;}
214
216
222 inline const RecentCaseCommunications& GetRecentCommunications() const{ return m_recentCommunications; }
223 inline bool RecentCommunicationsHasBeenSet() const { return m_recentCommunicationsHasBeenSet; }
224 inline void SetRecentCommunications(const RecentCaseCommunications& value) { m_recentCommunicationsHasBeenSet = true; m_recentCommunications = value; }
225 inline void SetRecentCommunications(RecentCaseCommunications&& value) { m_recentCommunicationsHasBeenSet = true; m_recentCommunications = std::move(value); }
229
231
234 inline const Aws::Vector<Aws::String>& GetCcEmailAddresses() const{ return m_ccEmailAddresses; }
235 inline bool CcEmailAddressesHasBeenSet() const { return m_ccEmailAddressesHasBeenSet; }
236 inline void SetCcEmailAddresses(const Aws::Vector<Aws::String>& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses = value; }
237 inline void SetCcEmailAddresses(Aws::Vector<Aws::String>&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses = std::move(value); }
239 inline CaseDetails& WithCcEmailAddresses(Aws::Vector<Aws::String>&& value) { SetCcEmailAddresses(std::move(value)); return *this;}
240 inline CaseDetails& AddCcEmailAddresses(const Aws::String& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.push_back(value); return *this; }
241 inline CaseDetails& AddCcEmailAddresses(Aws::String&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.push_back(std::move(value)); return *this; }
242 inline CaseDetails& AddCcEmailAddresses(const char* value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.push_back(value); return *this; }
244
246
252 inline const Aws::String& GetLanguage() const{ return m_language; }
253 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
254 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
255 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
256 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
257 inline CaseDetails& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
258 inline CaseDetails& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
259 inline CaseDetails& WithLanguage(const char* value) { SetLanguage(value); return *this;}
261 private:
262
263 Aws::String m_caseId;
264 bool m_caseIdHasBeenSet = false;
265
266 Aws::String m_displayId;
267 bool m_displayIdHasBeenSet = false;
268
269 Aws::String m_subject;
270 bool m_subjectHasBeenSet = false;
271
272 Aws::String m_status;
273 bool m_statusHasBeenSet = false;
274
275 Aws::String m_serviceCode;
276 bool m_serviceCodeHasBeenSet = false;
277
278 Aws::String m_categoryCode;
279 bool m_categoryCodeHasBeenSet = false;
280
281 Aws::String m_severityCode;
282 bool m_severityCodeHasBeenSet = false;
283
284 Aws::String m_submittedBy;
285 bool m_submittedByHasBeenSet = false;
286
287 Aws::String m_timeCreated;
288 bool m_timeCreatedHasBeenSet = false;
289
290 RecentCaseCommunications m_recentCommunications;
291 bool m_recentCommunicationsHasBeenSet = false;
292
293 Aws::Vector<Aws::String> m_ccEmailAddresses;
294 bool m_ccEmailAddressesHasBeenSet = false;
295
296 Aws::String m_language;
297 bool m_languageHasBeenSet = false;
298 };
299
300} // namespace Model
301} // namespace Support
302} // namespace Aws
const Aws::String & GetCategoryCode() const
CaseDetails & WithSubject(Aws::String &&value)
void SetStatus(Aws::String &&value)
CaseDetails & WithSubmittedBy(Aws::String &&value)
CaseDetails & AddCcEmailAddresses(const char *value)
void SetTimeCreated(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCcEmailAddresses() const
CaseDetails & WithRecentCommunications(RecentCaseCommunications &&value)
void SetCcEmailAddresses(Aws::Vector< Aws::String > &&value)
CaseDetails & WithCaseId(const char *value)
Definition CaseDetails.h:90
CaseDetails & WithCaseId(const Aws::String &value)
Definition CaseDetails.h:88
CaseDetails & WithDisplayId(const Aws::String &value)
CaseDetails & WithCategoryCode(const char *value)
CaseDetails & WithCategoryCode(Aws::String &&value)
void SetRecentCommunications(const RecentCaseCommunications &value)
CaseDetails & WithDisplayId(Aws::String &&value)
CaseDetails & WithTimeCreated(const char *value)
void SetCaseId(Aws::String &&value)
Definition CaseDetails.h:86
void SetSeverityCode(const char *value)
const Aws::String & GetDisplayId() const
Definition CaseDetails.h:98
CaseDetails & WithTimeCreated(const Aws::String &value)
void SetCcEmailAddresses(const Aws::Vector< Aws::String > &value)
CaseDetails & WithStatus(Aws::String &&value)
const Aws::String & GetSeverityCode() const
void SetSubmittedBy(Aws::String &&value)
const Aws::String & GetCaseId() const
Definition CaseDetails.h:83
CaseDetails & WithSubject(const char *value)
void SetTimeCreated(const Aws::String &value)
void SetSeverityCode(Aws::String &&value)
CaseDetails & AddCcEmailAddresses(Aws::String &&value)
void SetDisplayId(const Aws::String &value)
void SetSubject(const Aws::String &value)
const RecentCaseCommunications & GetRecentCommunications() const
void SetServiceCode(Aws::String &&value)
void SetLanguage(const Aws::String &value)
void SetLanguage(Aws::String &&value)
void SetTimeCreated(const char *value)
const Aws::String & GetStatus() const
const Aws::String & GetServiceCode() const
CaseDetails & WithCaseId(Aws::String &&value)
Definition CaseDetails.h:89
void SetSubject(const char *value)
void SetSubmittedBy(const Aws::String &value)
CaseDetails & WithSubmittedBy(const Aws::String &value)
const Aws::String & GetTimeCreated() const
CaseDetails & WithSeverityCode(Aws::String &&value)
AWS_SUPPORT_API CaseDetails(Aws::Utils::Json::JsonView jsonValue)
CaseDetails & WithLanguage(const char *value)
const Aws::String & GetSubject() const
CaseDetails & WithSeverityCode(const Aws::String &value)
CaseDetails & WithDisplayId(const char *value)
CaseDetails & AddCcEmailAddresses(const Aws::String &value)
CaseDetails & WithLanguage(const Aws::String &value)
CaseDetails & WithStatus(const Aws::String &value)
void SetCategoryCode(Aws::String &&value)
CaseDetails & WithCcEmailAddresses(Aws::Vector< Aws::String > &&value)
void SetServiceCode(const char *value)
void SetCaseId(const char *value)
Definition CaseDetails.h:87
void SetServiceCode(const Aws::String &value)
CaseDetails & WithServiceCode(const char *value)
const Aws::String & GetLanguage() const
CaseDetails & WithCategoryCode(const Aws::String &value)
const Aws::String & GetSubmittedBy() const
CaseDetails & WithServiceCode(const Aws::String &value)
CaseDetails & WithSubmittedBy(const char *value)
CaseDetails & WithStatus(const char *value)
void SetCategoryCode(const Aws::String &value)
void SetDisplayId(const char *value)
void SetSubject(Aws::String &&value)
void SetDisplayId(Aws::String &&value)
CaseDetails & WithCcEmailAddresses(const Aws::Vector< Aws::String > &value)
void SetSubmittedBy(const char *value)
CaseDetails & WithSeverityCode(const char *value)
AWS_SUPPORT_API CaseDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const char *value)
CaseDetails & WithTimeCreated(Aws::String &&value)
CaseDetails & WithServiceCode(Aws::String &&value)
CaseDetails & WithRecentCommunications(const RecentCaseCommunications &value)
bool RecentCommunicationsHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetRecentCommunications(RecentCaseCommunications &&value)
CaseDetails & WithLanguage(Aws::String &&value)
void SetSeverityCode(const Aws::String &value)
void SetLanguage(const char *value)
CaseDetails & WithSubject(const Aws::String &value)
void SetCaseId(const Aws::String &value)
Definition CaseDetails.h:85
void SetCategoryCode(const char *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