AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcrContainerImageDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API AwsEcrContainerImageDetails();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
47 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
48 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
49 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
50 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
51 inline AwsEcrContainerImageDetails& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
52 inline AwsEcrContainerImageDetails& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
53 inline AwsEcrContainerImageDetails& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
55
57
60 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
61 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
62 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
63 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
64 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
65 inline AwsEcrContainerImageDetails& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
66 inline AwsEcrContainerImageDetails& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
67 inline AwsEcrContainerImageDetails& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
69
71
76 inline const Aws::String& GetArchitecture() const{ return m_architecture; }
77 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
78 inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; }
79 inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
80 inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); }
81 inline AwsEcrContainerImageDetails& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;}
82 inline AwsEcrContainerImageDetails& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
83 inline AwsEcrContainerImageDetails& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
85
87
90 inline const Aws::String& GetImageDigest() const{ return m_imageDigest; }
91 inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
92 inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; }
93 inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); }
94 inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); }
95 inline AwsEcrContainerImageDetails& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;}
96 inline AwsEcrContainerImageDetails& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;}
97 inline AwsEcrContainerImageDetails& WithImageDigest(const char* value) { SetImageDigest(value); return *this;}
99
101
104 inline const Aws::Vector<Aws::String>& GetImageTags() const{ return m_imageTags; }
105 inline bool ImageTagsHasBeenSet() const { return m_imageTagsHasBeenSet; }
106 inline void SetImageTags(const Aws::Vector<Aws::String>& value) { m_imageTagsHasBeenSet = true; m_imageTags = value; }
107 inline void SetImageTags(Aws::Vector<Aws::String>&& value) { m_imageTagsHasBeenSet = true; m_imageTags = std::move(value); }
109 inline AwsEcrContainerImageDetails& WithImageTags(Aws::Vector<Aws::String>&& value) { SetImageTags(std::move(value)); return *this;}
110 inline AwsEcrContainerImageDetails& AddImageTags(const Aws::String& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
111 inline AwsEcrContainerImageDetails& AddImageTags(Aws::String&& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(std::move(value)); return *this; }
112 inline AwsEcrContainerImageDetails& AddImageTags(const char* value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
114
116
133 inline const Aws::String& GetImagePublishedAt() const{ return m_imagePublishedAt; }
134 inline bool ImagePublishedAtHasBeenSet() const { return m_imagePublishedAtHasBeenSet; }
135 inline void SetImagePublishedAt(const Aws::String& value) { m_imagePublishedAtHasBeenSet = true; m_imagePublishedAt = value; }
136 inline void SetImagePublishedAt(Aws::String&& value) { m_imagePublishedAtHasBeenSet = true; m_imagePublishedAt = std::move(value); }
137 inline void SetImagePublishedAt(const char* value) { m_imagePublishedAtHasBeenSet = true; m_imagePublishedAt.assign(value); }
139 inline AwsEcrContainerImageDetails& WithImagePublishedAt(Aws::String&& value) { SetImagePublishedAt(std::move(value)); return *this;}
140 inline AwsEcrContainerImageDetails& WithImagePublishedAt(const char* value) { SetImagePublishedAt(value); return *this;}
142 private:
143
144 Aws::String m_registryId;
145 bool m_registryIdHasBeenSet = false;
146
147 Aws::String m_repositoryName;
148 bool m_repositoryNameHasBeenSet = false;
149
150 Aws::String m_architecture;
151 bool m_architectureHasBeenSet = false;
152
153 Aws::String m_imageDigest;
154 bool m_imageDigestHasBeenSet = false;
155
156 Aws::Vector<Aws::String> m_imageTags;
157 bool m_imageTagsHasBeenSet = false;
158
159 Aws::String m_imagePublishedAt;
160 bool m_imagePublishedAtHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace SecurityHub
165} // namespace Aws
AwsEcrContainerImageDetails & WithImageTags(const Aws::Vector< Aws::String > &value)
AwsEcrContainerImageDetails & WithImageDigest(const Aws::String &value)
AwsEcrContainerImageDetails & WithRepositoryName(const char *value)
AwsEcrContainerImageDetails & WithArchitecture(const char *value)
AwsEcrContainerImageDetails & WithImagePublishedAt(const Aws::String &value)
AwsEcrContainerImageDetails & AddImageTags(Aws::String &&value)
AwsEcrContainerImageDetails & WithRepositoryName(const Aws::String &value)
AwsEcrContainerImageDetails & WithRegistryId(const char *value)
AWS_SECURITYHUB_API AwsEcrContainerImageDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEcrContainerImageDetails & WithImagePublishedAt(Aws::String &&value)
AwsEcrContainerImageDetails & WithRegistryId(const Aws::String &value)
AwsEcrContainerImageDetails & WithArchitecture(const Aws::String &value)
AwsEcrContainerImageDetails & WithImageDigest(Aws::String &&value)
void SetImageTags(const Aws::Vector< Aws::String > &value)
AwsEcrContainerImageDetails & WithRepositoryName(Aws::String &&value)
AwsEcrContainerImageDetails & AddImageTags(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcrContainerImageDetails & WithImagePublishedAt(const char *value)
AwsEcrContainerImageDetails & AddImageTags(const char *value)
AwsEcrContainerImageDetails & WithRegistryId(Aws::String &&value)
AwsEcrContainerImageDetails & WithArchitecture(Aws::String &&value)
AwsEcrContainerImageDetails & WithImageDigest(const char *value)
const Aws::Vector< Aws::String > & GetImageTags() const
AwsEcrContainerImageDetails & WithImageTags(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API AwsEcrContainerImageDetails & 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