AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CaseIdT = Aws::String>
86 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
87 template<typename CaseIdT = Aws::String>
88 CaseDetails& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
90
92
96 inline const Aws::String& GetDisplayId() const { return m_displayId; }
97 inline bool DisplayIdHasBeenSet() const { return m_displayIdHasBeenSet; }
98 template<typename DisplayIdT = Aws::String>
99 void SetDisplayId(DisplayIdT&& value) { m_displayIdHasBeenSet = true; m_displayId = std::forward<DisplayIdT>(value); }
100 template<typename DisplayIdT = Aws::String>
101 CaseDetails& WithDisplayId(DisplayIdT&& value) { SetDisplayId(std::forward<DisplayIdT>(value)); return *this;}
103
105
108 inline const Aws::String& GetSubject() const { return m_subject; }
109 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
110 template<typename SubjectT = Aws::String>
111 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet = true; m_subject = std::forward<SubjectT>(value); }
112 template<typename SubjectT = Aws::String>
113 CaseDetails& WithSubject(SubjectT&& value) { SetSubject(std::forward<SubjectT>(value)); return *this;}
115
117
126 inline const Aws::String& GetStatus() const { return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 template<typename StatusT = Aws::String>
129 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
130 template<typename StatusT = Aws::String>
131 CaseDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
133
135
139 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
140 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
141 template<typename ServiceCodeT = Aws::String>
142 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
143 template<typename ServiceCodeT = Aws::String>
144 CaseDetails& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
146
148
151 inline const Aws::String& GetCategoryCode() const { return m_categoryCode; }
152 inline bool CategoryCodeHasBeenSet() const { return m_categoryCodeHasBeenSet; }
153 template<typename CategoryCodeT = Aws::String>
154 void SetCategoryCode(CategoryCodeT&& value) { m_categoryCodeHasBeenSet = true; m_categoryCode = std::forward<CategoryCodeT>(value); }
155 template<typename CategoryCodeT = Aws::String>
156 CaseDetails& WithCategoryCode(CategoryCodeT&& value) { SetCategoryCode(std::forward<CategoryCodeT>(value)); return *this;}
158
160
164 inline const Aws::String& GetSeverityCode() const { return m_severityCode; }
165 inline bool SeverityCodeHasBeenSet() const { return m_severityCodeHasBeenSet; }
166 template<typename SeverityCodeT = Aws::String>
167 void SetSeverityCode(SeverityCodeT&& value) { m_severityCodeHasBeenSet = true; m_severityCode = std::forward<SeverityCodeT>(value); }
168 template<typename SeverityCodeT = Aws::String>
169 CaseDetails& WithSeverityCode(SeverityCodeT&& value) { SetSeverityCode(std::forward<SeverityCodeT>(value)); return *this;}
171
173
176 inline const Aws::String& GetSubmittedBy() const { return m_submittedBy; }
177 inline bool SubmittedByHasBeenSet() const { return m_submittedByHasBeenSet; }
178 template<typename SubmittedByT = Aws::String>
179 void SetSubmittedBy(SubmittedByT&& value) { m_submittedByHasBeenSet = true; m_submittedBy = std::forward<SubmittedByT>(value); }
180 template<typename SubmittedByT = Aws::String>
181 CaseDetails& WithSubmittedBy(SubmittedByT&& value) { SetSubmittedBy(std::forward<SubmittedByT>(value)); return *this;}
183
185
189 inline const Aws::String& GetTimeCreated() const { return m_timeCreated; }
190 inline bool TimeCreatedHasBeenSet() const { return m_timeCreatedHasBeenSet; }
191 template<typename TimeCreatedT = Aws::String>
192 void SetTimeCreated(TimeCreatedT&& value) { m_timeCreatedHasBeenSet = true; m_timeCreated = std::forward<TimeCreatedT>(value); }
193 template<typename TimeCreatedT = Aws::String>
194 CaseDetails& WithTimeCreated(TimeCreatedT&& value) { SetTimeCreated(std::forward<TimeCreatedT>(value)); return *this;}
196
198
204 inline const RecentCaseCommunications& GetRecentCommunications() const { return m_recentCommunications; }
205 inline bool RecentCommunicationsHasBeenSet() const { return m_recentCommunicationsHasBeenSet; }
206 template<typename RecentCommunicationsT = RecentCaseCommunications>
207 void SetRecentCommunications(RecentCommunicationsT&& value) { m_recentCommunicationsHasBeenSet = true; m_recentCommunications = std::forward<RecentCommunicationsT>(value); }
208 template<typename RecentCommunicationsT = RecentCaseCommunications>
209 CaseDetails& WithRecentCommunications(RecentCommunicationsT&& value) { SetRecentCommunications(std::forward<RecentCommunicationsT>(value)); return *this;}
211
213
216 inline const Aws::Vector<Aws::String>& GetCcEmailAddresses() const { return m_ccEmailAddresses; }
217 inline bool CcEmailAddressesHasBeenSet() const { return m_ccEmailAddressesHasBeenSet; }
218 template<typename CcEmailAddressesT = Aws::Vector<Aws::String>>
219 void SetCcEmailAddresses(CcEmailAddressesT&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses = std::forward<CcEmailAddressesT>(value); }
220 template<typename CcEmailAddressesT = Aws::Vector<Aws::String>>
221 CaseDetails& WithCcEmailAddresses(CcEmailAddressesT&& value) { SetCcEmailAddresses(std::forward<CcEmailAddressesT>(value)); return *this;}
222 template<typename CcEmailAddressesT = Aws::String>
223 CaseDetails& AddCcEmailAddresses(CcEmailAddressesT&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.emplace_back(std::forward<CcEmailAddressesT>(value)); return *this; }
225
227
233 inline const Aws::String& GetLanguage() const { return m_language; }
234 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
235 template<typename LanguageT = Aws::String>
236 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet = true; m_language = std::forward<LanguageT>(value); }
237 template<typename LanguageT = Aws::String>
238 CaseDetails& WithLanguage(LanguageT&& value) { SetLanguage(std::forward<LanguageT>(value)); return *this;}
240 private:
241
242 Aws::String m_caseId;
243 bool m_caseIdHasBeenSet = false;
244
245 Aws::String m_displayId;
246 bool m_displayIdHasBeenSet = false;
247
248 Aws::String m_subject;
249 bool m_subjectHasBeenSet = false;
250
251 Aws::String m_status;
252 bool m_statusHasBeenSet = false;
253
254 Aws::String m_serviceCode;
255 bool m_serviceCodeHasBeenSet = false;
256
257 Aws::String m_categoryCode;
258 bool m_categoryCodeHasBeenSet = false;
259
260 Aws::String m_severityCode;
261 bool m_severityCodeHasBeenSet = false;
262
263 Aws::String m_submittedBy;
264 bool m_submittedByHasBeenSet = false;
265
266 Aws::String m_timeCreated;
267 bool m_timeCreatedHasBeenSet = false;
268
269 RecentCaseCommunications m_recentCommunications;
270 bool m_recentCommunicationsHasBeenSet = false;
271
272 Aws::Vector<Aws::String> m_ccEmailAddresses;
273 bool m_ccEmailAddressesHasBeenSet = false;
274
275 Aws::String m_language;
276 bool m_languageHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace Support
281} // namespace Aws
void SetSubject(SubjectT &&value)
void SetSeverityCode(SeverityCodeT &&value)
const Aws::String & GetCategoryCode() const
CaseDetails & WithDisplayId(DisplayIdT &&value)
CaseDetails & WithServiceCode(ServiceCodeT &&value)
const Aws::Vector< Aws::String > & GetCcEmailAddresses() const
CaseDetails & WithCategoryCode(CategoryCodeT &&value)
CaseDetails & WithSeverityCode(SeverityCodeT &&value)
void SetStatus(StatusT &&value)
void SetLanguage(LanguageT &&value)
const Aws::String & GetDisplayId() const
Definition CaseDetails.h:96
CaseDetails & WithStatus(StatusT &&value)
const Aws::String & GetSeverityCode() const
const Aws::String & GetCaseId() const
Definition CaseDetails.h:83
void SetCaseId(CaseIdT &&value)
Definition CaseDetails.h:86
CaseDetails & AddCcEmailAddresses(CcEmailAddressesT &&value)
const RecentCaseCommunications & GetRecentCommunications() const
void SetSubmittedBy(SubmittedByT &&value)
CaseDetails & WithSubject(SubjectT &&value)
const Aws::String & GetStatus() const
const Aws::String & GetServiceCode() const
void SetCcEmailAddresses(CcEmailAddressesT &&value)
void SetTimeCreated(TimeCreatedT &&value)
CaseDetails & WithCaseId(CaseIdT &&value)
Definition CaseDetails.h:88
void SetRecentCommunications(RecentCommunicationsT &&value)
const Aws::String & GetTimeCreated() const
AWS_SUPPORT_API CaseDetails(Aws::Utils::Json::JsonView jsonValue)
void SetCategoryCode(CategoryCodeT &&value)
const Aws::String & GetSubject() const
CaseDetails & WithLanguage(LanguageT &&value)
const Aws::String & GetLanguage() const
const Aws::String & GetSubmittedBy() const
CaseDetails & WithCcEmailAddresses(CcEmailAddressesT &&value)
AWS_SUPPORT_API CaseDetails()=default
void SetDisplayId(DisplayIdT &&value)
Definition CaseDetails.h:99
AWS_SUPPORT_API CaseDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecentCommunicationsHasBeenSet() const
CaseDetails & WithRecentCommunications(RecentCommunicationsT &&value)
CaseDetails & WithTimeCreated(TimeCreatedT &&value)
CaseDetails & WithSubmittedBy(SubmittedByT &&value)
void SetServiceCode(ServiceCodeT &&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