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>
56 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
70 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
131 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); }
178 inline void SetCustomRoleArn(
const char* value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn.assign(value); }
212 bool m_prefixHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
218 bool m_encryptionConfigurationHasBeenSet =
false;
221 bool m_resourceTagsHasBeenSet =
false;
224 bool m_imageTagMutabilityHasBeenSet =
false;
227 bool m_repositoryPolicyHasBeenSet =
false;
230 bool m_lifecyclePolicyHasBeenSet =
false;
233 bool m_appliedForHasBeenSet =
false;
236 bool m_customRoleArnHasBeenSet =
false;
239 bool m_createdAtHasBeenSet =
false;
242 bool m_updatedAtHasBeenSet =
false;
RepositoryCreationTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
RepositoryCreationTemplate & WithLifecyclePolicy(Aws::String &&value)
RepositoryCreationTemplate & WithImageTagMutability(const ImageTagMutability &value)
RepositoryCreationTemplate & WithEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
RepositoryCreationTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
RepositoryCreationTemplate & AddAppliedFor(RCTAppliedFor &&value)
void SetCustomRoleArn(const char *value)
RepositoryCreationTemplate & WithAppliedFor(Aws::Vector< RCTAppliedFor > &&value)
RepositoryCreationTemplate & WithCustomRoleArn(const char *value)
const Aws::Vector< RCTAppliedFor > & GetAppliedFor() const
void SetRepositoryPolicy(const char *value)
void SetPrefix(const char *value)
const Aws::String & GetRepositoryPolicy() const
RepositoryCreationTemplate & WithPrefix(Aws::String &&value)
bool EncryptionConfigurationHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetImageTagMutability(const ImageTagMutability &value)
RepositoryCreationTemplate & WithLifecyclePolicy(const char *value)
void SetPrefix(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const ImageTagMutability & GetImageTagMutability() const
void SetRepositoryPolicy(const Aws::String &value)
RepositoryCreationTemplate & WithCustomRoleArn(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< Tag > & GetResourceTags() const
void SetLifecyclePolicy(const char *value)
void SetDescription(const Aws::String &value)
bool CreatedAtHasBeenSet() const
RepositoryCreationTemplate & WithResourceTags(const Aws::Vector< Tag > &value)
void SetLifecyclePolicy(Aws::String &&value)
void SetLifecyclePolicy(const Aws::String &value)
const Aws::String & GetPrefix() const
void SetEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate &&value)
RepositoryCreationTemplate & WithEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate &&value)
bool PrefixHasBeenSet() const
void SetResourceTags(const Aws::Vector< Tag > &value)
bool ResourceTagsHasBeenSet() const
void SetResourceTags(Aws::Vector< Tag > &&value)
const Aws::String & GetLifecyclePolicy() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetCustomRoleArn() const
RepositoryCreationTemplate & WithResourceTags(Aws::Vector< Tag > &&value)
RepositoryCreationTemplate & WithDescription(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_ECR_API RepositoryCreationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryCreationTemplate & AddResourceTags(Tag &&value)
RepositoryCreationTemplate & WithUpdatedAt(Aws::Utils::DateTime &&value)
RepositoryCreationTemplate & WithDescription(const Aws::String &value)
RepositoryCreationTemplate & WithRepositoryPolicy(const char *value)
void SetCustomRoleArn(Aws::String &&value)
void SetEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
RepositoryCreationTemplate & WithUpdatedAt(const Aws::Utils::DateTime &value)
RepositoryCreationTemplate & AddResourceTags(const Tag &value)
bool RepositoryPolicyHasBeenSet() const
void SetAppliedFor(const Aws::Vector< RCTAppliedFor > &value)
bool DescriptionHasBeenSet() const
void SetPrefix(const Aws::String &value)
void SetCustomRoleArn(const Aws::String &value)
bool LifecyclePolicyHasBeenSet() const
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
bool CustomRoleArnHasBeenSet() const
RepositoryCreationTemplate & AddAppliedFor(const RCTAppliedFor &value)
void SetRepositoryPolicy(Aws::String &&value)
RepositoryCreationTemplate & WithAppliedFor(const Aws::Vector< RCTAppliedFor > &value)
RepositoryCreationTemplate & WithDescription(const char *value)
void SetAppliedFor(Aws::Vector< RCTAppliedFor > &&value)
bool AppliedForHasBeenSet() const
AWS_ECR_API RepositoryCreationTemplate(Aws::Utils::Json::JsonView jsonValue)
RepositoryCreationTemplate & WithImageTagMutability(ImageTagMutability &&value)
RepositoryCreationTemplate & WithPrefix(const char *value)
bool ImageTagMutabilityHasBeenSet() const
const EncryptionConfigurationForRepositoryCreationTemplate & GetEncryptionConfiguration() const
AWS_ECR_API RepositoryCreationTemplate()
RepositoryCreationTemplate & WithCustomRoleArn(const Aws::String &value)
RepositoryCreationTemplate & WithLifecyclePolicy(const Aws::String &value)
void SetDescription(const char *value)
RepositoryCreationTemplate & WithRepositoryPolicy(const Aws::String &value)
RepositoryCreationTemplate & WithPrefix(const Aws::String &value)
RepositoryCreationTemplate & WithRepositoryPolicy(Aws::String &&value)
void SetImageTagMutability(ImageTagMutability &&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