7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/Inspector2_EXPORTS.h>
32 AWS_INSPECTOR2_API
Image() =
default;
43 template <
typename RepositoryNameT = Aws::String>
45 m_repositoryNameHasBeenSet =
true;
46 m_repositoryName = std::forward<RepositoryNameT>(value);
48 template <
typename RepositoryNameT = Aws::String>
61 template <
typename RegistryT = Aws::String>
63 m_registryHasBeenSet =
true;
64 m_registry = std::forward<RegistryT>(value);
66 template <
typename RegistryT = Aws::String>
79 template <
typename ImageTagsT = Aws::Vector<Aws::String>>
81 m_imageTagsHasBeenSet =
true;
82 m_imageTags = std::forward<ImageTagsT>(value);
84 template <
typename ImageTagsT = Aws::Vector<Aws::String>>
89 template <
typename ImageTagsT = Aws::String>
91 m_imageTagsHasBeenSet =
true;
92 m_imageTags.emplace_back(std::forward<ImageTagsT>(value));
103 template <
typename ImageDigestT = Aws::String>
105 m_imageDigestHasBeenSet =
true;
106 m_imageDigest = std::forward<ImageDigestT>(value);
108 template <
typename ImageDigestT = Aws::String>
121 template <
typename PushedAtT = Aws::Utils::DateTime>
123 m_pushedAtHasBeenSet =
true;
124 m_pushedAt = std::forward<PushedAtT>(value);
126 template <
typename PushedAtT = Aws::Utils::DateTime>
139 template <
typename ArchitectureT = Aws::String>
141 m_architectureHasBeenSet =
true;
142 m_architecture = std::forward<ArchitectureT>(value);
144 template <
typename ArchitectureT = Aws::String>
157 template <
typename AuthorT = Aws::String>
159 m_authorHasBeenSet =
true;
160 m_author = std::forward<AuthorT>(value);
162 template <
typename AuthorT = Aws::String>
176 m_inUseCountHasBeenSet =
true;
177 m_inUseCount = value;
191 template <
typename LastInUseAtT = Aws::Utils::DateTime>
193 m_lastInUseAtHasBeenSet =
true;
194 m_lastInUseAt = std::forward<LastInUseAtT>(value);
196 template <
typename LastInUseAtT = Aws::Utils::DateTime>
209 template <
typename PlatformT = Aws::String>
211 m_platformHasBeenSet =
true;
212 m_platform = std::forward<PlatformT>(value);
214 template <
typename PlatformT = Aws::String>
235 long long m_inUseCount{0};
240 bool m_repositoryNameHasBeenSet =
false;
241 bool m_registryHasBeenSet =
false;
242 bool m_imageTagsHasBeenSet =
false;
243 bool m_imageDigestHasBeenSet =
false;
244 bool m_pushedAtHasBeenSet =
false;
245 bool m_architectureHasBeenSet =
false;
246 bool m_authorHasBeenSet =
false;
247 bool m_inUseCountHasBeenSet =
false;
248 bool m_lastInUseAtHasBeenSet =
false;
249 bool m_platformHasBeenSet =
false;
AWS_INSPECTOR2_API Image(Aws::Utils::Json::JsonView jsonValue)
Image & WithImageTags(ImageTagsT &&value)
Image & AddImageTags(ImageTagsT &&value)
Image & WithRegistry(RegistryT &&value)
Image & WithAuthor(AuthorT &&value)
void SetPushedAt(PushedAtT &&value)
bool ImageTagsHasBeenSet() const
const Aws::String & GetAuthor() const
long long GetInUseCount() const
Image & WithPlatform(PlatformT &&value)
bool ImageDigestHasBeenSet() const
const Aws::String & GetImageDigest() const
AWS_INSPECTOR2_API Image()=default
const Aws::String & GetArchitecture() const
const Aws::String & GetRepositoryName() const
const Aws::Vector< Aws::String > & GetImageTags() const
const Aws::Utils::DateTime & GetPushedAt() const
bool InUseCountHasBeenSet() const
bool RegistryHasBeenSet() const
bool RepositoryNameHasBeenSet() const
void SetImageDigest(ImageDigestT &&value)
void SetRegistry(RegistryT &&value)
Image & WithRepositoryName(RepositoryNameT &&value)
void SetInUseCount(long long value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Image & WithImageDigest(ImageDigestT &&value)
void SetLastInUseAt(LastInUseAtT &&value)
void SetImageTags(ImageTagsT &&value)
AWS_INSPECTOR2_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastInUseAtHasBeenSet() const
void SetArchitecture(ArchitectureT &&value)
void SetRepositoryName(RepositoryNameT &&value)
void SetAuthor(AuthorT &&value)
bool PushedAtHasBeenSet() const
void SetPlatform(PlatformT &&value)
Image & WithLastInUseAt(LastInUseAtT &&value)
const Aws::String & GetRegistry() const
Image & WithArchitecture(ArchitectureT &&value)
const Aws::String & GetPlatform() const
Image & WithInUseCount(long long value)
bool ArchitectureHasBeenSet() const
bool AuthorHasBeenSet() const
const Aws::Utils::DateTime & GetLastInUseAt() const
Image & WithPushedAt(PushedAtT &&value)
bool PlatformHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue