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/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ECR
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetArchitecture() const{ return m_architecture; }
48 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
49 inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; }
50 inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
51 inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); }
52 inline AwsEcrContainerImageDetails& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;}
53 inline AwsEcrContainerImageDetails& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
54 inline AwsEcrContainerImageDetails& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
56
58
61 inline const Aws::String& GetAuthor() const{ return m_author; }
62 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
63 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
64 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
65 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
66 inline AwsEcrContainerImageDetails& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
67 inline AwsEcrContainerImageDetails& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
68 inline AwsEcrContainerImageDetails& WithAuthor(const char* value) { SetAuthor(value); return *this;}
70
72
75 inline const Aws::String& GetImageHash() const{ return m_imageHash; }
76 inline bool ImageHashHasBeenSet() const { return m_imageHashHasBeenSet; }
77 inline void SetImageHash(const Aws::String& value) { m_imageHashHasBeenSet = true; m_imageHash = value; }
78 inline void SetImageHash(Aws::String&& value) { m_imageHashHasBeenSet = true; m_imageHash = std::move(value); }
79 inline void SetImageHash(const char* value) { m_imageHashHasBeenSet = true; m_imageHash.assign(value); }
80 inline AwsEcrContainerImageDetails& WithImageHash(const Aws::String& value) { SetImageHash(value); return *this;}
81 inline AwsEcrContainerImageDetails& WithImageHash(Aws::String&& value) { SetImageHash(std::move(value)); return *this;}
82 inline AwsEcrContainerImageDetails& WithImageHash(const char* value) { SetImageHash(value); return *this;}
84
86
89 inline const Aws::Vector<Aws::String>& GetImageTags() const{ return m_imageTags; }
90 inline bool ImageTagsHasBeenSet() const { return m_imageTagsHasBeenSet; }
91 inline void SetImageTags(const Aws::Vector<Aws::String>& value) { m_imageTagsHasBeenSet = true; m_imageTags = value; }
92 inline void SetImageTags(Aws::Vector<Aws::String>&& value) { m_imageTagsHasBeenSet = true; m_imageTags = std::move(value); }
94 inline AwsEcrContainerImageDetails& WithImageTags(Aws::Vector<Aws::String>&& value) { SetImageTags(std::move(value)); return *this;}
95 inline AwsEcrContainerImageDetails& AddImageTags(const Aws::String& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
96 inline AwsEcrContainerImageDetails& AddImageTags(Aws::String&& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(std::move(value)); return *this; }
97 inline AwsEcrContainerImageDetails& AddImageTags(const char* value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
99
101
104 inline const Aws::String& GetPlatform() const{ return m_platform; }
105 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
106 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
107 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
108 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
109 inline AwsEcrContainerImageDetails& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
110 inline AwsEcrContainerImageDetails& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
111 inline AwsEcrContainerImageDetails& WithPlatform(const char* value) { SetPlatform(value); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetPushedAt() const{ return m_pushedAt; }
119 inline bool PushedAtHasBeenSet() const { return m_pushedAtHasBeenSet; }
120 inline void SetPushedAt(const Aws::Utils::DateTime& value) { m_pushedAtHasBeenSet = true; m_pushedAt = value; }
121 inline void SetPushedAt(Aws::Utils::DateTime&& value) { m_pushedAtHasBeenSet = true; m_pushedAt = std::move(value); }
122 inline AwsEcrContainerImageDetails& WithPushedAt(const Aws::Utils::DateTime& value) { SetPushedAt(value); return *this;}
123 inline AwsEcrContainerImageDetails& WithPushedAt(Aws::Utils::DateTime&& value) { SetPushedAt(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetRegistry() const{ return m_registry; }
131 inline bool RegistryHasBeenSet() const { return m_registryHasBeenSet; }
132 inline void SetRegistry(const Aws::String& value) { m_registryHasBeenSet = true; m_registry = value; }
133 inline void SetRegistry(Aws::String&& value) { m_registryHasBeenSet = true; m_registry = std::move(value); }
134 inline void SetRegistry(const char* value) { m_registryHasBeenSet = true; m_registry.assign(value); }
135 inline AwsEcrContainerImageDetails& WithRegistry(const Aws::String& value) { SetRegistry(value); return *this;}
136 inline AwsEcrContainerImageDetails& WithRegistry(Aws::String&& value) { SetRegistry(std::move(value)); return *this;}
137 inline AwsEcrContainerImageDetails& WithRegistry(const char* value) { SetRegistry(value); return *this;}
139
141
144 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
145 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
146 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
147 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
148 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
150 inline AwsEcrContainerImageDetails& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
151 inline AwsEcrContainerImageDetails& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
153 private:
154
155 Aws::String m_architecture;
156 bool m_architectureHasBeenSet = false;
157
158 Aws::String m_author;
159 bool m_authorHasBeenSet = false;
160
161 Aws::String m_imageHash;
162 bool m_imageHashHasBeenSet = false;
163
164 Aws::Vector<Aws::String> m_imageTags;
165 bool m_imageTagsHasBeenSet = false;
166
167 Aws::String m_platform;
168 bool m_platformHasBeenSet = false;
169
170 Aws::Utils::DateTime m_pushedAt;
171 bool m_pushedAtHasBeenSet = false;
172
173 Aws::String m_registry;
174 bool m_registryHasBeenSet = false;
175
176 Aws::String m_repositoryName;
177 bool m_repositoryNameHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace ECR
182} // namespace Aws
AwsEcrContainerImageDetails & WithPlatform(Aws::String &&value)
AwsEcrContainerImageDetails & WithImageHash(const char *value)
AwsEcrContainerImageDetails & WithRepositoryName(const Aws::String &value)
AwsEcrContainerImageDetails & WithPushedAt(Aws::Utils::DateTime &&value)
AwsEcrContainerImageDetails & WithArchitecture(Aws::String &&value)
AwsEcrContainerImageDetails & WithImageTags(const Aws::Vector< Aws::String > &value)
AwsEcrContainerImageDetails & WithAuthor(Aws::String &&value)
void SetImageTags(const Aws::Vector< Aws::String > &value)
AwsEcrContainerImageDetails & WithPlatform(const Aws::String &value)
AwsEcrContainerImageDetails & WithImageTags(Aws::Vector< Aws::String > &&value)
AwsEcrContainerImageDetails & WithRepositoryName(Aws::String &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcrContainerImageDetails & WithImageHash(const Aws::String &value)
AwsEcrContainerImageDetails & AddImageTags(const Aws::String &value)
AwsEcrContainerImageDetails & WithRegistry(const char *value)
AwsEcrContainerImageDetails & WithPlatform(const char *value)
void SetImageTags(Aws::Vector< Aws::String > &&value)
AwsEcrContainerImageDetails & WithRegistry(const Aws::String &value)
AwsEcrContainerImageDetails & WithPushedAt(const Aws::Utils::DateTime &value)
AwsEcrContainerImageDetails & AddImageTags(const char *value)
AWS_ECR_API AwsEcrContainerImageDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API AwsEcrContainerImageDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEcrContainerImageDetails & WithAuthor(const Aws::String &value)
AwsEcrContainerImageDetails & WithArchitecture(const char *value)
AwsEcrContainerImageDetails & WithArchitecture(const Aws::String &value)
AwsEcrContainerImageDetails & WithAuthor(const char *value)
AwsEcrContainerImageDetails & WithRegistry(Aws::String &&value)
AwsEcrContainerImageDetails & WithRepositoryName(const char *value)
void SetPushedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetImageTags() const
AwsEcrContainerImageDetails & AddImageTags(Aws::String &&value)
AwsEcrContainerImageDetails & WithImageHash(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