7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/ArtifactStatus.h>
43 template <
typename DigestT = Aws::String>
45 m_digestHasBeenSet =
true;
46 m_digest = std::forward<DigestT>(value);
48 template <
typename DigestT = Aws::String>
61 template <
typename MediaTypeT = Aws::String>
63 m_mediaTypeHasBeenSet =
true;
64 m_mediaType = std::forward<MediaTypeT>(value);
66 template <
typename MediaTypeT = Aws::String>
79 template <
typename ArtifactTypeT = Aws::String>
81 m_artifactTypeHasBeenSet =
true;
82 m_artifactType = std::forward<ArtifactTypeT>(value);
84 template <
typename ArtifactTypeT = Aws::String>
95 inline long long GetSize()
const {
return m_size; }
98 m_sizeHasBeenSet =
true;
113 template <
typename AnnotationsT = Aws::Map<Aws::String, Aws::String>>
115 m_annotationsHasBeenSet =
true;
116 m_annotations = std::forward<AnnotationsT>(value);
118 template <
typename AnnotationsT = Aws::Map<Aws::String, Aws::String>>
123 template <
typename AnnotationsKeyT = Aws::String,
typename AnnotationsValueT = Aws::String>
125 m_annotationsHasBeenSet =
true;
126 m_annotations.emplace(std::forward<AnnotationsKeyT>(key), std::forward<AnnotationsValueT>(value));
139 m_artifactStatusHasBeenSet =
true;
140 m_artifactStatus = value;
159 bool m_digestHasBeenSet =
false;
160 bool m_mediaTypeHasBeenSet =
false;
161 bool m_artifactTypeHasBeenSet =
false;
162 bool m_sizeHasBeenSet =
false;
163 bool m_annotationsHasBeenSet =
false;
164 bool m_artifactStatusHasBeenSet =
false;
ImageReferrer & WithAnnotations(AnnotationsT &&value)
void SetDigest(DigestT &&value)
AWS_ECR_API ImageReferrer & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDigest() const
void SetAnnotations(AnnotationsT &&value)
bool SizeHasBeenSet() const
ImageReferrer & WithSize(long long value)
void SetArtifactStatus(ArtifactStatus value)
const Aws::Map< Aws::String, Aws::String > & GetAnnotations() const
void SetSize(long long value)
void SetArtifactType(ArtifactTypeT &&value)
bool ArtifactStatusHasBeenSet() const
ArtifactStatus GetArtifactStatus() const
bool MediaTypeHasBeenSet() const
const Aws::String & GetArtifactType() const
void SetMediaType(MediaTypeT &&value)
ImageReferrer & WithDigest(DigestT &&value)
bool ArtifactTypeHasBeenSet() const
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
ImageReferrer & AddAnnotations(AnnotationsKeyT &&key, AnnotationsValueT &&value)
bool DigestHasBeenSet() const
long long GetSize() const
AWS_ECR_API ImageReferrer(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMediaType() const
AWS_ECR_API ImageReferrer()=default
ImageReferrer & WithArtifactType(ArtifactTypeT &&value)
bool AnnotationsHasBeenSet() const
ImageReferrer & WithArtifactStatus(ArtifactStatus value)
ImageReferrer & WithMediaType(MediaTypeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue