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/ecr/model/EncryptionConfigurationForRepositoryCreationTemplate.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ecr/model/ImageTagMutability.h>
13#include <aws/ecr/model/Tag.h>
14#include <aws/ecr/model/RCTAppliedFor.h>
35 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateRepositoryCreationTemplate"; }
57 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
71 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
130 inline void SetRepositoryPolicy(
const char* value) { m_repositoryPolicyHasBeenSet =
true; m_repositoryPolicy.assign(value); }
145 inline void SetLifecyclePolicy(
const char* value) { m_lifecyclePolicyHasBeenSet =
true; m_lifecyclePolicy.assign(value); }
179 inline void SetCustomRoleArn(
const char* value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn.assign(value); }
187 bool m_prefixHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
193 bool m_encryptionConfigurationHasBeenSet =
false;
196 bool m_resourceTagsHasBeenSet =
false;
199 bool m_imageTagMutabilityHasBeenSet =
false;
202 bool m_repositoryPolicyHasBeenSet =
false;
205 bool m_lifecyclePolicyHasBeenSet =
false;
208 bool m_appliedForHasBeenSet =
false;
211 bool m_customRoleArnHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetLifecyclePolicy(Aws::String &&value)
const Aws::String & GetCustomRoleArn() const
UpdateRepositoryCreationTemplateRequest & WithImageTagMutability(ImageTagMutability &&value)
void SetCustomRoleArn(const char *value)
UpdateRepositoryCreationTemplateRequest & WithCustomRoleArn(const char *value)
void SetRepositoryPolicy(const char *value)
void SetRepositoryPolicy(const Aws::String &value)
UpdateRepositoryCreationTemplateRequest & WithDescription(const Aws::String &value)
bool ImageTagMutabilityHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRepositoryPolicy() const
UpdateRepositoryCreationTemplateRequest & WithEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate &&value)
UpdateRepositoryCreationTemplateRequest & WithLifecyclePolicy(Aws::String &&value)
void SetEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate &&value)
UpdateRepositoryCreationTemplateRequest & AddResourceTags(Tag &&value)
void SetDescription(const char *value)
void SetLifecyclePolicy(const Aws::String &value)
bool CustomRoleArnHasBeenSet() const
const EncryptionConfigurationForRepositoryCreationTemplate & GetEncryptionConfiguration() const
UpdateRepositoryCreationTemplateRequest & AddResourceTags(const Tag &value)
UpdateRepositoryCreationTemplateRequest & WithDescription(Aws::String &&value)
void SetImageTagMutability(const ImageTagMutability &value)
void SetAppliedFor(Aws::Vector< RCTAppliedFor > &&value)
void SetDescription(const Aws::String &value)
UpdateRepositoryCreationTemplateRequest & WithAppliedFor(const Aws::Vector< RCTAppliedFor > &value)
bool AppliedForHasBeenSet() const
UpdateRepositoryCreationTemplateRequest & WithResourceTags(Aws::Vector< Tag > &&value)
UpdateRepositoryCreationTemplateRequest & AddAppliedFor(const RCTAppliedFor &value)
bool ResourceTagsHasBeenSet() const
const ImageTagMutability & GetImageTagMutability() const
void SetImageTagMutability(ImageTagMutability &&value)
void SetRepositoryPolicy(Aws::String &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCustomRoleArn(const Aws::String &value)
UpdateRepositoryCreationTemplateRequest & WithCustomRoleArn(const Aws::String &value)
UpdateRepositoryCreationTemplateRequest & WithDescription(const char *value)
bool PrefixHasBeenSet() const
const Aws::String & GetLifecyclePolicy() const
void SetPrefix(Aws::String &&value)
UpdateRepositoryCreationTemplateRequest & WithLifecyclePolicy(const Aws::String &value)
const Aws::String & GetPrefix() const
UpdateRepositoryCreationTemplateRequest & WithCustomRoleArn(Aws::String &&value)
bool LifecyclePolicyHasBeenSet() const
void SetPrefix(const Aws::String &value)
void SetResourceTags(Aws::Vector< Tag > &&value)
UpdateRepositoryCreationTemplateRequest & WithRepositoryPolicy(Aws::String &&value)
UpdateRepositoryCreationTemplateRequest & WithEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate &value)
void SetAppliedFor(const Aws::Vector< RCTAppliedFor > &value)
void SetPrefix(const char *value)
UpdateRepositoryCreationTemplateRequest & WithLifecyclePolicy(const char *value)
void SetEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate &value)
bool DescriptionHasBeenSet() const
UpdateRepositoryCreationTemplateRequest & WithPrefix(const Aws::String &value)
void SetCustomRoleArn(Aws::String &&value)
const Aws::Vector< RCTAppliedFor > & GetAppliedFor() const
UpdateRepositoryCreationTemplateRequest & WithPrefix(Aws::String &&value)
AWS_ECR_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetResourceTags() const
UpdateRepositoryCreationTemplateRequest & WithPrefix(const char *value)
UpdateRepositoryCreationTemplateRequest & WithResourceTags(const Aws::Vector< Tag > &value)
UpdateRepositoryCreationTemplateRequest & WithImageTagMutability(const ImageTagMutability &value)
bool EncryptionConfigurationHasBeenSet() const
bool RepositoryPolicyHasBeenSet() const
UpdateRepositoryCreationTemplateRequest & WithRepositoryPolicy(const char *value)
UpdateRepositoryCreationTemplateRequest & WithRepositoryPolicy(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetResourceTags(const Aws::Vector< Tag > &value)
UpdateRepositoryCreationTemplateRequest & WithAppliedFor(Aws::Vector< RCTAppliedFor > &&value)
UpdateRepositoryCreationTemplateRequest & AddAppliedFor(RCTAppliedFor &&value)
AWS_ECR_API UpdateRepositoryCreationTemplateRequest()
void SetLifecyclePolicy(const char *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