/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of the replication process for an image.See Also:
* AWS
* API Reference
The destination Region for the image replication.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The destination Region for the image replication.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The destination Region for the image replication.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The destination Region for the image replication.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The destination Region for the image replication.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The destination Region for the image replication.
*/ inline ImageReplicationStatus& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The destination Region for the image replication.
*/ inline ImageReplicationStatus& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The destination Region for the image replication.
*/ inline ImageReplicationStatus& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); } /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline ImageReplicationStatus& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline ImageReplicationStatus& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *The Amazon Web Services account ID associated with the registry to which the * image belongs.
*/ inline ImageReplicationStatus& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} /** *The image replication status.
*/ inline const ReplicationStatus& GetStatus() const{ return m_status; } /** *The image replication status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The image replication status.
*/ inline void SetStatus(const ReplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The image replication status.
*/ inline void SetStatus(ReplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The image replication status.
*/ inline ImageReplicationStatus& WithStatus(const ReplicationStatus& value) { SetStatus(value); return *this;} /** *The image replication status.
*/ inline ImageReplicationStatus& WithStatus(ReplicationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The failure code for a replication that has failed.
*/ inline const Aws::String& GetFailureCode() const{ return m_failureCode; } /** *The failure code for a replication that has failed.
*/ inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } /** *The failure code for a replication that has failed.
*/ inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; } /** *The failure code for a replication that has failed.
*/ inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); } /** *The failure code for a replication that has failed.
*/ inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); } /** *The failure code for a replication that has failed.
*/ inline ImageReplicationStatus& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;} /** *The failure code for a replication that has failed.
*/ inline ImageReplicationStatus& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;} /** *The failure code for a replication that has failed.
*/ inline ImageReplicationStatus& WithFailureCode(const char* value) { SetFailureCode(value); return *this;} private: Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_registryId; bool m_registryIdHasBeenSet = false; ReplicationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_failureCode; bool m_failureCodeHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws