7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/SignalType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/model/Indicator.h>
39 AWS_GUARDDUTY_API
Signal() =
default;
51 template<
typename U
idT = Aws::String>
52 void SetUid(UidT&& value) { m_uidHasBeenSet =
true; m_uid = std::forward<UidT>(value); }
53 template<
typename U
idT = Aws::String>
87 template<
typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
89 template<
typename DescriptionT = Aws::String>
100 template<
typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
102 template<
typename NameT = Aws::String>
113 template<
typename CreatedAtT = Aws::Utils::DateTime>
114 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
115 template<
typename CreatedAtT = Aws::Utils::DateTime>
125 template<
typename UpdatedAtT = Aws::Utils::DateTime>
126 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
127 template<
typename UpdatedAtT = Aws::Utils::DateTime>
138 template<
typename FirstSeenAtT = Aws::Utils::DateTime>
139 void SetFirstSeenAt(FirstSeenAtT&& value) { m_firstSeenAtHasBeenSet =
true; m_firstSeenAt = std::forward<FirstSeenAtT>(value); }
140 template<
typename FirstSeenAtT = Aws::Utils::DateTime>
151 template<
typename LastSeenAtT = Aws::Utils::DateTime>
152 void SetLastSeenAt(LastSeenAtT&& value) { m_lastSeenAtHasBeenSet =
true; m_lastSeenAt = std::forward<LastSeenAtT>(value); }
153 template<
typename LastSeenAtT = Aws::Utils::DateTime>
166 inline void SetSeverity(
double value) { m_severityHasBeenSet =
true; m_severity = value; }
176 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
187 template<
typename ResourceU
idsT = Aws::Vector<Aws::String>>
188 void SetResourceUids(ResourceUidsT&& value) { m_resourceUidsHasBeenSet =
true; m_resourceUids = std::forward<ResourceUidsT>(value); }
189 template<
typename ResourceU
idsT = Aws::Vector<Aws::String>>
191 template<
typename ResourceU
idsT = Aws::String>
192 Signal&
AddResourceUids(ResourceUidsT&& value) { m_resourceUidsHasBeenSet =
true; m_resourceUids.emplace_back(std::forward<ResourceUidsT>(value));
return *
this; }
201 template<
typename ActorIdsT = Aws::Vector<Aws::String>>
202 void SetActorIds(ActorIdsT&& value) { m_actorIdsHasBeenSet =
true; m_actorIds = std::forward<ActorIdsT>(value); }
203 template<
typename ActorIdsT = Aws::Vector<Aws::String>>
205 template<
typename ActorIdsT = Aws::String>
206 Signal&
AddActorIds(ActorIdsT&& value) { m_actorIdsHasBeenSet =
true; m_actorIds.emplace_back(std::forward<ActorIdsT>(value));
return *
this; }
215 template<
typename Endpo
intIdsT = Aws::Vector<Aws::String>>
216 void SetEndpointIds(EndpointIdsT&& value) { m_endpointIdsHasBeenSet =
true; m_endpointIds = std::forward<EndpointIdsT>(value); }
217 template<
typename Endpo
intIdsT = Aws::Vector<Aws::String>>
219 template<
typename Endpo
intIdsT = Aws::String>
220 Signal&
AddEndpointIds(EndpointIdsT&& value) { m_endpointIdsHasBeenSet =
true; m_endpointIds.emplace_back(std::forward<EndpointIdsT>(value));
return *
this; }
229 template<
typename SignalIndicatorsT = Aws::Vector<Indicator>>
230 void SetSignalIndicators(SignalIndicatorsT&& value) { m_signalIndicatorsHasBeenSet =
true; m_signalIndicators = std::forward<SignalIndicatorsT>(value); }
231 template<
typename SignalIndicatorsT = Aws::Vector<Indicator>>
233 template<
typename SignalIndicatorsT = Indicator>
234 Signal&
AddSignalIndicators(SignalIndicatorsT&& value) { m_signalIndicatorsHasBeenSet =
true; m_signalIndicators.emplace_back(std::forward<SignalIndicatorsT>(value));
return *
this; }
239 bool m_uidHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
248 bool m_nameHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
254 bool m_updatedAtHasBeenSet =
false;
257 bool m_firstSeenAtHasBeenSet =
false;
260 bool m_lastSeenAtHasBeenSet =
false;
262 double m_severity{0.0};
263 bool m_severityHasBeenSet =
false;
266 bool m_countHasBeenSet =
false;
269 bool m_resourceUidsHasBeenSet =
false;
272 bool m_actorIdsHasBeenSet =
false;
275 bool m_endpointIdsHasBeenSet =
false;
278 bool m_signalIndicatorsHasBeenSet =
false;
const Aws::String & GetDescription() const
bool SeverityHasBeenSet() const
Signal & WithSignalIndicators(SignalIndicatorsT &&value)
AWS_GUARDDUTY_API Signal()=default
const Aws::Utils::DateTime & GetLastSeenAt() const
Signal & WithLastSeenAt(LastSeenAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetActorIds(ActorIdsT &&value)
void SetType(SignalType value)
void SetName(NameT &&value)
bool CreatedAtHasBeenSet() const
Signal & WithType(SignalType value)
bool LastSeenAtHasBeenSet() const
Signal & AddEndpointIds(EndpointIdsT &&value)
void SetUid(UidT &&value)
Signal & WithSeverity(double value)
bool FirstSeenAtHasBeenSet() const
void SetSignalIndicators(SignalIndicatorsT &&value)
Signal & WithEndpointIds(EndpointIdsT &&value)
void SetEndpointIds(EndpointIdsT &&value)
bool SignalIndicatorsHasBeenSet() const
Signal & AddSignalIndicators(SignalIndicatorsT &&value)
Signal & WithUpdatedAt(UpdatedAtT &&value)
Signal & AddResourceUids(ResourceUidsT &&value)
Signal & WithUid(UidT &&value)
Signal & WithResourceUids(ResourceUidsT &&value)
Signal & AddActorIds(ActorIdsT &&value)
SignalType GetType() const
Signal & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetActorIds() const
Signal & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetEndpointIds() const
const Aws::String & GetName() const
void SetSeverity(double value)
void SetFirstSeenAt(FirstSeenAtT &&value)
const Aws::Utils::DateTime & GetFirstSeenAt() const
Signal & WithCount(int value)
void SetResourceUids(ResourceUidsT &&value)
Signal & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< Indicator > & GetSignalIndicators() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
double GetSeverity() const
const Aws::Vector< Aws::String > & GetResourceUids() const
bool ActorIdsHasBeenSet() const
bool TypeHasBeenSet() const
bool DescriptionHasBeenSet() const
bool UidHasBeenSet() const
Signal & WithFirstSeenAt(FirstSeenAtT &&value)
void SetLastSeenAt(LastSeenAtT &&value)
const Aws::String & GetUid() const
bool EndpointIdsHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_GUARDDUTY_API Signal & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceUidsHasBeenSet() const
AWS_GUARDDUTY_API Signal(Aws::Utils::Json::JsonView jsonValue)
bool CountHasBeenSet() const
bool UpdatedAtHasBeenSet() const
Signal & WithActorIds(ActorIdsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue