7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector/Inspector_EXPORTS.h>
11#include <aws/inspector/model/AssetAttributes.h>
12#include <aws/inspector/model/AssetType.h>
13#include <aws/inspector/model/Attribute.h>
14#include <aws/inspector/model/InspectorServiceAttributes.h>
15#include <aws/inspector/model/Severity.h>
49 template <
typename ArnT = Aws::String>
51 m_arnHasBeenSet =
true;
52 m_arn = std::forward<ArnT>(value);
54 template <
typename ArnT = Aws::String>
56 SetArn(std::forward<ArnT>(value));
68 m_schemaVersionHasBeenSet =
true;
69 m_schemaVersion = value;
83 template <
typename ServiceT = Aws::String>
85 m_serviceHasBeenSet =
true;
86 m_service = std::forward<ServiceT>(value);
88 template <
typename ServiceT = Aws::String>
101 template <
typename ServiceAttributesT = InspectorServiceAttributes>
103 m_serviceAttributesHasBeenSet =
true;
104 m_serviceAttributes = std::forward<ServiceAttributesT>(value);
106 template <
typename ServiceAttributesT = InspectorServiceAttributes>
120 m_assetTypeHasBeenSet =
true;
136 template <
typename AssetAttributesT = AssetAttributes>
138 m_assetAttributesHasBeenSet =
true;
139 m_assetAttributes = std::forward<AssetAttributesT>(value);
141 template <
typename AssetAttributesT = AssetAttributes>
154 template <
typename IdT = Aws::String>
156 m_idHasBeenSet =
true;
157 m_id = std::forward<IdT>(value);
159 template <
typename IdT = Aws::String>
161 SetId(std::forward<IdT>(value));
172 template <
typename TitleT = Aws::String>
174 m_titleHasBeenSet =
true;
175 m_title = std::forward<TitleT>(value);
177 template <
typename TitleT = Aws::String>
179 SetTitle(std::forward<TitleT>(value));
190 template <
typename DescriptionT = Aws::String>
192 m_descriptionHasBeenSet =
true;
193 m_description = std::forward<DescriptionT>(value);
195 template <
typename DescriptionT = Aws::String>
208 template <
typename RecommendationT = Aws::String>
210 m_recommendationHasBeenSet =
true;
211 m_recommendation = std::forward<RecommendationT>(value);
213 template <
typename RecommendationT = Aws::String>
228 m_severityHasBeenSet =
true;
244 m_numericSeverityHasBeenSet =
true;
245 m_numericSeverity = value;
260 m_confidenceHasBeenSet =
true;
261 m_confidence = value;
276 m_indicatorOfCompromiseHasBeenSet =
true;
277 m_indicatorOfCompromise = value;
291 template <
typename AttributesT = Aws::Vector<Attribute>>
293 m_attributesHasBeenSet =
true;
294 m_attributes = std::forward<AttributesT>(value);
296 template <
typename AttributesT = Aws::Vector<Attribute>>
301 template <
typename AttributesT = Attribute>
303 m_attributesHasBeenSet =
true;
304 m_attributes.emplace_back(std::forward<AttributesT>(value));
315 template <
typename UserAttributesT = Aws::Vector<Attribute>>
317 m_userAttributesHasBeenSet =
true;
318 m_userAttributes = std::forward<UserAttributesT>(value);
320 template <
typename UserAttributesT = Aws::Vector<Attribute>>
325 template <
typename UserAttributesT = Attribute>
327 m_userAttributesHasBeenSet =
true;
328 m_userAttributes.emplace_back(std::forward<UserAttributesT>(value));
339 template <
typename CreatedAtT = Aws::Utils::DateTime>
341 m_createdAtHasBeenSet =
true;
342 m_createdAt = std::forward<CreatedAtT>(value);
344 template <
typename CreatedAtT = Aws::Utils::DateTime>
357 template <
typename UpdatedAtT = Aws::Utils::DateTime>
359 m_updatedAtHasBeenSet =
true;
360 m_updatedAt = std::forward<UpdatedAtT>(value);
362 template <
typename UpdatedAtT = Aws::Utils::DateTime>
371 int m_schemaVersion{0};
375 InspectorServiceAttributes m_serviceAttributes;
379 AssetAttributes m_assetAttributes;
391 double m_numericSeverity{0.0};
395 bool m_indicatorOfCompromise{
false};
404 bool m_arnHasBeenSet =
false;
405 bool m_schemaVersionHasBeenSet =
false;
406 bool m_serviceHasBeenSet =
false;
407 bool m_serviceAttributesHasBeenSet =
false;
408 bool m_assetTypeHasBeenSet =
false;
409 bool m_assetAttributesHasBeenSet =
false;
410 bool m_idHasBeenSet =
false;
411 bool m_titleHasBeenSet =
false;
412 bool m_descriptionHasBeenSet =
false;
413 bool m_recommendationHasBeenSet =
false;
414 bool m_severityHasBeenSet =
false;
415 bool m_numericSeverityHasBeenSet =
false;
416 bool m_confidenceHasBeenSet =
false;
417 bool m_indicatorOfCompromiseHasBeenSet =
false;
418 bool m_attributesHasBeenSet =
false;
419 bool m_userAttributesHasBeenSet =
false;
420 bool m_createdAtHasBeenSet =
false;
421 bool m_updatedAtHasBeenSet =
false;
void SetAssetType(AssetType value)
Finding & WithService(ServiceT &&value)
AssetType GetAssetType() const
Finding & WithArn(ArnT &&value)
bool TitleHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool IndicatorOfCompromiseHasBeenSet() const
bool ArnHasBeenSet() const
void SetUserAttributes(UserAttributesT &&value)
const Aws::Vector< Attribute > & GetUserAttributes() const
Finding & WithAssetType(AssetType value)
bool ServiceAttributesHasBeenSet() const
int GetSchemaVersion() const
void SetRecommendation(RecommendationT &&value)
bool IdHasBeenSet() const
void SetAssetAttributes(AssetAttributesT &&value)
void SetSeverity(Severity value)
bool NumericSeverityHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetId() const
double GetNumericSeverity() const
bool ServiceHasBeenSet() const
bool GetIndicatorOfCompromise() const
Finding & WithAssetAttributes(AssetAttributesT &&value)
bool ConfidenceHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_INSPECTOR_API Finding()=default
Finding & WithSchemaVersion(int value)
bool AssetAttributesHasBeenSet() const
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
Finding & WithDescription(DescriptionT &&value)
const InspectorServiceAttributes & GetServiceAttributes() const
void SetNumericSeverity(double value)
void SetTitle(TitleT &&value)
void SetServiceAttributes(ServiceAttributesT &&value)
bool SchemaVersionHasBeenSet() const
Finding & AddUserAttributes(UserAttributesT &&value)
Finding & WithAttributes(AttributesT &&value)
Finding & WithRecommendation(RecommendationT &&value)
bool RecommendationHasBeenSet() const
void SetIndicatorOfCompromise(bool value)
AWS_INSPECTOR_API Finding(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const AssetAttributes & GetAssetAttributes() const
Finding & WithUserAttributes(UserAttributesT &&value)
bool DescriptionHasBeenSet() const
Finding & WithIndicatorOfCompromise(bool value)
bool UserAttributesHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::Vector< Attribute > & GetAttributes() const
void SetUpdatedAt(UpdatedAtT &&value)
Finding & WithTitle(TitleT &&value)
Finding & WithConfidence(int value)
Finding & WithServiceAttributes(ServiceAttributesT &&value)
Finding & WithId(IdT &&value)
Finding & WithSeverity(Severity value)
const Aws::String & GetRecommendation() const
bool AttributesHasBeenSet() const
int GetConfidence() const
const Aws::String & GetService() const
void SetCreatedAt(CreatedAtT &&value)
bool AssetTypeHasBeenSet() const
AWS_INSPECTOR_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Finding & AddAttributes(AttributesT &&value)
bool SeverityHasBeenSet() const
Finding & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetTitle() const
Finding & WithCreatedAt(CreatedAtT &&value)
void SetConfidence(int value)
Severity GetSeverity() const
Finding & WithNumericSeverity(double value)
void SetAttributes(AttributesT &&value)
void SetService(ServiceT &&value)
void SetSchemaVersion(int value)
const Aws::String & GetDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue