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/RCTAppliedFor.h>
54 template<
typename PrefixT = Aws::String>
55 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
56 template<
typename PrefixT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
79 template<
typename EncryptionConfigurationT = EncryptionConfigurationForRepositoryCreationTemplate>
80 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
81 template<
typename EncryptionConfigurationT = EncryptionConfigurationForRepositoryCreationTemplate>
94 template<
typename ResourceTagsT = Aws::Vector<Tag>>
95 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
96 template<
typename ResourceTagsT = Aws::Vector<Tag>>
98 template<
typename ResourceTagsT = Tag>
124 template<
typename RepositoryPolicyT = Aws::String>
125 void SetRepositoryPolicy(RepositoryPolicyT&& value) { m_repositoryPolicyHasBeenSet =
true; m_repositoryPolicy = std::forward<RepositoryPolicyT>(value); }
126 template<
typename RepositoryPolicyT = Aws::String>
136 template<
typename LifecyclePolicyT = Aws::String>
137 void SetLifecyclePolicy(LifecyclePolicyT&& value) { m_lifecyclePolicyHasBeenSet =
true; m_lifecyclePolicy = std::forward<LifecyclePolicyT>(value); }
138 template<
typename LifecyclePolicyT = Aws::String>
150 template<
typename AppliedForT = Aws::Vector<RCTAppliedFor>>
151 void SetAppliedFor(AppliedForT&& value) { m_appliedForHasBeenSet =
true; m_appliedFor = std::forward<AppliedForT>(value); }
152 template<
typename AppliedForT = Aws::Vector<RCTAppliedFor>>
166 template<
typename CustomRoleArnT = Aws::String>
167 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
168 template<
typename CustomRoleArnT = Aws::String>
179 template<
typename CreatedAtT = Aws::Utils::DateTime>
180 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
181 template<
typename CreatedAtT = Aws::Utils::DateTime>
192 template<
typename UpdatedAtT = Aws::Utils::DateTime>
193 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
194 template<
typename UpdatedAtT = Aws::Utils::DateTime>
200 bool m_prefixHasBeenSet =
false;
203 bool m_descriptionHasBeenSet =
false;
206 bool m_encryptionConfigurationHasBeenSet =
false;
209 bool m_resourceTagsHasBeenSet =
false;
212 bool m_imageTagMutabilityHasBeenSet =
false;
215 bool m_repositoryPolicyHasBeenSet =
false;
218 bool m_lifecyclePolicyHasBeenSet =
false;
221 bool m_appliedForHasBeenSet =
false;
224 bool m_customRoleArnHasBeenSet =
false;
227 bool m_createdAtHasBeenSet =
false;
230 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
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
RepositoryCreationTemplate & WithUpdatedAt(UpdatedAtT &&value)
bool AppliedForHasBeenSet() const
AWS_ECR_API RepositoryCreationTemplate(Aws::Utils::Json::JsonView jsonValue)
bool ImageTagMutabilityHasBeenSet() const
void SetLifecyclePolicy(LifecyclePolicyT &&value)
void SetCustomRoleArn(CustomRoleArnT &&value)
const EncryptionConfigurationForRepositoryCreationTemplate & GetEncryptionConfiguration() const
void SetResourceTags(ResourceTagsT &&value)
RepositoryCreationTemplate & WithCreatedAt(CreatedAtT &&value)
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