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>
49 template<
typename EcrRepositoryPrefixT = Aws::String>
50 void SetEcrRepositoryPrefix(EcrRepositoryPrefixT&& value) { m_ecrRepositoryPrefixHasBeenSet =
true; m_ecrRepositoryPrefix = std::forward<EcrRepositoryPrefixT>(value); }
51 template<
typename EcrRepositoryPrefixT = Aws::String>
61 template<
typename UpstreamRegistryUrlT = Aws::String>
62 void SetUpstreamRegistryUrl(UpstreamRegistryUrlT&& value) { m_upstreamRegistryUrlHasBeenSet =
true; m_upstreamRegistryUrl = std::forward<UpstreamRegistryUrlT>(value); }
63 template<
typename UpstreamRegistryUrlT = Aws::String>
73 template<
typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<
typename CreatedAtT = Aws::Utils::DateTime>
86 template<
typename RegistryIdT = Aws::String>
87 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet =
true; m_registryId = std::forward<RegistryIdT>(value); }
88 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>
111 template<
typename CustomRoleArnT = Aws::String>
112 void SetCustomRoleArn(CustomRoleArnT&& value) { m_customRoleArnHasBeenSet =
true; m_customRoleArn = std::forward<CustomRoleArnT>(value); }
113 template<
typename CustomRoleArnT = Aws::String>
124 template<
typename UpstreamRepositoryPrefixT = Aws::String>
125 void SetUpstreamRepositoryPrefix(UpstreamRepositoryPrefixT&& value) { m_upstreamRepositoryPrefixHasBeenSet =
true; m_upstreamRepositoryPrefix = std::forward<UpstreamRepositoryPrefixT>(value); }
126 template<
typename UpstreamRepositoryPrefixT = Aws::String>
148 template<
typename UpdatedAtT = Aws::Utils::DateTime>
149 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
150 template<
typename UpdatedAtT = Aws::Utils::DateTime>
156 bool m_ecrRepositoryPrefixHasBeenSet =
false;
159 bool m_upstreamRegistryUrlHasBeenSet =
false;
162 bool m_createdAtHasBeenSet =
false;
165 bool m_registryIdHasBeenSet =
false;
168 bool m_credentialArnHasBeenSet =
false;
171 bool m_customRoleArnHasBeenSet =
false;
174 bool m_upstreamRepositoryPrefixHasBeenSet =
false;
177 bool m_upstreamRegistryHasBeenSet =
false;
180 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