7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ecr/model/UpstreamRegistry.h>
51 inline void SetEcrRepositoryPrefix(
const char* value) { m_ecrRepositoryPrefixHasBeenSet =
true; m_ecrRepositoryPrefix.assign(value); }
65 inline void SetUpstreamRegistryUrl(
const char* value) { m_upstreamRegistryUrlHasBeenSet =
true; m_upstreamRegistryUrl.assign(value); }
92 inline void SetRegistryId(
const char* value) { m_registryIdHasBeenSet =
true; m_registryId.assign(value); }
107 inline void SetCredentialArn(
const char* value) { m_credentialArnHasBeenSet =
true; m_credentialArn.assign(value); }
141 bool m_ecrRepositoryPrefixHasBeenSet =
false;
144 bool m_upstreamRegistryUrlHasBeenSet =
false;
147 bool m_createdAtHasBeenSet =
false;
150 bool m_registryIdHasBeenSet =
false;
153 bool m_credentialArnHasBeenSet =
false;
156 bool m_upstreamRegistryHasBeenSet =
false;
159 bool m_updatedAtHasBeenSet =
false;
const Aws::String & GetUpstreamRegistryUrl() const
bool UpstreamRegistryUrlHasBeenSet() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCredentialArn(Aws::String &&value)
const Aws::String & GetRegistryId() const
void SetRegistryId(const char *value)
void SetEcrRepositoryPrefix(Aws::String &&value)
void SetCredentialArn(const char *value)
void SetRegistryId(Aws::String &&value)
const Aws::String & GetCredentialArn() const
PullThroughCacheRule & WithEcrRepositoryPrefix(Aws::String &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
PullThroughCacheRule & WithCredentialArn(const Aws::String &value)
void SetUpstreamRegistry(const UpstreamRegistry &value)
PullThroughCacheRule & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetRegistryId(const Aws::String &value)
PullThroughCacheRule & WithUpstreamRegistryUrl(const char *value)
PullThroughCacheRule & WithCredentialArn(const char *value)
AWS_ECR_API PullThroughCacheRule()
AWS_ECR_API PullThroughCacheRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const UpstreamRegistry & GetUpstreamRegistry() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
PullThroughCacheRule & WithCreatedAt(const Aws::Utils::DateTime &value)
PullThroughCacheRule & WithUpstreamRegistryUrl(Aws::String &&value)
void SetUpstreamRegistry(UpstreamRegistry &&value)
PullThroughCacheRule & WithUpdatedAt(const Aws::Utils::DateTime &value)
bool RegistryIdHasBeenSet() const
const Aws::String & GetEcrRepositoryPrefix() const
void SetEcrRepositoryPrefix(const Aws::String &value)
bool UpdatedAtHasBeenSet() const
PullThroughCacheRule & WithUpstreamRegistry(const UpstreamRegistry &value)
PullThroughCacheRule & WithRegistryId(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
bool CredentialArnHasBeenSet() const
PullThroughCacheRule & WithEcrRepositoryPrefix(const Aws::String &value)
PullThroughCacheRule & WithRegistryId(Aws::String &&value)
AWS_ECR_API PullThroughCacheRule(Aws::Utils::Json::JsonView jsonValue)
PullThroughCacheRule & WithUpstreamRegistryUrl(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
PullThroughCacheRule & WithUpstreamRegistry(UpstreamRegistry &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetUpstreamRegistryUrl(Aws::String &&value)
PullThroughCacheRule & WithRegistryId(const Aws::String &value)
void SetUpstreamRegistryUrl(const char *value)
void SetUpstreamRegistryUrl(const Aws::String &value)
PullThroughCacheRule & WithEcrRepositoryPrefix(const char *value)
bool UpstreamRegistryHasBeenSet() const
void SetCredentialArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
PullThroughCacheRule & WithCredentialArn(Aws::String &&value)
PullThroughCacheRule & WithCreatedAt(Aws::Utils::DateTime &&value)
bool EcrRepositoryPrefixHasBeenSet() const
void SetEcrRepositoryPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue