7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/model/Severity.h>
10#include <aws/detective/model/Status.h>
11#include <aws/detective/model/State.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/detective/model/EntityType.h>
52 template<
typename InvestigationIdT = Aws::String>
53 void SetInvestigationId(InvestigationIdT&& value) { m_investigationIdHasBeenSet =
true; m_investigationId = std::forward<InvestigationIdT>(value); }
54 template<
typename InvestigationIdT = Aws::String>
75 inline void SetStatus(
Status value) { m_statusHasBeenSet =
true; m_status = value; }
86 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
98 template<
typename CreatedTimeT = Aws::Utils::DateTime>
99 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
100 template<
typename CreatedTimeT = Aws::Utils::DateTime>
110 template<
typename EntityArnT = Aws::String>
111 void SetEntityArn(EntityArnT&& value) { m_entityArnHasBeenSet =
true; m_entityArn = std::forward<EntityArnT>(value); }
112 template<
typename EntityArnT = Aws::String>
129 bool m_investigationIdHasBeenSet =
false;
132 bool m_severityHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
138 bool m_stateHasBeenSet =
false;
141 bool m_createdTimeHasBeenSet =
false;
144 bool m_entityArnHasBeenSet =
false;
147 bool m_entityTypeHasBeenSet =
false;
InvestigationDetail & WithCreatedTime(CreatedTimeT &&value)
bool InvestigationIdHasBeenSet() const
void SetEntityType(EntityType value)
InvestigationDetail & WithEntityArn(EntityArnT &&value)
InvestigationDetail & WithStatus(Status value)
bool StateHasBeenSet() const
void SetState(State value)
bool EntityArnHasBeenSet() const
InvestigationDetail & WithEntityType(EntityType value)
void SetInvestigationId(InvestigationIdT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeverity(Severity value)
const Aws::String & GetInvestigationId() const
bool EntityTypeHasBeenSet() const
bool SeverityHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
InvestigationDetail & WithSeverity(Severity value)
AWS_DETECTIVE_API InvestigationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API InvestigationDetail()=default
InvestigationDetail & WithState(State value)
void SetStatus(Status value)
const Aws::String & GetEntityArn() const
bool CreatedTimeHasBeenSet() const
void SetEntityArn(EntityArnT &&value)
EntityType GetEntityType() const
InvestigationDetail & WithInvestigationId(InvestigationIdT &&value)
bool StatusHasBeenSet() const
Severity GetSeverity() const
AWS_DETECTIVE_API InvestigationDetail(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue