/** * 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 GetRegistryScanningConfigurationResult { public: AWS_ECR_API GetRegistryScanningConfigurationResult(); AWS_ECR_API GetRegistryScanningConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_ECR_API GetRegistryScanningConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the registry.

*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } /** *

The ID of the registry.

*/ inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } /** *

The ID of the registry.

*/ inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); } /** *

The ID of the registry.

*/ inline void SetRegistryId(const char* value) { m_registryId.assign(value); } /** *

The ID of the registry.

*/ inline GetRegistryScanningConfigurationResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} /** *

The ID of the registry.

*/ inline GetRegistryScanningConfigurationResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} /** *

The ID of the registry.

*/ inline GetRegistryScanningConfigurationResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} /** *

The scanning configuration for the registry.

*/ inline const RegistryScanningConfiguration& GetScanningConfiguration() const{ return m_scanningConfiguration; } /** *

The scanning configuration for the registry.

*/ inline void SetScanningConfiguration(const RegistryScanningConfiguration& value) { m_scanningConfiguration = value; } /** *

The scanning configuration for the registry.

*/ inline void SetScanningConfiguration(RegistryScanningConfiguration&& value) { m_scanningConfiguration = std::move(value); } /** *

The scanning configuration for the registry.

*/ inline GetRegistryScanningConfigurationResult& WithScanningConfiguration(const RegistryScanningConfiguration& value) { SetScanningConfiguration(value); return *this;} /** *

The scanning configuration for the registry.

*/ inline GetRegistryScanningConfigurationResult& WithScanningConfiguration(RegistryScanningConfiguration&& value) { SetScanningConfiguration(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 GetRegistryScanningConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRegistryScanningConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRegistryScanningConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_registryId; RegistryScanningConfiguration m_scanningConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace ECR } // namespace Aws