AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferencedImageDetail.h
1
6#pragma once
7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECRPublic
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ECRPUBLIC_API ReferencedImageDetail();
39 AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetImageDigest() const{ return m_imageDigest; }
47 inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
48 inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; }
49 inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); }
50 inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); }
51 inline ReferencedImageDetail& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;}
52 inline ReferencedImageDetail& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;}
53 inline ReferencedImageDetail& WithImageDigest(const char* value) { SetImageDigest(value); return *this;}
55
57
66 inline long long GetImageSizeInBytes() const{ return m_imageSizeInBytes; }
67 inline bool ImageSizeInBytesHasBeenSet() const { return m_imageSizeInBytesHasBeenSet; }
68 inline void SetImageSizeInBytes(long long value) { m_imageSizeInBytesHasBeenSet = true; m_imageSizeInBytes = value; }
69 inline ReferencedImageDetail& WithImageSizeInBytes(long long value) { SetImageSizeInBytes(value); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetImagePushedAt() const{ return m_imagePushedAt; }
78 inline bool ImagePushedAtHasBeenSet() const { return m_imagePushedAtHasBeenSet; }
79 inline void SetImagePushedAt(const Aws::Utils::DateTime& value) { m_imagePushedAtHasBeenSet = true; m_imagePushedAt = value; }
80 inline void SetImagePushedAt(Aws::Utils::DateTime&& value) { m_imagePushedAtHasBeenSet = true; m_imagePushedAt = std::move(value); }
82 inline ReferencedImageDetail& WithImagePushedAt(Aws::Utils::DateTime&& value) { SetImagePushedAt(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetImageManifestMediaType() const{ return m_imageManifestMediaType; }
90 inline bool ImageManifestMediaTypeHasBeenSet() const { return m_imageManifestMediaTypeHasBeenSet; }
91 inline void SetImageManifestMediaType(const Aws::String& value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType = value; }
92 inline void SetImageManifestMediaType(Aws::String&& value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType = std::move(value); }
93 inline void SetImageManifestMediaType(const char* value) { m_imageManifestMediaTypeHasBeenSet = true; m_imageManifestMediaType.assign(value); }
96 inline ReferencedImageDetail& WithImageManifestMediaType(const char* value) { SetImageManifestMediaType(value); return *this;}
98
100
103 inline const Aws::String& GetArtifactMediaType() const{ return m_artifactMediaType; }
104 inline bool ArtifactMediaTypeHasBeenSet() const { return m_artifactMediaTypeHasBeenSet; }
105 inline void SetArtifactMediaType(const Aws::String& value) { m_artifactMediaTypeHasBeenSet = true; m_artifactMediaType = value; }
106 inline void SetArtifactMediaType(Aws::String&& value) { m_artifactMediaTypeHasBeenSet = true; m_artifactMediaType = std::move(value); }
107 inline void SetArtifactMediaType(const char* value) { m_artifactMediaTypeHasBeenSet = true; m_artifactMediaType.assign(value); }
109 inline ReferencedImageDetail& WithArtifactMediaType(Aws::String&& value) { SetArtifactMediaType(std::move(value)); return *this;}
110 inline ReferencedImageDetail& WithArtifactMediaType(const char* value) { SetArtifactMediaType(value); return *this;}
112 private:
113
114 Aws::String m_imageDigest;
115 bool m_imageDigestHasBeenSet = false;
116
117 long long m_imageSizeInBytes;
118 bool m_imageSizeInBytesHasBeenSet = false;
119
120 Aws::Utils::DateTime m_imagePushedAt;
121 bool m_imagePushedAtHasBeenSet = false;
122
123 Aws::String m_imageManifestMediaType;
124 bool m_imageManifestMediaTypeHasBeenSet = false;
125
126 Aws::String m_artifactMediaType;
127 bool m_artifactMediaTypeHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace ECRPublic
132} // namespace Aws
ReferencedImageDetail & WithArtifactMediaType(const char *value)
void SetImageManifestMediaType(const Aws::String &value)
ReferencedImageDetail & WithArtifactMediaType(Aws::String &&value)
ReferencedImageDetail & WithArtifactMediaType(const Aws::String &value)
void SetImagePushedAt(Aws::Utils::DateTime &&value)
ReferencedImageDetail & WithImageDigest(const Aws::String &value)
AWS_ECRPUBLIC_API ReferencedImageDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferencedImageDetail & WithImageDigest(const char *value)
ReferencedImageDetail & WithImageManifestMediaType(Aws::String &&value)
ReferencedImageDetail & WithImageSizeInBytes(long long value)
ReferencedImageDetail & WithImagePushedAt(Aws::Utils::DateTime &&value)
ReferencedImageDetail & WithImagePushedAt(const Aws::Utils::DateTime &value)
ReferencedImageDetail & WithImageManifestMediaType(const char *value)
AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArtifactMediaType(const Aws::String &value)
AWS_ECRPUBLIC_API ReferencedImageDetail(Aws::Utils::Json::JsonView jsonValue)
ReferencedImageDetail & WithImageDigest(Aws::String &&value)
const Aws::Utils::DateTime & GetImagePushedAt() const
void SetImagePushedAt(const Aws::Utils::DateTime &value)
ReferencedImageDetail & WithImageManifestMediaType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue