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-config/include/aws/config/model/GetComplianceDetailsByResourceResult.h

137 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/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/config/model/EvaluationResult.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ConfigService
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceResponse">AWS
* API Reference</a></p>
*/
class AWS_CONFIGSERVICE_API GetComplianceDetailsByResourceResult
{
public:
GetComplianceDetailsByResourceResult();
GetComplianceDetailsByResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetComplianceDetailsByResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline const Aws::Vector<EvaluationResult>& GetEvaluationResults() const{ return m_evaluationResults; }
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline void SetEvaluationResults(const Aws::Vector<EvaluationResult>& value) { m_evaluationResults = value; }
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline void SetEvaluationResults(Aws::Vector<EvaluationResult>&& value) { m_evaluationResults = std::move(value); }
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline GetComplianceDetailsByResourceResult& WithEvaluationResults(const Aws::Vector<EvaluationResult>& value) { SetEvaluationResults(value); return *this;}
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline GetComplianceDetailsByResourceResult& WithEvaluationResults(Aws::Vector<EvaluationResult>&& value) { SetEvaluationResults(std::move(value)); return *this;}
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline GetComplianceDetailsByResourceResult& AddEvaluationResults(const EvaluationResult& value) { m_evaluationResults.push_back(value); return *this; }
/**
* <p>Indicates whether the specified AWS resource complies each AWS Config
* rule.</p>
*/
inline GetComplianceDetailsByResourceResult& AddEvaluationResults(EvaluationResult&& value) { m_evaluationResults.push_back(std::move(value)); return *this; }
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline GetComplianceDetailsByResourceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline GetComplianceDetailsByResourceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The string that you use in a subsequent request to get the next page of
* results in a paginated response.</p>
*/
inline GetComplianceDetailsByResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<EvaluationResult> m_evaluationResults;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace ConfigService
} // namespace Aws