7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/Attribute.h>
11#include <aws/ecr/model/FindingSeverity.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
80 template <
typename UriT = Aws::String>
82 m_uriHasBeenSet =
true;
83 m_uri = std::forward<UriT>(value);
85 template <
typename UriT = Aws::String>
87 SetUri(std::forward<UriT>(value));
99 m_severityHasBeenSet =
true;
115 template <
typename AttributesT = Aws::Vector<Attribute>>
117 m_attributesHasBeenSet =
true;
118 m_attributes = std::forward<AttributesT>(value);
120 template <
typename AttributesT = Aws::Vector<Attribute>>
125 template <
typename AttributesT = Attribute>
127 m_attributesHasBeenSet =
true;
128 m_attributes.emplace_back(std::forward<AttributesT>(value));
142 bool m_nameHasBeenSet =
false;
143 bool m_descriptionHasBeenSet =
false;
144 bool m_uriHasBeenSet =
false;
145 bool m_severityHasBeenSet =
false;
146 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