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>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
79 inline void SetUri(
Aws::String&& value) { m_uriHasBeenSet =
true; m_uri = std::move(value); }
80 inline void SetUri(
const char* value) { m_uriHasBeenSet =
true; m_uri.assign(value); }
115 bool m_nameHasBeenSet =
false;
118 bool m_descriptionHasBeenSet =
false;
121 bool m_uriHasBeenSet =
false;
124 bool m_severityHasBeenSet =
false;
127 bool m_attributesHasBeenSet =
false;
bool UriHasBeenSet() const
void SetUri(Aws::String &&value)
ImageScanFinding & WithSeverity(const FindingSeverity &value)
bool AttributesHasBeenSet() const
void SetDescription(const Aws::String &value)
ImageScanFinding & WithName(Aws::String &&value)
ImageScanFinding & WithAttributes(Aws::Vector< Attribute > &&value)
void SetDescription(Aws::String &&value)
ImageScanFinding & WithDescription(const char *value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
ImageScanFinding & WithName(const char *value)
void SetUri(const char *value)
ImageScanFinding & WithUri(Aws::String &&value)
const Aws::String & GetUri() const
bool DescriptionHasBeenSet() const
void SetAttributes(const Aws::Vector< Attribute > &value)
ImageScanFinding & WithDescription(Aws::String &&value)
ImageScanFinding & WithDescription(const Aws::String &value)
AWS_ECR_API ImageScanFinding()
ImageScanFinding & AddAttributes(Attribute &&value)
ImageScanFinding & AddAttributes(const Attribute &value)
AWS_ECR_API ImageScanFinding(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
const Aws::Vector< Attribute > & GetAttributes() const
ImageScanFinding & WithSeverity(FindingSeverity &&value)
ImageScanFinding & WithUri(const char *value)
ImageScanFinding & WithUri(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
void SetAttributes(Aws::Vector< Attribute > &&value)
const FindingSeverity & GetSeverity() const
ImageScanFinding & WithAttributes(const Aws::Vector< Attribute > &value)
void SetUri(const Aws::String &value)
void SetSeverity(const FindingSeverity &value)
void SetDescription(const char *value)
void SetName(const char *value)
void SetSeverity(FindingSeverity &&value)
void SetName(const Aws::String &value)
bool SeverityHasBeenSet() const
AWS_ECR_API ImageScanFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageScanFinding & WithName(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