This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codeartifact/include/aws/codeartifact/model/DeleteDomainPermissionsPolicyResult.h

73 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
#include <aws/codeartifact/model/ResourcePolicy.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CodeArtifact
{
namespace Model
{
class AWS_CODEARTIFACT_API DeleteDomainPermissionsPolicyResult
{
public:
DeleteDomainPermissionsPolicyResult();
DeleteDomainPermissionsPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteDomainPermissionsPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p> Information about the deleted resource policy after processing the request.
* </p>
*/
inline const ResourcePolicy& GetPolicy() const{ return m_policy; }
/**
* <p> Information about the deleted resource policy after processing the request.
* </p>
*/
inline void SetPolicy(const ResourcePolicy& value) { m_policy = value; }
/**
* <p> Information about the deleted resource policy after processing the request.
* </p>
*/
inline void SetPolicy(ResourcePolicy&& value) { m_policy = std::move(value); }
/**
* <p> Information about the deleted resource policy after processing the request.
* </p>
*/
inline DeleteDomainPermissionsPolicyResult& WithPolicy(const ResourcePolicy& value) { SetPolicy(value); return *this;}
/**
* <p> Information about the deleted resource policy after processing the request.
* </p>
*/
inline DeleteDomainPermissionsPolicyResult& WithPolicy(ResourcePolicy&& value) { SetPolicy(std::move(value)); return *this;}
private:
ResourcePolicy m_policy;
};
} // namespace Model
} // namespace CodeArtifact
} // namespace Aws