AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ListCasesItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/SecurityIR_EXPORTS.h>
10#include <aws/security-ir/model/CaseStatus.h>
11#include <aws/security-ir/model/EngagementType.h>
12#include <aws/security-ir/model/PendingAction.h>
13#include <aws/security-ir/model/ResolverType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityIR {
25namespace Model {
26
33 public:
34 AWS_SECURITYIR_API ListCasesItem() = default;
35 AWS_SECURITYIR_API ListCasesItem(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYIR_API ListCasesItem& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetCaseId() const { return m_caseId; }
44 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
45 template <typename CaseIdT = Aws::String>
46 void SetCaseId(CaseIdT&& value) {
47 m_caseIdHasBeenSet = true;
48 m_caseId = std::forward<CaseIdT>(value);
49 }
50 template <typename CaseIdT = Aws::String>
51 ListCasesItem& WithCaseId(CaseIdT&& value) {
52 SetCaseId(std::forward<CaseIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
62 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
63 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
64 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
65 m_lastUpdatedDateHasBeenSet = true;
66 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
67 }
68 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
69 ListCasesItem& WithLastUpdatedDate(LastUpdatedDateT&& value) {
70 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetTitle() const { return m_title; }
80 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
81 template <typename TitleT = Aws::String>
82 void SetTitle(TitleT&& value) {
83 m_titleHasBeenSet = true;
84 m_title = std::forward<TitleT>(value);
85 }
86 template <typename TitleT = Aws::String>
87 ListCasesItem& WithTitle(TitleT&& value) {
88 SetTitle(std::forward<TitleT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetCaseArn() const { return m_caseArn; }
98 inline bool CaseArnHasBeenSet() const { return m_caseArnHasBeenSet; }
99 template <typename CaseArnT = Aws::String>
100 void SetCaseArn(CaseArnT&& value) {
101 m_caseArnHasBeenSet = true;
102 m_caseArn = std::forward<CaseArnT>(value);
103 }
104 template <typename CaseArnT = Aws::String>
105 ListCasesItem& WithCaseArn(CaseArnT&& value) {
106 SetCaseArn(std::forward<CaseArnT>(value));
107 return *this;
108 }
110
112
115 inline EngagementType GetEngagementType() const { return m_engagementType; }
116 inline bool EngagementTypeHasBeenSet() const { return m_engagementTypeHasBeenSet; }
118 m_engagementTypeHasBeenSet = true;
119 m_engagementType = value;
120 }
122 SetEngagementType(value);
123 return *this;
124 }
126
128
131 inline CaseStatus GetCaseStatus() const { return m_caseStatus; }
132 inline bool CaseStatusHasBeenSet() const { return m_caseStatusHasBeenSet; }
133 inline void SetCaseStatus(CaseStatus value) {
134 m_caseStatusHasBeenSet = true;
135 m_caseStatus = value;
136 }
138 SetCaseStatus(value);
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
148 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
149 template <typename CreatedDateT = Aws::Utils::DateTime>
150 void SetCreatedDate(CreatedDateT&& value) {
151 m_createdDateHasBeenSet = true;
152 m_createdDate = std::forward<CreatedDateT>(value);
153 }
154 template <typename CreatedDateT = Aws::Utils::DateTime>
155 ListCasesItem& WithCreatedDate(CreatedDateT&& value) {
156 SetCreatedDate(std::forward<CreatedDateT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetClosedDate() const { return m_closedDate; }
166 inline bool ClosedDateHasBeenSet() const { return m_closedDateHasBeenSet; }
167 template <typename ClosedDateT = Aws::Utils::DateTime>
168 void SetClosedDate(ClosedDateT&& value) {
169 m_closedDateHasBeenSet = true;
170 m_closedDate = std::forward<ClosedDateT>(value);
171 }
172 template <typename ClosedDateT = Aws::Utils::DateTime>
173 ListCasesItem& WithClosedDate(ClosedDateT&& value) {
174 SetClosedDate(std::forward<ClosedDateT>(value));
175 return *this;
176 }
178
180
183 inline ResolverType GetResolverType() const { return m_resolverType; }
184 inline bool ResolverTypeHasBeenSet() const { return m_resolverTypeHasBeenSet; }
185 inline void SetResolverType(ResolverType value) {
186 m_resolverTypeHasBeenSet = true;
187 m_resolverType = value;
188 }
190 SetResolverType(value);
191 return *this;
192 }
194
196
199 inline PendingAction GetPendingAction() const { return m_pendingAction; }
200 inline bool PendingActionHasBeenSet() const { return m_pendingActionHasBeenSet; }
201 inline void SetPendingAction(PendingAction value) {
202 m_pendingActionHasBeenSet = true;
203 m_pendingAction = value;
204 }
206 SetPendingAction(value);
207 return *this;
208 }
210 private:
211 Aws::String m_caseId;
212
213 Aws::Utils::DateTime m_lastUpdatedDate{};
214
215 Aws::String m_title;
216
217 Aws::String m_caseArn;
218
219 EngagementType m_engagementType{EngagementType::NOT_SET};
220
221 CaseStatus m_caseStatus{CaseStatus::NOT_SET};
222
223 Aws::Utils::DateTime m_createdDate{};
224
225 Aws::Utils::DateTime m_closedDate{};
226
227 ResolverType m_resolverType{ResolverType::NOT_SET};
228
229 PendingAction m_pendingAction{PendingAction::NOT_SET};
230 bool m_caseIdHasBeenSet = false;
231 bool m_lastUpdatedDateHasBeenSet = false;
232 bool m_titleHasBeenSet = false;
233 bool m_caseArnHasBeenSet = false;
234 bool m_engagementTypeHasBeenSet = false;
235 bool m_caseStatusHasBeenSet = false;
236 bool m_createdDateHasBeenSet = false;
237 bool m_closedDateHasBeenSet = false;
238 bool m_resolverTypeHasBeenSet = false;
239 bool m_pendingActionHasBeenSet = false;
240};
241
242} // namespace Model
243} // namespace SecurityIR
244} // namespace Aws
ListCasesItem & WithEngagementType(EngagementType value)
AWS_SECURITYIR_API ListCasesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ListCasesItem & WithResolverType(ResolverType value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
ListCasesItem & WithCaseArn(CaseArnT &&value)
ListCasesItem & WithCaseId(CaseIdT &&value)
ListCasesItem & WithPendingAction(PendingAction value)
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
ListCasesItem & WithClosedDate(ClosedDateT &&value)
void SetResolverType(ResolverType value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
void SetEngagementType(EngagementType value)
ListCasesItem & WithCaseStatus(CaseStatus value)
const Aws::String & GetCaseId() const
AWS_SECURITYIR_API ListCasesItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCaseArn() const
void SetPendingAction(PendingAction value)
ListCasesItem & WithCreatedDate(CreatedDateT &&value)
AWS_SECURITYIR_API ListCasesItem()=default
ListCasesItem & WithTitle(TitleT &&value)
EngagementType GetEngagementType() const
const Aws::String & GetTitle() const
void SetCreatedDate(CreatedDateT &&value)
const Aws::Utils::DateTime & GetClosedDate() const
void SetClosedDate(ClosedDateT &&value)
ListCasesItem & WithLastUpdatedDate(LastUpdatedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue