7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
41 template<
typename EcrRepositoryPrefixT = Aws::String>
42 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { m_ecrRepositoryPrefixHasBeenSet =
true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
43 template<
typename EcrRepositoryPrefixT = Aws::String>
52 template<
typename RegistryIdT = Aws::String>
53 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet =
true; m_registryId = std::forward<RegistryIdT>(value); }
54 template<
typename RegistryIdT = Aws::String>
63 template<
typename UpstreamRegistryUrlT = Aws::String>
64 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { m_upstreamRegistryUrlHasBeenSet =
true; m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value); }
65 template<
typename UpstreamRegistryUrlT = Aws::String>
75 template<
typename CredentialArnT = Aws::String>
76 void SetCredentialArn(CredentialArnT&& value) { m_credentialArnHasBeenSet =
true; m_credentialArn = std::forward<CredentialArnT>(value); }
77 template<
typename CredentialArnT = Aws::String>
86 template<
typename CustomRoleArnT = Aws::String>
87 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
88 template<
typename CustomRoleArnT = Aws::String>
98 template<
typename UpstreamRepositoryPrefixT = Aws::String>
99 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet =
true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
100 template<
typename UpstreamRepositoryPrefixT = Aws::String>
112 inline void SetIsValid(
bool value) { m_isValidHasBeenSet =
true; m_isValid = value; }
125 template<
typename FailureT = Aws::String>
126 void SetFailure(FailureT&& value) { m_failureHasBeenSet =
true; m_failure = std::forward<FailureT>(value); }
127 template<
typename FailureT = Aws::String>
134 template<
typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
136 template<
typename RequestIdT = Aws::String>
142 bool m_ecrRepositoryPrefixHasBeenSet =
false;
145 bool m_registryIdHasBeenSet =
false;
148 bool m_upstreamRegistryUrlHasBeenSet =
false;
151 bool m_credentialArnHasBeenSet =
false;
154 bool m_customRoleArnHasBeenSet =
false;
157 bool m_upstreamRepositoryPrefixHasBeenSet =
false;
159 bool m_isValid{
false};
160 bool m_isValidHasBeenSet =
false;
163 bool m_failureHasBeenSet =
false;
166 bool m_requestIdHasBeenSet =
false;
ValidatePullThroughCacheRuleResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRegistryId() const
const Aws::String & GetEcrRepositoryPrefix() const
const Aws::String & GetFailure() const
const Aws::String & GetRequestId() const
void SetUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
ValidatePullThroughCacheRuleResult & WithCredentialArn(CredentialArnT &&value)
ValidatePullThroughCacheRuleResult & WithIsValid(bool value)
void SetFailure(FailureT &&value)
ValidatePullThroughCacheRuleResult & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
void SetRequestId(RequestIdT &&value)
ValidatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
AWS_ECR_API ValidatePullThroughCacheRuleResult()=default
const Aws::String & GetUpstreamRegistryUrl() const
ValidatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
void SetCredentialArn(CredentialArnT &&value)
AWS_ECR_API ValidatePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegistryId(RegistryIdT &&value)
const Aws::String & GetCredentialArn() const
ValidatePullThroughCacheRuleResult & WithRegistryId(RegistryIdT &&value)
const Aws::String & GetCustomRoleArn() const
void SetIsValid(bool value)
AWS_ECR_API ValidatePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpstreamRepositoryPrefix() const
void SetEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
void SetCustomRoleArn(CustomRoleArnT &&value)
ValidatePullThroughCacheRuleResult & WithFailure(FailureT &&value)
ValidatePullThroughCacheRuleResult & WithCustomRoleArn(CustomRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue