145 lines
4.7 KiB
C++
145 lines
4.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/ecr/ECR_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/ecr/model/ImageScanningConfiguration.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace ECR
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_ECR_API PutImageScanningConfigurationResult
|
|
{
|
|
public:
|
|
PutImageScanningConfigurationResult();
|
|
PutImageScanningConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
PutImageScanningConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline const Aws::String& GetRegistryId() const{ return m_registryId; }
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The registry ID associated with the request.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The repository name associated with the request.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The image scanning configuration setting for the repository.</p>
|
|
*/
|
|
inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; }
|
|
|
|
/**
|
|
* <p>The image scanning configuration setting for the repository.</p>
|
|
*/
|
|
inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfiguration = value; }
|
|
|
|
/**
|
|
* <p>The image scanning configuration setting for the repository.</p>
|
|
*/
|
|
inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p>The image scanning configuration setting for the repository.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithImageScanningConfiguration(const ImageScanningConfiguration& value) { SetImageScanningConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p>The image scanning configuration setting for the repository.</p>
|
|
*/
|
|
inline PutImageScanningConfigurationResult& WithImageScanningConfiguration(ImageScanningConfiguration&& value) { SetImageScanningConfiguration(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_registryId;
|
|
|
|
Aws::String m_repositoryName;
|
|
|
|
ImageScanningConfiguration m_imageScanningConfiguration;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace ECR
|
|
} // namespace Aws
|