/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a public registry.See Also:
AWS
* API Reference
The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); } /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline Registry& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline Registry& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *The Amazon Web Services account ID that's associated with the registry. If * you do not specify a registry, the default public registry is assumed.
*/ inline Registry& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline const Aws::String& GetRegistryArn() const{ return m_registryArn; } /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline void SetRegistryArn(const Aws::String& value) { m_registryArnHasBeenSet = true; m_registryArn = value; } /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline void SetRegistryArn(Aws::String&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline void SetRegistryArn(const char* value) { m_registryArnHasBeenSet = true; m_registryArn.assign(value); } /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline Registry& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline Registry& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the public registry.
*/ inline Registry& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;} /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline const Aws::String& GetRegistryUri() const{ return m_registryUri; } /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline bool RegistryUriHasBeenSet() const { return m_registryUriHasBeenSet; } /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline void SetRegistryUri(const Aws::String& value) { m_registryUriHasBeenSet = true; m_registryUri = value; } /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline void SetRegistryUri(Aws::String&& value) { m_registryUriHasBeenSet = true; m_registryUri = std::move(value); } /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline void SetRegistryUri(const char* value) { m_registryUriHasBeenSet = true; m_registryUri.assign(value); } /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline Registry& WithRegistryUri(const Aws::String& value) { SetRegistryUri(value); return *this;} /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline Registry& WithRegistryUri(Aws::String&& value) { SetRegistryUri(std::move(value)); return *this;} /** *The URI of a public registry. The URI contains a universal prefix and the * registry alias.
*/ inline Registry& WithRegistryUri(const char* value) { SetRegistryUri(value); return *this;} /** *Indicates whether the account is a verified Amazon Web Services Marketplace * vendor. If an account is verified, each public repository receives a verified * account badge on the Amazon ECR Public Gallery.
*/ inline bool GetVerified() const{ return m_verified; } /** *Indicates whether the account is a verified Amazon Web Services Marketplace * vendor. If an account is verified, each public repository receives a verified * account badge on the Amazon ECR Public Gallery.
*/ inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; } /** *Indicates whether the account is a verified Amazon Web Services Marketplace * vendor. If an account is verified, each public repository receives a verified * account badge on the Amazon ECR Public Gallery.
*/ inline void SetVerified(bool value) { m_verifiedHasBeenSet = true; m_verified = value; } /** *Indicates whether the account is a verified Amazon Web Services Marketplace * vendor. If an account is verified, each public repository receives a verified * account badge on the Amazon ECR Public Gallery.
*/ inline Registry& WithVerified(bool value) { SetVerified(value); return *this;} /** *An array of objects that represents the aliases for a public registry.
*/ inline const Aws::VectorAn array of objects that represents the aliases for a public registry.
*/ inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; } /** *An array of objects that represents the aliases for a public registry.
*/ inline void SetAliases(const Aws::VectorAn array of objects that represents the aliases for a public registry.
*/ inline void SetAliases(Aws::VectorAn array of objects that represents the aliases for a public registry.
*/ inline Registry& WithAliases(const Aws::VectorAn array of objects that represents the aliases for a public registry.
*/ inline Registry& WithAliases(Aws::VectorAn array of objects that represents the aliases for a public registry.
*/ inline Registry& AddAliases(const RegistryAlias& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; } /** *An array of objects that represents the aliases for a public registry.
*/ inline Registry& AddAliases(RegistryAlias&& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(std::move(value)); return *this; } private: Aws::String m_registryId; bool m_registryIdHasBeenSet = false; Aws::String m_registryArn; bool m_registryArnHasBeenSet = false; Aws::String m_registryUri; bool m_registryUriHasBeenSet = false; bool m_verified; bool m_verifiedHasBeenSet = false; Aws::Vector