AWS SDK for C++  1.9.107
AWS SDK for C++
Repository.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace ECR
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
51  inline const Aws::String& GetRepositoryArn() const{ return m_repositoryArn; }
52 
60  inline bool RepositoryArnHasBeenSet() const { return m_repositoryArnHasBeenSet; }
61 
69  inline void SetRepositoryArn(const Aws::String& value) { m_repositoryArnHasBeenSet = true; m_repositoryArn = value; }
70 
78  inline void SetRepositoryArn(Aws::String&& value) { m_repositoryArnHasBeenSet = true; m_repositoryArn = std::move(value); }
79 
87  inline void SetRepositoryArn(const char* value) { m_repositoryArnHasBeenSet = true; m_repositoryArn.assign(value); }
88 
96  inline Repository& WithRepositoryArn(const Aws::String& value) { SetRepositoryArn(value); return *this;}
97 
105  inline Repository& WithRepositoryArn(Aws::String&& value) { SetRepositoryArn(std::move(value)); return *this;}
106 
114  inline Repository& WithRepositoryArn(const char* value) { SetRepositoryArn(value); return *this;}
115 
116 
121  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
122 
127  inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
128 
133  inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
134 
139  inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
140 
145  inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
146 
151  inline Repository& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
152 
157  inline Repository& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
158 
163  inline Repository& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
164 
165 
169  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
170 
174  inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
175 
179  inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
180 
184  inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
185 
189  inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
190 
194  inline Repository& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
195 
199  inline Repository& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
200 
204  inline Repository& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
205 
206 
211  inline const Aws::String& GetRepositoryUri() const{ return m_repositoryUri; }
212 
217  inline bool RepositoryUriHasBeenSet() const { return m_repositoryUriHasBeenSet; }
218 
223  inline void SetRepositoryUri(const Aws::String& value) { m_repositoryUriHasBeenSet = true; m_repositoryUri = value; }
224 
229  inline void SetRepositoryUri(Aws::String&& value) { m_repositoryUriHasBeenSet = true; m_repositoryUri = std::move(value); }
230 
235  inline void SetRepositoryUri(const char* value) { m_repositoryUriHasBeenSet = true; m_repositoryUri.assign(value); }
236 
241  inline Repository& WithRepositoryUri(const Aws::String& value) { SetRepositoryUri(value); return *this;}
242 
247  inline Repository& WithRepositoryUri(Aws::String&& value) { SetRepositoryUri(std::move(value)); return *this;}
248 
253  inline Repository& WithRepositoryUri(const char* value) { SetRepositoryUri(value); return *this;}
254 
255 
260  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
261 
266  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
267 
272  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
273 
278  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
279 
284  inline Repository& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
285 
290  inline Repository& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
291 
292 
296  inline const ImageTagMutability& GetImageTagMutability() const{ return m_imageTagMutability; }
297 
301  inline bool ImageTagMutabilityHasBeenSet() const { return m_imageTagMutabilityHasBeenSet; }
302 
306  inline void SetImageTagMutability(const ImageTagMutability& value) { m_imageTagMutabilityHasBeenSet = true; m_imageTagMutability = value; }
307 
311  inline void SetImageTagMutability(ImageTagMutability&& value) { m_imageTagMutabilityHasBeenSet = true; m_imageTagMutability = std::move(value); }
312 
316  inline Repository& WithImageTagMutability(const ImageTagMutability& value) { SetImageTagMutability(value); return *this;}
317 
321  inline Repository& WithImageTagMutability(ImageTagMutability&& value) { SetImageTagMutability(std::move(value)); return *this;}
322 
323 
324 
325  inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; }
326 
327 
328  inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; }
329 
330 
331  inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = value; }
332 
333 
334  inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = std::move(value); }
335 
336 
337  inline Repository& WithImageScanningConfiguration(const ImageScanningConfiguration& value) { SetImageScanningConfiguration(value); return *this;}
338 
339 
340  inline Repository& WithImageScanningConfiguration(ImageScanningConfiguration&& value) { SetImageScanningConfiguration(std::move(value)); return *this;}
341 
342 
347  inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
348 
353  inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
354 
359  inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
360 
365  inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
366 
371  inline Repository& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;}
372 
377  inline Repository& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;}
378 
379  private:
380 
381  Aws::String m_repositoryArn;
382  bool m_repositoryArnHasBeenSet;
383 
384  Aws::String m_registryId;
385  bool m_registryIdHasBeenSet;
386 
387  Aws::String m_repositoryName;
388  bool m_repositoryNameHasBeenSet;
389 
390  Aws::String m_repositoryUri;
391  bool m_repositoryUriHasBeenSet;
392 
393  Aws::Utils::DateTime m_createdAt;
394  bool m_createdAtHasBeenSet;
395 
396  ImageTagMutability m_imageTagMutability;
397  bool m_imageTagMutabilityHasBeenSet;
398 
399  ImageScanningConfiguration m_imageScanningConfiguration;
400  bool m_imageScanningConfigurationHasBeenSet;
401 
402  EncryptionConfiguration m_encryptionConfiguration;
403  bool m_encryptionConfigurationHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace ECR
408 } // namespace Aws
Aws::ECR::Model::Repository::WithRepositoryUri
Repository & WithRepositoryUri(const char *value)
Definition: Repository.h:253
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ECR::Model::Repository::EncryptionConfigurationHasBeenSet
bool EncryptionConfigurationHasBeenSet() const
Definition: Repository.h:353
Aws::ECR::Model::ImageScanningConfiguration
Definition: ImageScanningConfiguration.h:31
Aws::ECR::Model::Repository::SetRepositoryUri
void SetRepositoryUri(const Aws::String &value)
Definition: Repository.h:223
Aws::ECR::Model::Repository::WithImageScanningConfiguration
Repository & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
Definition: Repository.h:337
Aws::ECR::Model::Repository
Definition: Repository.h:36
Aws::ECR::Model::Repository::RepositoryUriHasBeenSet
bool RepositoryUriHasBeenSet() const
Definition: Repository.h:217
Aws::ECR::Model::Repository::SetRegistryId
void SetRegistryId(const char *value)
Definition: Repository.h:145
Aws::ECR::Model::Repository::ImageTagMutabilityHasBeenSet
bool ImageTagMutabilityHasBeenSet() const
Definition: Repository.h:301
Aws::ECR::Model::ImageTagMutability
ImageTagMutability
Definition: ImageTagMutability.h:17
Aws::ECR::Model::Repository::WithRepositoryName
Repository & WithRepositoryName(const Aws::String &value)
Definition: Repository.h:194
Aws::ECR::Model::Repository::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: Repository.h:169
Aws::ECR::Model::Repository::GetRepositoryArn
const Aws::String & GetRepositoryArn() const
Definition: Repository.h:51
DateTime.h
Aws::ECR::Model::Repository::WithEncryptionConfiguration
Repository & WithEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: Repository.h:371
Aws::ECR::Model::Repository::WithRepositoryArn
Repository & WithRepositoryArn(const char *value)
Definition: Repository.h:114
Aws::ECR::Model::Repository::SetRepositoryUri
void SetRepositoryUri(Aws::String &&value)
Definition: Repository.h:229
Aws::ECR::Model::Repository::WithImageTagMutability
Repository & WithImageTagMutability(const ImageTagMutability &value)
Definition: Repository.h:316
Aws::ECR::Model::Repository::WithRegistryId
Repository & WithRegistryId(Aws::String &&value)
Definition: Repository.h:157
Aws::ECR::Model::Repository::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: Repository.h:189
EncryptionConfiguration.h
Aws::ECR::Model::Repository::WithRepositoryArn
Repository & WithRepositoryArn(Aws::String &&value)
Definition: Repository.h:105
Aws::ECR::Model::Repository::WithRepositoryName
Repository & WithRepositoryName(Aws::String &&value)
Definition: Repository.h:199
Aws::ECR::Model::Repository::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: Repository.h:184
Aws::ECR::Model::Repository::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Repository.h:260
Aws::ECR::Model::Repository::WithRepositoryName
Repository & WithRepositoryName(const char *value)
Definition: Repository.h:204
Aws::ECR::Model::Repository::GetImageTagMutability
const ImageTagMutability & GetImageTagMutability() const
Definition: Repository.h:296
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::Repository::RepositoryArnHasBeenSet
bool RepositoryArnHasBeenSet() const
Definition: Repository.h:60
Aws::ECR::Model::Repository::WithRegistryId
Repository & WithRegistryId(const char *value)
Definition: Repository.h:163
Aws::ECR::Model::Repository::SetEncryptionConfiguration
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
Definition: Repository.h:359
Aws::ECR::Model::Repository::SetRepositoryUri
void SetRepositoryUri(const char *value)
Definition: Repository.h:235
Aws::ECR::Model::Repository::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: Repository.h:133
Aws::ECR::Model::Repository::Repository
Repository()
Aws::ECR::Model::Repository::WithCreatedAt
Repository & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Repository.h:290
Aws::ECR::Model::Repository::SetImageScanningConfiguration
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
Definition: Repository.h:331
Aws::ECR::Model::Repository::RegistryIdHasBeenSet
bool RegistryIdHasBeenSet() const
Definition: Repository.h:127
Aws::ECR::Model::Repository::SetImageTagMutability
void SetImageTagMutability(const ImageTagMutability &value)
Definition: Repository.h:306
ECR_EXPORTS.h
Aws::ECR::Model::Repository::GetImageScanningConfiguration
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Definition: Repository.h:325
Aws::ECR::Model::Repository::WithRegistryId
Repository & WithRegistryId(const Aws::String &value)
Definition: Repository.h:151
Aws::ECR::Model::Repository::SetEncryptionConfiguration
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: Repository.h:365
Aws::ECR::Model::Repository::WithRepositoryUri
Repository & WithRepositoryUri(const Aws::String &value)
Definition: Repository.h:241
Aws::ECR::Model::Repository::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: Repository.h:139
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ECR::Model::Repository::SetImageScanningConfiguration
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
Definition: Repository.h:334
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECR::Model::Repository::WithImageTagMutability
Repository & WithImageTagMutability(ImageTagMutability &&value)
Definition: Repository.h:321
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::EncryptionConfiguration
Definition: EncryptionConfiguration.h:44
Aws::ECR::Model::Repository::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Repository.h:272
Aws::ECR::Model::Repository::RepositoryNameHasBeenSet
bool RepositoryNameHasBeenSet() const
Definition: Repository.h:174
Aws::ECR::Model::Repository::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Repository.h:266
Aws::ECR::Model::Repository::operator=
Repository & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECR::Model::Repository::GetEncryptionConfiguration
const EncryptionConfiguration & GetEncryptionConfiguration() const
Definition: Repository.h:347
Aws::ECR::Model::Repository::WithRepositoryUri
Repository & WithRepositoryUri(Aws::String &&value)
Definition: Repository.h:247
Aws::ECR::Model::Repository::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECR::Model::Repository::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: Repository.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::Repository::Repository
Repository(Aws::Utils::Json::JsonView jsonValue)
Aws::ECR::Model::Repository::WithEncryptionConfiguration
Repository & WithEncryptionConfiguration(EncryptionConfiguration &&value)
Definition: Repository.h:377
Aws::ECR::Model::Repository::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Repository.h:278
Aws::ECR::Model::Repository::WithRepositoryArn
Repository & WithRepositoryArn(const Aws::String &value)
Definition: Repository.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::Repository::WithCreatedAt
Repository & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Repository.h:284
ImageTagMutability.h
ImageScanningConfiguration.h
Aws::ECR::Model::Repository::SetImageTagMutability
void SetImageTagMutability(ImageTagMutability &&value)
Definition: Repository.h:311
Aws::ECR::Model::Repository::ImageScanningConfigurationHasBeenSet
bool ImageScanningConfigurationHasBeenSet() const
Definition: Repository.h:328
Aws::ECR::Model::Repository::SetRepositoryArn
void SetRepositoryArn(Aws::String &&value)
Definition: Repository.h:78
Aws::ECR::Model::Repository::SetRepositoryArn
void SetRepositoryArn(const Aws::String &value)
Definition: Repository.h:69
Aws::ECR::Model::Repository::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: Repository.h:121
Aws::ECR::Model::Repository::SetRepositoryArn
void SetRepositoryArn(const char *value)
Definition: Repository.h:87
Aws::ECR::Model::Repository::WithImageScanningConfiguration
Repository & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
Definition: Repository.h:340
Aws::ECR::Model::Repository::GetRepositoryUri
const Aws::String & GetRepositoryUri() const
Definition: Repository.h:211