7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/FindingSeverity.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/Attribute.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
74 template<
typename UriT = Aws::String>
75 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
76 template<
typename UriT = Aws::String>
97 template<
typename AttributesT = Aws::Vector<Attribute>>
98 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
99 template<
typename AttributesT = Aws::Vector<Attribute>>
101 template<
typename AttributesT = Attribute>
102 ImageScanFinding&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
107 bool m_nameHasBeenSet =
false;
110 bool m_descriptionHasBeenSet =
false;
113 bool m_uriHasBeenSet =
false;
116 bool m_severityHasBeenSet =
false;
119 bool m_attributesHasBeenSet =
false;
bool UriHasBeenSet() const
bool AttributesHasBeenSet() const
AWS_ECR_API ImageScanFinding()=default
ImageScanFinding & AddAttributes(AttributesT &&value)
ImageScanFinding & WithSeverity(FindingSeverity value)
ImageScanFinding & WithDescription(DescriptionT &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetUri(UriT &&value)
ImageScanFinding & WithName(NameT &&value)
const Aws::String & GetUri() const
bool DescriptionHasBeenSet() const
void SetSeverity(FindingSeverity value)
AWS_ECR_API ImageScanFinding(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
const Aws::Vector< Attribute > & GetAttributes() const
ImageScanFinding & WithAttributes(AttributesT &&value)
void SetAttributes(AttributesT &&value)
const Aws::String & GetName() const
ImageScanFinding & WithUri(UriT &&value)
FindingSeverity GetSeverity() const
void SetName(NameT &&value)
bool SeverityHasBeenSet() const
AWS_ECR_API ImageScanFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue