AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvestigationDetail.h
1
6#pragma once
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>
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 Detective
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_DETECTIVE_API InvestigationDetail() = default;
41 AWS_DETECTIVE_API InvestigationDetail(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
51 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
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>
55 InvestigationDetail& WithInvestigationId(InvestigationIdT&& value) { SetInvestigationId(std::forward<InvestigationIdT>(value)); return *this;}
57
59
63 inline Severity GetSeverity() const { return m_severity; }
64 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
65 inline void SetSeverity(Severity value) { m_severityHasBeenSet = true; m_severity = value; }
66 inline InvestigationDetail& WithSeverity(Severity value) { SetSeverity(value); return *this;}
68
70
73 inline Status GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
76 inline InvestigationDetail& WithStatus(Status value) { SetStatus(value); return *this;}
78
80
84 inline State GetState() const { return m_state; }
85 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
86 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
87 inline InvestigationDetail& WithState(State value) { SetState(value); return *this;}
89
91
96 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
97 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
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>
101 InvestigationDetail& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
103
105
108 inline const Aws::String& GetEntityArn() const { return m_entityArn; }
109 inline bool EntityArnHasBeenSet() const { return m_entityArnHasBeenSet; }
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>
113 InvestigationDetail& WithEntityArn(EntityArnT&& value) { SetEntityArn(std::forward<EntityArnT>(value)); return *this;}
115
117
121 inline EntityType GetEntityType() const { return m_entityType; }
122 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
123 inline void SetEntityType(EntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
124 inline InvestigationDetail& WithEntityType(EntityType value) { SetEntityType(value); return *this;}
126 private:
127
128 Aws::String m_investigationId;
129 bool m_investigationIdHasBeenSet = false;
130
131 Severity m_severity{Severity::NOT_SET};
132 bool m_severityHasBeenSet = false;
133
134 Status m_status{Status::NOT_SET};
135 bool m_statusHasBeenSet = false;
136
137 State m_state{State::NOT_SET};
138 bool m_stateHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createdTime{};
141 bool m_createdTimeHasBeenSet = false;
142
143 Aws::String m_entityArn;
144 bool m_entityArnHasBeenSet = false;
145
146 EntityType m_entityType{EntityType::NOT_SET};
147 bool m_entityTypeHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Detective
152} // namespace Aws
InvestigationDetail & WithCreatedTime(CreatedTimeT &&value)
InvestigationDetail & WithEntityArn(EntityArnT &&value)
InvestigationDetail & WithStatus(Status value)
InvestigationDetail & WithEntityType(EntityType value)
void SetInvestigationId(InvestigationIdT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InvestigationDetail & WithSeverity(Severity value)
AWS_DETECTIVE_API InvestigationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API InvestigationDetail()=default
InvestigationDetail & WithState(State value)
InvestigationDetail & WithInvestigationId(InvestigationIdT &&value)
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