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 template<
typename EcrRepositoryPrefixT = Aws::String>
48 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { m_ecrRepositoryPrefixHasBeenSet =
true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
49 template<
typename EcrRepositoryPrefixT = Aws::String>
73 template<
typename UpstreamRegistryUrlT = Aws::String>
74 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { m_upstreamRegistryUrlHasBeenSet =
true; m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value); }
75 template<
typename UpstreamRegistryUrlT = Aws::String>
87 template<
typename RegistryIdT = Aws::String>
88 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet =
true; m_registryId = std::forward<RegistryIdT>(value); }
89 template<
typename RegistryIdT = Aws::String>
111 template<
typename CredentialArnT = Aws::String>
112 void SetCredentialArn(CredentialArnT&& value) { m_credentialArnHasBeenSet =
true; m_credentialArn = std::forward<CredentialArnT>(value); }
113 template<
typename CredentialArnT = Aws::String>
125 template<
typename CustomRoleArnT = Aws::String>
126 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
127 template<
typename CustomRoleArnT = Aws::String>
139 template<
typename UpstreamRepositoryPrefixT = Aws::String>
140 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet =
true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
141 template<
typename UpstreamRepositoryPrefixT = Aws::String>
147 bool m_ecrRepositoryPrefixHasBeenSet =
false;
150 bool m_upstreamRegistryUrlHasBeenSet =
false;
153 bool m_registryIdHasBeenSet =
false;
156 bool m_upstreamRegistryHasBeenSet =
false;
159 bool m_credentialArnHasBeenSet =
false;
162 bool m_customRoleArnHasBeenSet =
false;
165 bool m_upstreamRepositoryPrefixHasBeenSet =
false;
void SetUpstreamRegistry(UpstreamRegistry value)
AWS_ECR_API Aws::String SerializePayload() const override
const Aws::String & GetUpstreamRepositoryPrefix() const
bool EcrRepositoryPrefixHasBeenSet() const
const Aws::String & GetUpstreamRegistryUrl() const
bool UpstreamRegistryHasBeenSet() const
void SetCredentialArn(CredentialArnT &&value)
const Aws::String & GetRegistryId() const
bool CredentialArnHasBeenSet() const
CreatePullThroughCacheRuleRequest & WithUpstreamRegistry(UpstreamRegistry value)
CreatePullThroughCacheRuleRequest & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
bool UpstreamRepositoryPrefixHasBeenSet() const
bool RegistryIdHasBeenSet() const
const Aws::String & GetEcrRepositoryPrefix() const
const Aws::String & GetCredentialArn() const
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
void SetEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCustomRoleArn(CustomRoleArnT &&value)
void SetRegistryId(RegistryIdT &&value)
AWS_ECR_API CreatePullThroughCacheRuleRequest()=default
CreatePullThroughCacheRuleRequest & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
bool UpstreamRegistryUrlHasBeenSet() const
const Aws::String & GetCustomRoleArn() const
UpstreamRegistry GetUpstreamRegistry() const
CreatePullThroughCacheRuleRequest & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
CreatePullThroughCacheRuleRequest & WithRegistryId(RegistryIdT &&value)
void SetUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
virtual const char * GetServiceRequestName() const override
CreatePullThroughCacheRuleRequest & WithCustomRoleArn(CustomRoleArnT &&value)
CreatePullThroughCacheRuleRequest & WithCredentialArn(CredentialArnT &&value)
bool CustomRoleArnHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String