AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInvestigationId(const Aws::String& value) { m_investigationIdHasBeenSet = true; m_investigationId = value; }
53 inline void SetInvestigationId(Aws::String&& value) { m_investigationIdHasBeenSet = true; m_investigationId = std::move(value); }
54 inline void SetInvestigationId(const char* value) { m_investigationIdHasBeenSet = true; m_investigationId.assign(value); }
55 inline InvestigationDetail& WithInvestigationId(const Aws::String& value) { SetInvestigationId(value); return *this;}
56 inline InvestigationDetail& WithInvestigationId(Aws::String&& value) { SetInvestigationId(std::move(value)); return *this;}
57 inline InvestigationDetail& WithInvestigationId(const char* value) { SetInvestigationId(value); return *this;}
59
61
65 inline const Severity& GetSeverity() const{ return m_severity; }
66 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
67 inline void SetSeverity(const Severity& value) { m_severityHasBeenSet = true; m_severity = value; }
68 inline void SetSeverity(Severity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
69 inline InvestigationDetail& WithSeverity(const Severity& value) { SetSeverity(value); return *this;}
70 inline InvestigationDetail& WithSeverity(Severity&& value) { SetSeverity(std::move(value)); return *this;}
72
74
77 inline const Status& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline InvestigationDetail& WithStatus(const Status& value) { SetStatus(value); return *this;}
82 inline InvestigationDetail& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
84
86
90 inline const State& GetState() const{ return m_state; }
91 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
92 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
93 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
94 inline InvestigationDetail& WithState(const State& value) { SetState(value); return *this;}
95 inline InvestigationDetail& WithState(State&& value) { SetState(std::move(value)); return *this;}
97
99
104 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
105 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
106 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
107 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
108 inline InvestigationDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
109 inline InvestigationDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetEntityArn() const{ return m_entityArn; }
117 inline bool EntityArnHasBeenSet() const { return m_entityArnHasBeenSet; }
118 inline void SetEntityArn(const Aws::String& value) { m_entityArnHasBeenSet = true; m_entityArn = value; }
119 inline void SetEntityArn(Aws::String&& value) { m_entityArnHasBeenSet = true; m_entityArn = std::move(value); }
120 inline void SetEntityArn(const char* value) { m_entityArnHasBeenSet = true; m_entityArn.assign(value); }
121 inline InvestigationDetail& WithEntityArn(const Aws::String& value) { SetEntityArn(value); return *this;}
122 inline InvestigationDetail& WithEntityArn(Aws::String&& value) { SetEntityArn(std::move(value)); return *this;}
123 inline InvestigationDetail& WithEntityArn(const char* value) { SetEntityArn(value); return *this;}
125
127
131 inline const EntityType& GetEntityType() const{ return m_entityType; }
132 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
133 inline void SetEntityType(const EntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
134 inline void SetEntityType(EntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
135 inline InvestigationDetail& WithEntityType(const EntityType& value) { SetEntityType(value); return *this;}
136 inline InvestigationDetail& WithEntityType(EntityType&& value) { SetEntityType(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_investigationId;
141 bool m_investigationIdHasBeenSet = false;
142
143 Severity m_severity;
144 bool m_severityHasBeenSet = false;
145
146 Status m_status;
147 bool m_statusHasBeenSet = false;
148
149 State m_state;
150 bool m_stateHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdTime;
153 bool m_createdTimeHasBeenSet = false;
154
155 Aws::String m_entityArn;
156 bool m_entityArnHasBeenSet = false;
157
158 EntityType m_entityType;
159 bool m_entityTypeHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Detective
164} // namespace Aws
InvestigationDetail & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetInvestigationId(const Aws::String &value)
InvestigationDetail & WithInvestigationId(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
InvestigationDetail & WithEntityArn(const Aws::String &value)
InvestigationDetail & WithInvestigationId(Aws::String &&value)
InvestigationDetail & WithInvestigationId(const Aws::String &value)
InvestigationDetail & WithEntityType(const EntityType &value)
InvestigationDetail & WithSeverity(const Severity &value)
InvestigationDetail & WithEntityArn(Aws::String &&value)
InvestigationDetail & WithEntityType(EntityType &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
InvestigationDetail & WithStatus(const Status &value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntityArn(const Aws::String &value)
InvestigationDetail & WithCreatedTime(Aws::Utils::DateTime &&value)
InvestigationDetail & WithEntityArn(const char *value)
AWS_DETECTIVE_API InvestigationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
InvestigationDetail & WithState(const State &value)
InvestigationDetail & WithStatus(Status &&value)
InvestigationDetail & WithState(State &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
AWS_DETECTIVE_API InvestigationDetail(Aws::Utils::Json::JsonView jsonValue)
InvestigationDetail & WithSeverity(Severity &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue