7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/EncryptionConfigurationForRepositoryCreationTemplate.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/ImageTagMutability.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ecr/model/Tag.h>
14#include <aws/ecr/model/ImageTagMutabilityExclusionFilter.h>
15#include <aws/ecr/model/RCTAppliedFor.h>
55 template<
typename PrefixT = Aws::String>
56 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
57 template<
typename PrefixT = Aws::String>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
80 template<
typename EncryptionConfigurationT = EncryptionConfigurationForRepositoryCreationTemplate>
81 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
82 template<
typename EncryptionConfigurationT = EncryptionConfigurationForRepositoryCreationTemplate>
95 template<
typename ResourceTagsT = Aws::Vector<Tag>>
96 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
97 template<
typename ResourceTagsT = Aws::Vector<Tag>>
99 template<
typename ResourceTagsT = Tag>
125 template<
typename ImageTagMutabilityExclusionFiltersT = Aws::Vector<ImageTagMutabilityExclusionFilter>>
126 void SetImageTagMutabilityExclusionFilters(ImageTagMutabilityExclusionFiltersT&& value) { m_imageTagMutabilityExclusionFiltersHasBeenSet =
true; m_imageTagMutabilityExclusionFilters = std::forward<ImageTagMutabilityExclusionFiltersT>(value); }
127 template<
typename ImageTagMutabilityExclusionFiltersT = Aws::Vector<ImageTagMutabilityExclusionFilter>>
129 template<
typename ImageTagMutabilityExclusionFiltersT = ImageTagMutabilityExclusionFilter>
141 template<
typename RepositoryPolicyT = Aws::String>
142 void SetRepositoryPolicy(RepositoryPolicyT&& value) { m_repositoryPolicyHasBeenSet =
true; m_repositoryPolicy = std::forward<RepositoryPolicyT>(value); }
143 template<
typename RepositoryPolicyT = Aws::String>
153 template<
typename LifecyclePolicyT = Aws::String>
154 void SetLifecyclePolicy(LifecyclePolicyT&& value) { m_lifecyclePolicyHasBeenSet =
true; m_lifecyclePolicy = std::forward<LifecyclePolicyT>(value); }
155 template<
typename LifecyclePolicyT = Aws::String>
167 template<
typename AppliedForT = Aws::Vector<RCTAppliedFor>>
168 void SetAppliedFor(AppliedForT&& value) { m_appliedForHasBeenSet =
true; m_appliedFor = std::forward<AppliedForT>(value); }
169 template<
typename AppliedForT = Aws::Vector<RCTAppliedFor>>
183 template<
typename CustomRoleArnT = Aws::String>
184 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
185 template<
typename CustomRoleArnT = Aws::String>
196 template<
typename CreatedAtT = Aws::Utils::DateTime>
197 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
198 template<
typename CreatedAtT = Aws::Utils::DateTime>
209 template<
typename UpdatedAtT = Aws::Utils::DateTime>
210 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
211 template<
typename UpdatedAtT = Aws::Utils::DateTime>
217 bool m_prefixHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
223 bool m_encryptionConfigurationHasBeenSet =
false;
226 bool m_resourceTagsHasBeenSet =
false;
229 bool m_imageTagMutabilityHasBeenSet =
false;
232 bool m_imageTagMutabilityExclusionFiltersHasBeenSet =
false;
235 bool m_repositoryPolicyHasBeenSet =
false;
238 bool m_lifecyclePolicyHasBeenSet =
false;
241 bool m_appliedForHasBeenSet =
false;
244 bool m_customRoleArnHasBeenSet =
false;
247 bool m_createdAtHasBeenSet =
false;
250 bool m_updatedAtHasBeenSet =
false;
void SetImageTagMutability(ImageTagMutability value)
RepositoryCreationTemplate & WithResourceTags(ResourceTagsT &&value)
const Aws::String & GetDescription() const
RepositoryCreationTemplate & AddResourceTags(ResourceTagsT &&value)
const Aws::Vector< RCTAppliedFor > & GetAppliedFor() const
const Aws::String & GetRepositoryPolicy() const
RepositoryCreationTemplate & WithPrefix(PrefixT &&value)
bool EncryptionConfigurationHasBeenSet() const
bool UpdatedAtHasBeenSet() const
RepositoryCreationTemplate & WithAppliedFor(AppliedForT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Tag > & GetResourceTags() const
bool CreatedAtHasBeenSet() const
RepositoryCreationTemplate & WithRepositoryPolicy(RepositoryPolicyT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
RepositoryCreationTemplate & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetPrefix() const
bool PrefixHasBeenSet() const
bool ResourceTagsHasBeenSet() const
void SetAppliedFor(AppliedForT &&value)
const Aws::String & GetLifecyclePolicy() const
RepositoryCreationTemplate & AddImageTagMutabilityExclusionFilters(ImageTagMutabilityExclusionFiltersT &&value)
const Aws::String & GetCustomRoleArn() const
void SetDescription(DescriptionT &&value)
RepositoryCreationTemplate & WithCustomRoleArn(CustomRoleArnT &&value)
AWS_ECR_API RepositoryCreationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageTagMutability GetImageTagMutability() const
RepositoryCreationTemplate & WithImageTagMutability(ImageTagMutability value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
RepositoryCreationTemplate & WithLifecyclePolicy(LifecyclePolicyT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool RepositoryPolicyHasBeenSet() const
RepositoryCreationTemplate & AddAppliedFor(RCTAppliedFor value)
bool DescriptionHasBeenSet() const
bool LifecyclePolicyHasBeenSet() const
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
bool CustomRoleArnHasBeenSet() const
void SetImageTagMutabilityExclusionFilters(ImageTagMutabilityExclusionFiltersT &&value)
RepositoryCreationTemplate & WithUpdatedAt(UpdatedAtT &&value)
bool AppliedForHasBeenSet() const
AWS_ECR_API RepositoryCreationTemplate(Aws::Utils::Json::JsonView jsonValue)
bool ImageTagMutabilityHasBeenSet() const
RepositoryCreationTemplate & WithImageTagMutabilityExclusionFilters(ImageTagMutabilityExclusionFiltersT &&value)
void SetLifecyclePolicy(LifecyclePolicyT &&value)
void SetCustomRoleArn(CustomRoleArnT &&value)
const EncryptionConfigurationForRepositoryCreationTemplate & GetEncryptionConfiguration() const
void SetResourceTags(ResourceTagsT &&value)
bool ImageTagMutabilityExclusionFiltersHasBeenSet() const
RepositoryCreationTemplate & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< ImageTagMutabilityExclusionFilter > & GetImageTagMutabilityExclusionFilters() const
void SetRepositoryPolicy(RepositoryPolicyT &&value)
AWS_ECR_API RepositoryCreationTemplate()=default
void SetPrefix(PrefixT &&value)
RepositoryCreationTemplate & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue