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-accessanalyzer/include/aws/accessanalyzer/model/GetAnalyzedResourceResult.h

78 lines
2.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
#include <aws/accessanalyzer/model/AnalyzedResource.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AccessAnalyzer
{
namespace Model
{
/**
* <p>The response to the request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzedResourceResponse">AWS
* API Reference</a></p>
*/
class AWS_ACCESSANALYZER_API GetAnalyzedResourceResult
{
public:
GetAnalyzedResourceResult();
GetAnalyzedResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetAnalyzedResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An <code>AnalyedResource</code> object that contains information that Access
* Analyzer found when it analyzed the resource.</p>
*/
inline const AnalyzedResource& GetResource() const{ return m_resource; }
/**
* <p>An <code>AnalyedResource</code> object that contains information that Access
* Analyzer found when it analyzed the resource.</p>
*/
inline void SetResource(const AnalyzedResource& value) { m_resource = value; }
/**
* <p>An <code>AnalyedResource</code> object that contains information that Access
* Analyzer found when it analyzed the resource.</p>
*/
inline void SetResource(AnalyzedResource&& value) { m_resource = std::move(value); }
/**
* <p>An <code>AnalyedResource</code> object that contains information that Access
* Analyzer found when it analyzed the resource.</p>
*/
inline GetAnalyzedResourceResult& WithResource(const AnalyzedResource& value) { SetResource(value); return *this;}
/**
* <p>An <code>AnalyedResource</code> object that contains information that Access
* Analyzer found when it analyzed the resource.</p>
*/
inline GetAnalyzedResourceResult& WithResource(AnalyzedResource&& value) { SetResource(std::move(value)); return *this;}
private:
AnalyzedResource m_resource;
};
} // namespace Model
} // namespace AccessAnalyzer
} // namespace Aws