7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/model/InspectorServiceAttributes.h>
10#include <aws/inspector/model/AssetType.h>
11#include <aws/inspector/model/AssetAttributes.h>
12#include <aws/inspector/model/Severity.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/inspector/model/Attribute.h>
56 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
57 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
69 inline void SetSchemaVersion(
int value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = value; }
81 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
132 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
146 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
160 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
174 inline void SetRecommendation(
const char* value) { m_recommendationHasBeenSet =
true; m_recommendation.assign(value); }
199 inline void SetNumericSeverity(
double value) { m_numericSeverityHasBeenSet =
true; m_numericSeverity = value; }
209 inline void SetConfidence(
int value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
277 bool m_arnHasBeenSet =
false;
280 bool m_schemaVersionHasBeenSet =
false;
283 bool m_serviceHasBeenSet =
false;
286 bool m_serviceAttributesHasBeenSet =
false;
289 bool m_assetTypeHasBeenSet =
false;
292 bool m_assetAttributesHasBeenSet =
false;
295 bool m_idHasBeenSet =
false;
298 bool m_titleHasBeenSet =
false;
301 bool m_descriptionHasBeenSet =
false;
304 bool m_recommendationHasBeenSet =
false;
307 bool m_severityHasBeenSet =
false;
309 double m_numericSeverity;
310 bool m_numericSeverityHasBeenSet =
false;
313 bool m_confidenceHasBeenSet =
false;
315 bool m_indicatorOfCompromise;
316 bool m_indicatorOfCompromiseHasBeenSet =
false;
319 bool m_attributesHasBeenSet =
false;
322 bool m_userAttributesHasBeenSet =
false;
325 bool m_createdAtHasBeenSet =
false;
328 bool m_updatedAtHasBeenSet =
false;
void SetId(const char *value)
void SetServiceAttributes(InspectorServiceAttributes &&value)
void SetSeverity(Severity &&value)
Finding & WithUpdatedAt(const Aws::Utils::DateTime &value)
Finding & WithRecommendation(const char *value)
bool TitleHasBeenSet() const
bool UpdatedAtHasBeenSet() const
AWS_INSPECTOR_API Finding()
Finding & WithDescription(const Aws::String &value)
void SetServiceAttributes(const InspectorServiceAttributes &value)
Finding & WithUpdatedAt(Aws::Utils::DateTime &&value)
bool IndicatorOfCompromiseHasBeenSet() const
void SetUserAttributes(Aws::Vector< Attribute > &&value)
Finding & WithService(Aws::String &&value)
bool ArnHasBeenSet() const
void SetAssetType(AssetType &&value)
const Aws::Vector< Attribute > & GetUserAttributes() const
bool ServiceAttributesHasBeenSet() const
int GetSchemaVersion() const
void SetArn(const char *value)
bool IdHasBeenSet() const
void SetAssetAttributes(AssetAttributes &&value)
bool NumericSeverityHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetId() const
double GetNumericSeverity() const
bool ServiceHasBeenSet() const
void SetAssetAttributes(const AssetAttributes &value)
bool GetIndicatorOfCompromise() const
Finding & WithArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
bool ConfidenceHasBeenSet() const
Finding & WithRecommendation(Aws::String &&value)
Finding & WithId(const Aws::String &value)
void SetService(Aws::String &&value)
Finding & AddUserAttributes(const Attribute &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
Finding & WithSchemaVersion(int value)
void SetTitle(const char *value)
bool AssetAttributesHasBeenSet() const
void SetId(const Aws::String &value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
Finding & AddAttributes(const Attribute &value)
Finding & WithRecommendation(const Aws::String &value)
void SetAttributes(const Aws::Vector< Attribute > &value)
void SetService(const Aws::String &value)
const InspectorServiceAttributes & GetServiceAttributes() const
void SetNumericSeverity(double value)
void SetUserAttributes(const Aws::Vector< Attribute > &value)
bool SchemaVersionHasBeenSet() const
Finding & WithUserAttributes(const Aws::Vector< Attribute > &value)
Finding & WithTitle(const char *value)
bool RecommendationHasBeenSet() const
Finding & WithAssetAttributes(const AssetAttributes &value)
Finding & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetIndicatorOfCompromise(bool value)
AWS_INSPECTOR_API Finding(Aws::Utils::Json::JsonView jsonValue)
const AssetAttributes & GetAssetAttributes() const
bool DescriptionHasBeenSet() const
Finding & WithService(const Aws::String &value)
Finding & WithIndicatorOfCompromise(bool value)
void SetTitle(const Aws::String &value)
bool UserAttributesHasBeenSet() const
void SetAssetType(const AssetType &value)
const Aws::Vector< Attribute > & GetAttributes() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
Finding & WithAssetAttributes(AssetAttributes &&value)
Finding & WithSeverity(const Severity &value)
Finding & WithConfidence(int value)
Finding & WithTitle(const Aws::String &value)
const Aws::String & GetRecommendation() const
bool AttributesHasBeenSet() const
Finding & WithId(const char *value)
void SetRecommendation(Aws::String &&value)
int GetConfidence() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetService() const
Finding & AddUserAttributes(Attribute &&value)
Finding & WithTitle(Aws::String &&value)
void SetArn(const Aws::String &value)
const Severity & GetSeverity() const
bool AssetTypeHasBeenSet() const
Finding & WithAttributes(const Aws::Vector< Attribute > &value)
const AssetType & GetAssetType() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_INSPECTOR_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
Finding & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetArn() const
bool SeverityHasBeenSet() const
void SetArn(Aws::String &&value)
void SetRecommendation(const Aws::String &value)
void SetAttributes(Aws::Vector< Attribute > &&value)
void SetTitle(Aws::String &&value)
const Aws::String & GetTitle() const
Finding & WithServiceAttributes(const InspectorServiceAttributes &value)
void SetConfidence(int value)
Finding & WithArn(const char *value)
Finding & WithAssetType(const AssetType &value)
void SetId(Aws::String &&value)
Finding & WithNumericSeverity(double value)
Finding & WithSeverity(Severity &&value)
void SetRecommendation(const char *value)
Finding & AddAttributes(Attribute &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Finding & WithUserAttributes(Aws::Vector< Attribute > &&value)
Finding & WithId(Aws::String &&value)
void SetSchemaVersion(int value)
Finding & WithDescription(const char *value)
Finding & WithService(const char *value)
Finding & WithAssetType(AssetType &&value)
Finding & WithCreatedAt(Aws::Utils::DateTime &&value)
Finding & WithAttributes(Aws::Vector< Attribute > &&value)
void SetSeverity(const Severity &value)
Finding & WithServiceAttributes(InspectorServiceAttributes &&value)
const Aws::String & GetDescription() const
void SetService(const char *value)
Finding & WithArn(const Aws::String &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