AWS SDK for C++

AWS SDK for C++ Version 1.11.857

Loading...
Searching...
No Matches
InvestigationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/Confidence.h>
11#include <aws/guardduty/model/InvestigationStatus.h>
12#include <aws/guardduty/model/RiskLevel.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty {
24namespace Model {
25
33 public:
34 AWS_GUARDDUTY_API InvestigationSummary() = default;
37 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
44 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
45 template <typename InvestigationIdT = Aws::String>
46 void SetInvestigationId(InvestigationIdT&& value) {
47 m_investigationIdHasBeenSet = true;
48 m_investigationId = std::forward<InvestigationIdT>(value);
49 }
50 template <typename InvestigationIdT = Aws::String>
51 InvestigationSummary& WithInvestigationId(InvestigationIdT&& value) {
52 SetInvestigationId(std::forward<InvestigationIdT>(value));
53 return *this;
54 }
56
58
61 inline InvestigationStatus GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(InvestigationStatus value) {
64 m_statusHasBeenSet = true;
65 m_status = value;
66 }
68 SetStatus(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetTriggerPrompt() const { return m_triggerPrompt; }
78 inline bool TriggerPromptHasBeenSet() const { return m_triggerPromptHasBeenSet; }
79 template <typename TriggerPromptT = Aws::String>
80 void SetTriggerPrompt(TriggerPromptT&& value) {
81 m_triggerPromptHasBeenSet = true;
82 m_triggerPrompt = std::forward<TriggerPromptT>(value);
83 }
84 template <typename TriggerPromptT = Aws::String>
85 InvestigationSummary& WithTriggerPrompt(TriggerPromptT&& value) {
86 SetTriggerPrompt(std::forward<TriggerPromptT>(value));
87 return *this;
88 }
90
92
95 inline RiskLevel GetRiskLevel() const { return m_riskLevel; }
96 inline bool RiskLevelHasBeenSet() const { return m_riskLevelHasBeenSet; }
97 inline void SetRiskLevel(RiskLevel value) {
98 m_riskLevelHasBeenSet = true;
99 m_riskLevel = value;
100 }
102 SetRiskLevel(value);
103 return *this;
104 }
106
108
111 inline Confidence GetConfidence() const { return m_confidence; }
112 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
113 inline void SetConfidence(Confidence value) {
114 m_confidenceHasBeenSet = true;
115 m_confidence = value;
116 }
118 SetConfidence(value);
119 return *this;
120 }
122
124
127 inline const Aws::String& GetTitle() const { return m_title; }
128 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
129 template <typename TitleT = Aws::String>
130 void SetTitle(TitleT&& value) {
131 m_titleHasBeenSet = true;
132 m_title = std::forward<TitleT>(value);
133 }
134 template <typename TitleT = Aws::String>
136 SetTitle(std::forward<TitleT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetAccountId() const { return m_accountId; }
146 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
147 template <typename AccountIdT = Aws::String>
148 void SetAccountId(AccountIdT&& value) {
149 m_accountIdHasBeenSet = true;
150 m_accountId = std::forward<AccountIdT>(value);
151 }
152 template <typename AccountIdT = Aws::String>
153 InvestigationSummary& WithAccountId(AccountIdT&& value) {
154 SetAccountId(std::forward<AccountIdT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
164 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
165 template <typename StartTimeT = Aws::Utils::DateTime>
166 void SetStartTime(StartTimeT&& value) {
167 m_startTimeHasBeenSet = true;
168 m_startTime = std::forward<StartTimeT>(value);
169 }
170 template <typename StartTimeT = Aws::Utils::DateTime>
171 InvestigationSummary& WithStartTime(StartTimeT&& value) {
172 SetStartTime(std::forward<StartTimeT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
182 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
183 template <typename EndTimeT = Aws::Utils::DateTime>
184 void SetEndTime(EndTimeT&& value) {
185 m_endTimeHasBeenSet = true;
186 m_endTime = std::forward<EndTimeT>(value);
187 }
188 template <typename EndTimeT = Aws::Utils::DateTime>
190 SetEndTime(std::forward<EndTimeT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_investigationId;
196
198
199 Aws::String m_triggerPrompt;
200
201 RiskLevel m_riskLevel{RiskLevel::NOT_SET};
202
203 Confidence m_confidence{Confidence::NOT_SET};
204
205 Aws::String m_title;
206
207 Aws::String m_accountId;
208
209 Aws::Utils::DateTime m_startTime{};
210
211 Aws::Utils::DateTime m_endTime{};
212 bool m_investigationIdHasBeenSet = false;
213 bool m_statusHasBeenSet = false;
214 bool m_triggerPromptHasBeenSet = false;
215 bool m_riskLevelHasBeenSet = false;
216 bool m_confidenceHasBeenSet = false;
217 bool m_titleHasBeenSet = false;
218 bool m_accountIdHasBeenSet = false;
219 bool m_startTimeHasBeenSet = false;
220 bool m_endTimeHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace GuardDuty
225} // namespace Aws
InvestigationSummary & WithTriggerPrompt(TriggerPromptT &&value)
AWS_GUARDDUTY_API InvestigationSummary()=default
InvestigationSummary & WithEndTime(EndTimeT &&value)
InvestigationSummary & WithStartTime(StartTimeT &&value)
InvestigationSummary & WithRiskLevel(RiskLevel value)
InvestigationSummary & WithTitle(TitleT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetEndTime() const
InvestigationSummary & WithStatus(InvestigationStatus value)
InvestigationSummary & WithInvestigationId(InvestigationIdT &&value)
InvestigationSummary & WithAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API InvestigationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
InvestigationSummary & WithConfidence(Confidence value)
AWS_GUARDDUTY_API InvestigationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetInvestigationId(InvestigationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue