7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/ECRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/ImageTagMutability.h>
12#include <aws/ecr/model/ImageScanningConfiguration.h>
13#include <aws/ecr/model/EncryptionConfiguration.h>
14#include <aws/ecr/model/Tag.h>
52 inline void SetRegistryId(
const char* value) { m_registryIdHasBeenSet =
true; m_registryId.assign(value); }
71 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
139 bool m_registryIdHasBeenSet =
false;
142 bool m_repositoryNameHasBeenSet =
false;
145 bool m_tagsHasBeenSet =
false;
148 bool m_imageTagMutabilityHasBeenSet =
false;
151 bool m_imageScanningConfigurationHasBeenSet =
false;
154 bool m_encryptionConfigurationHasBeenSet =
false;
CreateRepositoryRequest & WithRepositoryName(Aws::String &&value)
void SetRegistryId(const Aws::String &value)
CreateRepositoryRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_ECR_API CreateRepositoryRequest()
virtual const char * GetServiceRequestName() const override
bool RegistryIdHasBeenSet() const
const ImageTagMutability & GetImageTagMutability() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRegistryId() const
void SetImageTagMutability(const ImageTagMutability &value)
CreateRepositoryRequest & WithImageTagMutability(const ImageTagMutability &value)
void SetRegistryId(const char *value)
CreateRepositoryRequest & WithImageTagMutability(ImageTagMutability &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
CreateRepositoryRequest & WithEncryptionConfiguration(const EncryptionConfiguration &value)
CreateRepositoryRequest & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
CreateRepositoryRequest & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
CreateRepositoryRequest & WithTags(const Aws::Vector< Tag > &value)
CreateRepositoryRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_ECR_API Aws::String SerializePayload() const override
CreateRepositoryRequest & AddTags(const Tag &value)
CreateRepositoryRequest & AddTags(Tag &&value)
CreateRepositoryRequest & WithRepositoryName(const Aws::String &value)
bool EncryptionConfigurationHasBeenSet() const
void SetRegistryId(Aws::String &&value)
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
void SetImageTagMutability(ImageTagMutability &&value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
bool ImageScanningConfigurationHasBeenSet() const
bool RepositoryNameHasBeenSet() const
void SetRepositoryName(const char *value)
bool ImageTagMutabilityHasBeenSet() const
const Aws::String & GetRepositoryName() const
void SetRepositoryName(Aws::String &&value)
CreateRepositoryRequest & WithRegistryId(Aws::String &&value)
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
CreateRepositoryRequest & WithRegistryId(const char *value)
CreateRepositoryRequest & WithRegistryId(const Aws::String &value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateRepositoryRequest & WithRepositoryName(const char *value)
void SetRepositoryName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector