AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListCasesItem.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/security-ir/model/EngagementType.h>
11#include <aws/security-ir/model/CaseStatus.h>
12#include <aws/security-ir/model/ResolverType.h>
13#include <aws/security-ir/model/PendingAction.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SecurityIR
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SECURITYIR_API ListCasesItem() = default;
40 AWS_SECURITYIR_API ListCasesItem(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SECURITYIR_API ListCasesItem& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetCaseId() const { return m_caseId; }
50 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
51 template<typename CaseIdT = Aws::String>
52 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
53 template<typename CaseIdT = Aws::String>
54 ListCasesItem& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
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) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
65 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
66 ListCasesItem& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
68
70
73 inline const Aws::String& GetTitle() const { return m_title; }
74 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
75 template<typename TitleT = Aws::String>
76 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
77 template<typename TitleT = Aws::String>
78 ListCasesItem& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
80
82
85 inline const Aws::String& GetCaseArn() const { return m_caseArn; }
86 inline bool CaseArnHasBeenSet() const { return m_caseArnHasBeenSet; }
87 template<typename CaseArnT = Aws::String>
88 void SetCaseArn(CaseArnT&& value) { m_caseArnHasBeenSet = true; m_caseArn = std::forward<CaseArnT>(value); }
89 template<typename CaseArnT = Aws::String>
90 ListCasesItem& WithCaseArn(CaseArnT&& value) { SetCaseArn(std::forward<CaseArnT>(value)); return *this;}
92
94
97 inline EngagementType GetEngagementType() const { return m_engagementType; }
98 inline bool EngagementTypeHasBeenSet() const { return m_engagementTypeHasBeenSet; }
99 inline void SetEngagementType(EngagementType value) { m_engagementTypeHasBeenSet = true; m_engagementType = value; }
100 inline ListCasesItem& WithEngagementType(EngagementType value) { SetEngagementType(value); return *this;}
102
104
107 inline CaseStatus GetCaseStatus() const { return m_caseStatus; }
108 inline bool CaseStatusHasBeenSet() const { return m_caseStatusHasBeenSet; }
109 inline void SetCaseStatus(CaseStatus value) { m_caseStatusHasBeenSet = true; m_caseStatus = value; }
110 inline ListCasesItem& WithCaseStatus(CaseStatus value) { SetCaseStatus(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
118 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
119 template<typename CreatedDateT = Aws::Utils::DateTime>
120 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
121 template<typename CreatedDateT = Aws::Utils::DateTime>
122 ListCasesItem& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetClosedDate() const { return m_closedDate; }
130 inline bool ClosedDateHasBeenSet() const { return m_closedDateHasBeenSet; }
131 template<typename ClosedDateT = Aws::Utils::DateTime>
132 void SetClosedDate(ClosedDateT&& value) { m_closedDateHasBeenSet = true; m_closedDate = std::forward<ClosedDateT>(value); }
133 template<typename ClosedDateT = Aws::Utils::DateTime>
134 ListCasesItem& WithClosedDate(ClosedDateT&& value) { SetClosedDate(std::forward<ClosedDateT>(value)); return *this;}
136
138
141 inline ResolverType GetResolverType() const { return m_resolverType; }
142 inline bool ResolverTypeHasBeenSet() const { return m_resolverTypeHasBeenSet; }
143 inline void SetResolverType(ResolverType value) { m_resolverTypeHasBeenSet = true; m_resolverType = value; }
144 inline ListCasesItem& WithResolverType(ResolverType value) { SetResolverType(value); return *this;}
146
148
151 inline PendingAction GetPendingAction() const { return m_pendingAction; }
152 inline bool PendingActionHasBeenSet() const { return m_pendingActionHasBeenSet; }
153 inline void SetPendingAction(PendingAction value) { m_pendingActionHasBeenSet = true; m_pendingAction = value; }
154 inline ListCasesItem& WithPendingAction(PendingAction value) { SetPendingAction(value); return *this;}
156 private:
157
158 Aws::String m_caseId;
159 bool m_caseIdHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastUpdatedDate{};
162 bool m_lastUpdatedDateHasBeenSet = false;
163
164 Aws::String m_title;
165 bool m_titleHasBeenSet = false;
166
167 Aws::String m_caseArn;
168 bool m_caseArnHasBeenSet = false;
169
170 EngagementType m_engagementType{EngagementType::NOT_SET};
171 bool m_engagementTypeHasBeenSet = false;
172
173 CaseStatus m_caseStatus{CaseStatus::NOT_SET};
174 bool m_caseStatusHasBeenSet = false;
175
176 Aws::Utils::DateTime m_createdDate{};
177 bool m_createdDateHasBeenSet = false;
178
179 Aws::Utils::DateTime m_closedDate{};
180 bool m_closedDateHasBeenSet = false;
181
182 ResolverType m_resolverType{ResolverType::NOT_SET};
183 bool m_resolverTypeHasBeenSet = false;
184
185 PendingAction m_pendingAction{PendingAction::NOT_SET};
186 bool m_pendingActionHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace SecurityIR
191} // 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