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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename EcrRepositoryPrefixT = Aws::String>
44 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { m_ecrRepositoryPrefixHasBeenSet =
true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
45 template<
typename EcrRepositoryPrefixT = Aws::String>
54 template<
typename UpstreamRegistryUrlT = Aws::String>
55 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { m_upstreamRegistryUrlHasBeenSet =
true; m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value); }
56 template<
typename UpstreamRegistryUrlT = Aws::String>
66 template<
typename CreatedAtT = Aws::Utils::DateTime>
67 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
68 template<
typename CreatedAtT = Aws::Utils::DateTime>
77 template<
typename RegistryIdT = Aws::String>
78 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet =
true; m_registryId = std::forward<RegistryIdT>(value); }
79 template<
typename RegistryIdT = Aws::String>
99 template<
typename CredentialArnT = Aws::String>
100 void SetCredentialArn(CredentialArnT&& value) { m_credentialArnHasBeenSet =
true; m_credentialArn = std::forward<CredentialArnT>(value); }
101 template<
typename CredentialArnT = Aws::String>
110 template<
typename CustomRoleArnT = Aws::String>
111 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
112 template<
typename CustomRoleArnT = Aws::String>
122 template<
typename UpstreamRepositoryPrefixT = Aws::String>
123 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet =
true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
124 template<
typename UpstreamRepositoryPrefixT = Aws::String>
131 template<
typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
133 template<
typename RequestIdT = Aws::String>
139 bool m_ecrRepositoryPrefixHasBeenSet =
false;
142 bool m_upstreamRegistryUrlHasBeenSet =
false;
145 bool m_createdAtHasBeenSet =
false;
148 bool m_registryIdHasBeenSet =
false;
151 bool m_upstreamRegistryHasBeenSet =
false;
154 bool m_credentialArnHasBeenSet =
false;
157 bool m_customRoleArnHasBeenSet =
false;
160 bool m_upstreamRepositoryPrefixHasBeenSet =
false;
163 bool m_requestIdHasBeenSet =
false;
void SetCustomRoleArn(CustomRoleArnT &&value)
void SetRegistryId(RegistryIdT &&value)
CreatePullThroughCacheRuleResult & WithCreatedAt(CreatedAtT &&value)
CreatePullThroughCacheRuleResult & WithCredentialArn(CredentialArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreatePullThroughCacheRuleResult & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
const Aws::String & GetCredentialArn() const
void SetUpstreamRegistry(UpstreamRegistry value)
CreatePullThroughCacheRuleResult & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
AWS_ECR_API CreatePullThroughCacheRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetEcrRepositoryPrefix() const
CreatePullThroughCacheRuleResult & WithCustomRoleArn(CustomRoleArnT &&value)
AWS_ECR_API CreatePullThroughCacheRuleResult()=default
UpstreamRegistry GetUpstreamRegistry() const
const Aws::String & GetUpstreamRegistryUrl() const
void SetUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
const Aws::String & GetCustomRoleArn() const
void SetCredentialArn(CredentialArnT &&value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
CreatePullThroughCacheRuleResult & WithRequestId(RequestIdT &&value)
CreatePullThroughCacheRuleResult & WithUpstreamRegistry(UpstreamRegistry value)
void SetCreatedAt(CreatedAtT &&value)
AWS_ECR_API CreatePullThroughCacheRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpstreamRepositoryPrefix() const
const Aws::String & GetRegistryId() const
CreatePullThroughCacheRuleResult & WithRegistryId(RegistryIdT &&value)
void SetEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue