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/CloudDetails.h>
11#include <aws/guardduty/model/Confidence.h>
12#include <aws/guardduty/model/InvestigationMetadata.h>
13#include <aws/guardduty/model/InvestigationStatus.h>
14#include <aws/guardduty/model/RiskLevel.h>
47 template <
typename InvestigationIdT = Aws::String>
49 m_investigationIdHasBeenSet =
true;
50 m_investigationId = std::forward<InvestigationIdT>(value);
52 template <
typename InvestigationIdT = Aws::String>
67 m_statusHasBeenSet =
true;
82 template <
typename TriggerPromptT = Aws::String>
84 m_triggerPromptHasBeenSet =
true;
85 m_triggerPrompt = std::forward<TriggerPromptT>(value);
87 template <
typename TriggerPromptT = Aws::String>
100 template <
typename TriggeredByT = Aws::String>
102 m_triggeredByHasBeenSet =
true;
103 m_triggeredBy = std::forward<TriggeredByT>(value);
105 template <
typename TriggeredByT = Aws::String>
118 template <
typename MetadataT = InvestigationMetadata>
120 m_metadataHasBeenSet =
true;
121 m_metadata = std::forward<MetadataT>(value);
123 template <
typename MetadataT = InvestigationMetadata>
137 template <
typename CloudT = CloudDetails>
139 m_cloudHasBeenSet =
true;
140 m_cloud = std::forward<CloudT>(value);
142 template <
typename CloudT = CloudDetails>
144 SetCloud(std::forward<CloudT>(value));
158 m_riskLevelHasBeenSet =
true;
173 template <
typename RiskT = Aws::String>
175 m_riskHasBeenSet =
true;
176 m_risk = std::forward<RiskT>(value);
178 template <
typename RiskT = Aws::String>
180 SetRisk(std::forward<RiskT>(value));
194 m_confidenceHasBeenSet =
true;
195 m_confidence = value;
210 template <
typename SummaryT = Aws::String>
212 m_summaryHasBeenSet =
true;
213 m_summary = std::forward<SummaryT>(value);
215 template <
typename SummaryT = Aws::String>
228 template <
typename StartTimeT = Aws::Utils::DateTime>
230 m_startTimeHasBeenSet =
true;
231 m_startTime = std::forward<StartTimeT>(value);
233 template <
typename StartTimeT = Aws::Utils::DateTime>
246 template <
typename EndTimeT = Aws::Utils::DateTime>
248 m_endTimeHasBeenSet =
true;
249 m_endTime = std::forward<EndTimeT>(value);
251 template <
typename EndTimeT = Aws::Utils::DateTime>
265 template <
typename ErrorT = Aws::String>
267 m_errorHasBeenSet =
true;
268 m_error = std::forward<ErrorT>(value);
270 template <
typename ErrorT = Aws::String>
272 SetError(std::forward<ErrorT>(value));
285 InvestigationMetadata m_metadata;
287 CloudDetails m_cloud;
302 bool m_investigationIdHasBeenSet =
false;
303 bool m_statusHasBeenSet =
false;
304 bool m_triggerPromptHasBeenSet =
false;
305 bool m_triggeredByHasBeenSet =
false;
306 bool m_metadataHasBeenSet =
false;
307 bool m_cloudHasBeenSet =
false;
308 bool m_riskLevelHasBeenSet =
false;
309 bool m_riskHasBeenSet =
false;
310 bool m_confidenceHasBeenSet =
false;
311 bool m_summaryHasBeenSet =
false;
312 bool m_startTimeHasBeenSet =
false;
313 bool m_endTimeHasBeenSet =
false;
314 bool m_errorHasBeenSet =
false;
RiskLevel GetRiskLevel() const
void SetTriggerPrompt(TriggerPromptT &&value)
Investigation & WithTriggeredBy(TriggeredByT &&value)
Investigation & WithRiskLevel(RiskLevel value)
AWS_GUARDDUTY_API Investigation(Aws::Utils::Json::JsonView jsonValue)
void SetInvestigationId(InvestigationIdT &&value)
bool ErrorHasBeenSet() const
Investigation & WithStartTime(StartTimeT &&value)
void SetStartTime(StartTimeT &&value)
const Aws::String & GetTriggerPrompt() const
Investigation & WithInvestigationId(InvestigationIdT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const InvestigationMetadata & GetMetadata() const
void SetTriggeredBy(TriggeredByT &&value)
bool StartTimeHasBeenSet() const
Investigation & WithCloud(CloudT &&value)
InvestigationStatus GetStatus() const
void SetRiskLevel(RiskLevel value)
bool RiskHasBeenSet() const
Investigation & WithConfidence(Confidence value)
bool MetadataHasBeenSet() const
void SetRisk(RiskT &&value)
void SetCloud(CloudT &&value)
bool CloudHasBeenSet() const
const CloudDetails & GetCloud() const
const Aws::String & GetInvestigationId() const
AWS_GUARDDUTY_API Investigation()=default
void SetStatus(InvestigationStatus value)
Investigation & WithStatus(InvestigationStatus value)
Investigation & WithError(ErrorT &&value)
const Aws::String & GetSummary() const
Confidence GetConfidence() const
bool TriggerPromptHasBeenSet() const
bool RiskLevelHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRisk() const
bool EndTimeHasBeenSet() const
Investigation & WithMetadata(MetadataT &&value)
Investigation & WithTriggerPrompt(TriggerPromptT &&value)
void SetError(ErrorT &&value)
Investigation & WithEndTime(EndTimeT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetError() const
bool ConfidenceHasBeenSet() const
void SetMetadata(MetadataT &&value)
Investigation & WithSummary(SummaryT &&value)
bool InvestigationIdHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
bool SummaryHasBeenSet() const
bool TriggeredByHasBeenSet() const
AWS_GUARDDUTY_API Investigation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSummary(SummaryT &&value)
void SetConfidence(Confidence value)
const Aws::String & GetTriggeredBy() const
bool StatusHasBeenSet() const
Investigation & WithRisk(RiskT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue