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/UpstreamRegistry.h>
47 inline void SetEcrRepositoryPrefix(
const char* value) { m_ecrRepositoryPrefixHasBeenSet =
true; m_ecrRepositoryPrefix.assign(value); }
71 inline void SetUpstreamRegistryUrl(
const char* value) { m_upstreamRegistryUrlHasBeenSet =
true; m_upstreamRegistryUrl.assign(value); }
87 inline void SetRegistryId(
const char* value) { m_registryIdHasBeenSet =
true; m_registryId.assign(value); }
115 inline void SetCredentialArn(
const char* value) { m_credentialArnHasBeenSet =
true; m_credentialArn.assign(value); }
123 bool m_ecrRepositoryPrefixHasBeenSet =
false;
126 bool m_upstreamRegistryUrlHasBeenSet =
false;
129 bool m_registryIdHasBeenSet =
false;
132 bool m_upstreamRegistryHasBeenSet =
false;
135 bool m_credentialArnHasBeenSet =
false;
AWS_ECR_API Aws::String SerializePayload() const override
void SetUpstreamRegistryUrl(const Aws::String &value)
CreatePullThroughCacheRuleRequest & WithCredentialArn(Aws::String &&value)
AWS_ECR_API CreatePullThroughCacheRuleRequest()
void SetCredentialArn(const char *value)
CreatePullThroughCacheRuleRequest & WithCredentialArn(const char *value)
void SetCredentialArn(Aws::String &&value)
bool EcrRepositoryPrefixHasBeenSet() const
void SetUpstreamRegistry(const UpstreamRegistry &value)
CreatePullThroughCacheRuleRequest & WithEcrRepositoryPrefix(Aws::String &&value)
const Aws::String & GetUpstreamRegistryUrl() const
bool UpstreamRegistryHasBeenSet() const
CreatePullThroughCacheRuleRequest & WithUpstreamRegistryUrl(Aws::String &&value)
const Aws::String & GetRegistryId() const
bool CredentialArnHasBeenSet() const
CreatePullThroughCacheRuleRequest & WithEcrRepositoryPrefix(const Aws::String &value)
void SetRegistryId(const Aws::String &value)
CreatePullThroughCacheRuleRequest & WithEcrRepositoryPrefix(const char *value)
CreatePullThroughCacheRuleRequest & WithRegistryId(const Aws::String &value)
void SetRegistryId(const char *value)
bool RegistryIdHasBeenSet() const
void SetRegistryId(Aws::String &&value)
const Aws::String & GetEcrRepositoryPrefix() const
CreatePullThroughCacheRuleRequest & WithCredentialArn(const Aws::String &value)
void SetUpstreamRegistryUrl(Aws::String &&value)
const Aws::String & GetCredentialArn() const
CreatePullThroughCacheRuleRequest & WithUpstreamRegistryUrl(const char *value)
const UpstreamRegistry & GetUpstreamRegistry() const
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetUpstreamRegistry(UpstreamRegistry &&value)
CreatePullThroughCacheRuleRequest & WithUpstreamRegistry(UpstreamRegistry &&value)
CreatePullThroughCacheRuleRequest & WithRegistryId(const char *value)
bool UpstreamRegistryUrlHasBeenSet() const
void SetEcrRepositoryPrefix(const Aws::String &value)
CreatePullThroughCacheRuleRequest & WithUpstreamRegistry(const UpstreamRegistry &value)
CreatePullThroughCacheRuleRequest & WithRegistryId(Aws::String &&value)
void SetEcrRepositoryPrefix(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreatePullThroughCacheRuleRequest & WithUpstreamRegistryUrl(const Aws::String &value)
void SetUpstreamRegistryUrl(const char *value)
void SetEcrRepositoryPrefix(const char *value)
void SetCredentialArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String