/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ECR { namespace Model { class PutReplicationConfigurationResult { public: AWS_ECR_API PutReplicationConfigurationResult(); AWS_ECR_API PutReplicationConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_ECR_API PutReplicationConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The contents of the replication configuration for the registry.

*/ inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; } /** *

The contents of the replication configuration for the registry.

*/ inline void SetReplicationConfiguration(const ReplicationConfiguration& value) { m_replicationConfiguration = value; } /** *

The contents of the replication configuration for the registry.

*/ inline void SetReplicationConfiguration(ReplicationConfiguration&& value) { m_replicationConfiguration = std::move(value); } /** *

The contents of the replication configuration for the registry.

*/ inline PutReplicationConfigurationResult& WithReplicationConfiguration(const ReplicationConfiguration& value) { SetReplicationConfiguration(value); return *this;} /** *

The contents of the replication configuration for the registry.

*/ inline PutReplicationConfigurationResult& WithReplicationConfiguration(ReplicationConfiguration&& value) { SetReplicationConfiguration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline PutReplicationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutReplicationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutReplicationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ReplicationConfiguration m_replicationConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace ECR } // namespace Aws