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 "CreateRepositoryCreationTemplate"; }
62 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
76 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
138 inline void SetRepositoryPolicy(
const char* value) { m_repositoryPolicyHasBeenSet =
true; m_repositoryPolicy.assign(value); }
152 inline void SetLifecyclePolicy(
const char* value) { m_lifecyclePolicyHasBeenSet =
true; m_lifecyclePolicy.assign(value); }
186 inline void SetCustomRoleArn(
const char* value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn.assign(value); }
194 bool m_prefixHasBeenSet =
false;
197 bool m_descriptionHasBeenSet =
false;
200 bool m_encryptionConfigurationHasBeenSet =
false;
203 bool m_resourceTagsHasBeenSet =
false;
206 bool m_imageTagMutabilityHasBeenSet =
false;
209 bool m_repositoryPolicyHasBeenSet =
false;
212 bool m_lifecyclePolicyHasBeenSet =
false;
215 bool m_appliedForHasBeenSet =
false;
218 bool m_customRoleArnHasBeenSet =
false;
bool DescriptionHasBeenSet() const
CreateRepositoryCreationTemplateRequest & WithEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate &&value)
AWS_ECR_API Aws::String SerializePayload() const override
CreateRepositoryCreationTemplateRequest & WithLifecyclePolicy(Aws::String &&value)
CreateRepositoryCreationTemplateRequest & WithPrefix(Aws::String &&value)
const Aws::String & GetDescription() const
void SetPrefix(const Aws::String &value)
CreateRepositoryCreationTemplateRequest & WithResourceTags(const Aws::Vector< Tag > &value)
CreateRepositoryCreationTemplateRequest & WithPrefix(const Aws::String &value)
CreateRepositoryCreationTemplateRequest & WithImageTagMutability(ImageTagMutability &&value)
void SetCustomRoleArn(Aws::String &&value)
void SetImageTagMutability(ImageTagMutability &&value)
CreateRepositoryCreationTemplateRequest & WithResourceTags(Aws::Vector< Tag > &&value)
const EncryptionConfigurationForRepositoryCreationTemplate & GetEncryptionConfiguration() const
bool ResourceTagsHasBeenSet() const
bool LifecyclePolicyHasBeenSet() const
const Aws::Vector< Tag > & GetResourceTags() const
CreateRepositoryCreationTemplateRequest & WithDescription(Aws::String &&value)
void SetCustomRoleArn(const Aws::String &value)
CreateRepositoryCreationTemplateRequest & AddResourceTags(Tag &&value)
CreateRepositoryCreationTemplateRequest & WithDescription(const char *value)
void SetRepositoryPolicy(const Aws::String &value)
const Aws::String & GetRepositoryPolicy() const
CreateRepositoryCreationTemplateRequest & WithAppliedFor(Aws::Vector< RCTAppliedFor > &&value)
void SetResourceTags(Aws::Vector< Tag > &&value)
CreateRepositoryCreationTemplateRequest & WithCustomRoleArn(const char *value)
bool AppliedForHasBeenSet() const
void SetLifecyclePolicy(const char *value)
CreateRepositoryCreationTemplateRequest & AddAppliedFor(const RCTAppliedFor &value)
bool RepositoryPolicyHasBeenSet() const
void SetDescription(Aws::String &&value)
const ImageTagMutability & GetImageTagMutability() const
CreateRepositoryCreationTemplateRequest & AddAppliedFor(RCTAppliedFor &&value)
CreateRepositoryCreationTemplateRequest & WithAppliedFor(const Aws::Vector< RCTAppliedFor > &value)
const Aws::String & GetPrefix() const
void SetEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate &&value)
void SetAppliedFor(Aws::Vector< RCTAppliedFor > &&value)
void SetPrefix(const char *value)
bool ImageTagMutabilityHasBeenSet() const
void SetAppliedFor(const Aws::Vector< RCTAppliedFor > &value)
void SetEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate &value)
CreateRepositoryCreationTemplateRequest & WithLifecyclePolicy(const char *value)
CreateRepositoryCreationTemplateRequest & WithCustomRoleArn(const Aws::String &value)
void SetCustomRoleArn(const char *value)
const Aws::String & GetCustomRoleArn() const
CreateRepositoryCreationTemplateRequest & WithEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate &value)
CreateRepositoryCreationTemplateRequest & WithDescription(const Aws::String &value)
void SetLifecyclePolicy(const Aws::String &value)
void SetRepositoryPolicy(const char *value)
void SetPrefix(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool CustomRoleArnHasBeenSet() const
void SetLifecyclePolicy(Aws::String &&value)
void SetDescription(const char *value)
CreateRepositoryCreationTemplateRequest & WithRepositoryPolicy(Aws::String &&value)
const Aws::Vector< RCTAppliedFor > & GetAppliedFor() const
void SetImageTagMutability(const ImageTagMutability &value)
CreateRepositoryCreationTemplateRequest & WithPrefix(const char *value)
void SetResourceTags(const Aws::Vector< Tag > &value)
bool EncryptionConfigurationHasBeenSet() const
AWS_ECR_API CreateRepositoryCreationTemplateRequest()
const Aws::String & GetLifecyclePolicy() const
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRepositoryCreationTemplateRequest & WithLifecyclePolicy(const Aws::String &value)
bool PrefixHasBeenSet() const
CreateRepositoryCreationTemplateRequest & WithRepositoryPolicy(const char *value)
virtual const char * GetServiceRequestName() const override
CreateRepositoryCreationTemplateRequest & AddResourceTags(const Tag &value)
CreateRepositoryCreationTemplateRequest & WithRepositoryPolicy(const Aws::String &value)
void SetRepositoryPolicy(Aws::String &&value)
CreateRepositoryCreationTemplateRequest & WithCustomRoleArn(Aws::String &&value)
CreateRepositoryCreationTemplateRequest & WithImageTagMutability(const ImageTagMutability &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