/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An array of objects representing the destination for a replication
* rule.See Also:
AWS
* API Reference
The Region to replicate to.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Region to replicate to.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Region to replicate to.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Region to replicate to.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Region to replicate to.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Region to replicate to.
*/ inline ReplicationDestination& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Region to replicate to.
*/ inline ReplicationDestination& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Region to replicate to.
*/ inline ReplicationDestination& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); } /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline ReplicationDestination& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline ReplicationDestination& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the Amazon ECR private registry to * replicate to. When configuring cross-Region replication within your own * registry, specify your own account ID.
*/ inline ReplicationDestination& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} private: Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_registryId; bool m_registryIdHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws