7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/Indicator.h>
38 AWS_SECURITYHUB_API
Signal() =
default;
63 template <
typename TypeT = Aws::String>
65 m_typeHasBeenSet =
true;
66 m_type = std::forward<TypeT>(value);
68 template <
typename TypeT = Aws::String>
70 SetType(std::forward<TypeT>(value));
81 template <
typename IdT = Aws::String>
83 m_idHasBeenSet =
true;
84 m_id = std::forward<IdT>(value);
86 template <
typename IdT = Aws::String>
88 SetId(std::forward<IdT>(value));
99 template <
typename TitleT = Aws::String>
101 m_titleHasBeenSet =
true;
102 m_title = std::forward<TitleT>(value);
104 template <
typename TitleT = Aws::String>
106 SetTitle(std::forward<TitleT>(value));
118 template <
typename ProductArnT = Aws::String>
120 m_productArnHasBeenSet =
true;
121 m_productArn = std::forward<ProductArnT>(value);
123 template <
typename ProductArnT = Aws::String>
137 template <
typename ResourceIdsT = Aws::Vector<Aws::String>>
139 m_resourceIdsHasBeenSet =
true;
140 m_resourceIds = std::forward<ResourceIdsT>(value);
142 template <
typename ResourceIdsT = Aws::Vector<Aws::String>>
147 template <
typename ResourceIdsT = Aws::String>
149 m_resourceIdsHasBeenSet =
true;
150 m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value));
165 template <
typename SignalIndicatorsT = Aws::Vector<Indicator>>
167 m_signalIndicatorsHasBeenSet =
true;
168 m_signalIndicators = std::forward<SignalIndicatorsT>(value);
170 template <
typename SignalIndicatorsT = Aws::Vector<Indicator>>
175 template <
typename SignalIndicatorsT = Indicator>
177 m_signalIndicatorsHasBeenSet =
true;
178 m_signalIndicators.emplace_back(std::forward<SignalIndicatorsT>(value));
190 template <
typename NameT = Aws::String>
192 m_nameHasBeenSet =
true;
193 m_name = std::forward<NameT>(value);
195 template <
typename NameT = Aws::String>
197 SetName(std::forward<NameT>(value));
210 m_createdAtHasBeenSet =
true;
226 m_updatedAtHasBeenSet =
true;
243 m_firstSeenAtHasBeenSet =
true;
244 m_firstSeenAt = value;
260 m_lastSeenAtHasBeenSet =
true;
261 m_lastSeenAt = value;
279 m_severityHasBeenSet =
true;
295 m_countHasBeenSet =
true;
310 template <
typename ActorIdsT = Aws::Vector<Aws::String>>
312 m_actorIdsHasBeenSet =
true;
313 m_actorIds = std::forward<ActorIdsT>(value);
315 template <
typename ActorIdsT = Aws::Vector<Aws::String>>
320 template <
typename ActorIdsT = Aws::String>
322 m_actorIdsHasBeenSet =
true;
323 m_actorIds.emplace_back(std::forward<ActorIdsT>(value));
334 template <
typename Endpo
intIdsT = Aws::Vector<Aws::String>>
336 m_endpointIdsHasBeenSet =
true;
337 m_endpointIds = std::forward<EndpointIdsT>(value);
339 template <
typename Endpo
intIdsT = Aws::Vector<Aws::String>>
344 template <
typename Endpo
intIdsT = Aws::String>
346 m_endpointIdsHasBeenSet =
true;
347 m_endpointIds.emplace_back(std::forward<EndpointIdsT>(value));
366 long long m_createdAt{0};
368 long long m_updatedAt{0};
370 long long m_firstSeenAt{0};
372 long long m_lastSeenAt{0};
374 double m_severity{0.0};
381 bool m_typeHasBeenSet =
false;
382 bool m_idHasBeenSet =
false;
383 bool m_titleHasBeenSet =
false;
384 bool m_productArnHasBeenSet =
false;
385 bool m_resourceIdsHasBeenSet =
false;
386 bool m_signalIndicatorsHasBeenSet =
false;
387 bool m_nameHasBeenSet =
false;
388 bool m_createdAtHasBeenSet =
false;
389 bool m_updatedAtHasBeenSet =
false;
390 bool m_firstSeenAtHasBeenSet =
false;
391 bool m_lastSeenAtHasBeenSet =
false;
392 bool m_severityHasBeenSet =
false;
393 bool m_countHasBeenSet =
false;
394 bool m_actorIdsHasBeenSet =
false;
395 bool m_endpointIdsHasBeenSet =
false;
bool ResourceIdsHasBeenSet() const
Signal & AddResourceIds(ResourceIdsT &&value)
const Aws::String & GetProductArn() const
void SetName(NameT &&value)
void SetFirstSeenAt(long long value)
AWS_SECURITYHUB_API Signal & operator=(Aws::Utils::Json::JsonView jsonValue)
Signal & WithResourceIds(ResourceIdsT &&value)
Signal & AddActorIds(ActorIdsT &&value)
Signal & WithActorIds(ActorIdsT &&value)
Signal & AddSignalIndicators(SignalIndicatorsT &&value)
bool SignalIndicatorsHasBeenSet() const
bool ActorIdsHasBeenSet() const
Signal & AddEndpointIds(EndpointIdsT &&value)
Signal & WithCreatedAt(long long value)
bool CountHasBeenSet() const
double GetSeverity() const
Signal & WithProductArn(ProductArnT &&value)
const Aws::Vector< Indicator > & GetSignalIndicators() const
void SetTitle(TitleT &&value)
bool UpdatedAtHasBeenSet() const
bool TitleHasBeenSet() const
const Aws::Vector< Aws::String > & GetResourceIds() const
Signal & WithName(NameT &&value)
Signal & WithTitle(TitleT &&value)
Signal & WithUpdatedAt(long long value)
Signal & WithFirstSeenAt(long long value)
Signal & WithLastSeenAt(long long value)
void SetType(TypeT &&value)
void SetProductArn(ProductArnT &&value)
void SetSignalIndicators(SignalIndicatorsT &&value)
bool ProductArnHasBeenSet() const
Signal & WithSignalIndicators(SignalIndicatorsT &&value)
void SetLastSeenAt(long long value)
Signal & WithCount(int value)
long long GetUpdatedAt() const
const Aws::String & GetName() const
void SetActorIds(ActorIdsT &&value)
const Aws::String & GetTitle() const
void SetResourceIds(ResourceIdsT &&value)
Signal & WithId(IdT &&value)
bool SeverityHasBeenSet() const
long long GetFirstSeenAt() const
bool LastSeenAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetEndpointIds() const
bool NameHasBeenSet() const
AWS_SECURITYHUB_API Signal(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeverity(double value)
bool TypeHasBeenSet() const
Signal & WithEndpointIds(EndpointIdsT &&value)
const Aws::String & GetId() const
bool EndpointIdsHasBeenSet() const
bool FirstSeenAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetActorIds() const
void SetCreatedAt(long long value)
bool CreatedAtHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetType() const
Signal & WithType(TypeT &&value)
AWS_SECURITYHUB_API Signal()=default
long long GetLastSeenAt() const
void SetUpdatedAt(long long value)
long long GetCreatedAt() const
void SetEndpointIds(EndpointIdsT &&value)
Signal & WithSeverity(double 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