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>
50 template<
typename RegistryIdT = Aws::String>
51 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet =
true; m_registryId = std::forward<RegistryIdT>(value); }
52 template<
typename RegistryIdT = Aws::String>
67 template<
typename RepositoryNameT = Aws::String>
68 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
69 template<
typename RepositoryNameT = Aws::String>
82 template<
typename TagsT = Aws::Vector<Tag>>
83 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
84 template<
typename TagsT = Aws::Vector<Tag>>
86 template<
typename TagsT = Tag>
112 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
113 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) { m_imageScanningConfigurationHasBeenSet =
true; m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value); }
114 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
125 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
126 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
127 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
133 bool m_registryIdHasBeenSet =
false;
136 bool m_repositoryNameHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
142 bool m_imageTagMutabilityHasBeenSet =
false;
144 ImageScanningConfiguration m_imageScanningConfiguration;
145 bool m_imageScanningConfigurationHasBeenSet =
false;
147 EncryptionConfiguration m_encryptionConfiguration;
148 bool m_encryptionConfigurationHasBeenSet =
false;
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
bool RegistryIdHasBeenSet() const
void SetImageTagMutability(ImageTagMutability value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRegistryId() const
void SetTags(TagsT &&value)
CreateRepositoryRequest & WithRepositoryName(RepositoryNameT &&value)
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
ImageTagMutability GetImageTagMutability() const
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRegistryId(RegistryIdT &&value)
AWS_ECR_API Aws::String SerializePayload() const override
AWS_ECR_API CreateRepositoryRequest()=default
bool EncryptionConfigurationHasBeenSet() const
CreateRepositoryRequest & AddTags(TagsT &&value)
CreateRepositoryRequest & WithImageTagMutability(ImageTagMutability value)
bool ImageScanningConfigurationHasBeenSet() const
CreateRepositoryRequest & WithRegistryId(RegistryIdT &&value)
bool RepositoryNameHasBeenSet() const
bool ImageTagMutabilityHasBeenSet() const
CreateRepositoryRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetRepositoryName() const
CreateRepositoryRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
CreateRepositoryRequest & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
void SetRepositoryName(RepositoryNameT &&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