7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/UpstreamRegistry.h>
43 template <
typename EcrRepositoryPrefixT = Aws::String>
45 m_ecrRepositoryPrefixHasBeenSet =
true;
46 m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value);
48 template <
typename EcrRepositoryPrefixT = Aws::String>
61 template <
typename UpstreamRegistryUrlT = Aws::String>
63 m_upstreamRegistryUrlHasBeenSet =
true;
64 m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value);
66 template <
typename UpstreamRegistryUrlT = Aws::String>
79 template <
typename CreatedAtT = Aws::Utils::DateTime>
81 m_createdAtHasBeenSet =
true;
82 m_createdAt = std::forward<CreatedAtT>(value);
84 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 template <
typename RegistryIdT = Aws::String>
100 m_registryIdHasBeenSet =
true;
101 m_registryId = std::forward<RegistryIdT>(value);
103 template <
typename RegistryIdT = Aws::String>
117 template <
typename CredentialArnT = Aws::String>
119 m_credentialArnHasBeenSet =
true;
120 m_credentialArn = std::forward<CredentialArnT>(value);
122 template <
typename CredentialArnT = Aws::String>
135 template <
typename CustomRoleArnT = Aws::String>
137 m_customRoleArnHasBeenSet =
true;
138 m_customRoleArn = std::forward<CustomRoleArnT>(value);
140 template <
typename CustomRoleArnT = Aws::String>
154 template <
typename UpstreamRepositoryPrefixT = Aws::String>
156 m_upstreamRepositoryPrefixHasBeenSet =
true;
157 m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value);
159 template <
typename UpstreamRepositoryPrefixT = Aws::String>
174 m_upstreamRegistryHasBeenSet =
true;
175 m_upstreamRegistry = value;
190 template <
typename UpdatedAtT = Aws::Utils::DateTime>
192 m_updatedAtHasBeenSet =
true;
193 m_updatedAt = std::forward<UpdatedAtT>(value);
195 template <
typename UpdatedAtT = Aws::Utils::DateTime>
219 bool m_ecrRepositoryPrefixHasBeenSet =
false;
220 bool m_upstreamRegistryUrlHasBeenSet =
false;
221 bool m_createdAtHasBeenSet =
false;
222 bool m_registryIdHasBeenSet =
false;
223 bool m_credentialArnHasBeenSet =
false;
224 bool m_customRoleArnHasBeenSet =
false;
225 bool m_upstreamRepositoryPrefixHasBeenSet =
false;
226 bool m_upstreamRegistryHasBeenSet =
false;
227 bool m_updatedAtHasBeenSet =
false;
const Aws::String & GetUpstreamRegistryUrl() const
bool UpstreamRegistryUrlHasBeenSet() const
const Aws::String & GetRegistryId() const
void SetCustomRoleArn(CustomRoleArnT &&value)
void SetCredentialArn(CredentialArnT &&value)
const Aws::String & GetCredentialArn() const
void SetUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegistryId(RegistryIdT &&value)
PullThroughCacheRule & WithCredentialArn(CredentialArnT &&value)
UpstreamRegistry GetUpstreamRegistry() const
const Aws::String & GetCustomRoleArn() const
PullThroughCacheRule & WithUpdatedAt(UpdatedAtT &&value)
void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
AWS_ECR_API PullThroughCacheRule & operator=(Aws::Utils::Json::JsonView jsonValue)
PullThroughCacheRule & WithUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool UpstreamRepositoryPrefixHasBeenSet() const
void SetEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
PullThroughCacheRule & WithRegistryId(RegistryIdT &&value)
bool RegistryIdHasBeenSet() const
const Aws::String & GetEcrRepositoryPrefix() const
AWS_ECR_API PullThroughCacheRule()=default
bool UpdatedAtHasBeenSet() const
PullThroughCacheRule & WithUpstreamRegistryUrl(UpstreamRegistryUrlT &&value)
PullThroughCacheRule & WithUpstreamRegistry(UpstreamRegistry value)
PullThroughCacheRule & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
bool CredentialArnHasBeenSet() const
AWS_ECR_API PullThroughCacheRule(Aws::Utils::Json::JsonView jsonValue)
PullThroughCacheRule & WithEcrRepositoryPrefix(EcrRepositoryPrefixT &&value)
void SetUpstreamRegistry(UpstreamRegistry value)
PullThroughCacheRule & WithCustomRoleArn(CustomRoleArnT &&value)
bool UpstreamRegistryHasBeenSet() const
bool CustomRoleArnHasBeenSet() const
const Aws::String & GetUpstreamRepositoryPrefix() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool EcrRepositoryPrefixHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue