/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { class GetConformancePackComplianceDetailsResult { public: AWS_CONFIGSERVICE_API GetConformancePackComplianceDetailsResult(); AWS_CONFIGSERVICE_API GetConformancePackComplianceDetailsResult(const Aws::AmazonWebServiceResult& result); AWS_CONFIGSERVICE_API GetConformancePackComplianceDetailsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Name of the conformance pack.

*/ inline const Aws::String& GetConformancePackName() const{ return m_conformancePackName; } /** *

Name of the conformance pack.

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

Name of the conformance pack.

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

Name of the conformance pack.

*/ inline void SetConformancePackName(const char* value) { m_conformancePackName.assign(value); } /** *

Name of the conformance pack.

*/ inline GetConformancePackComplianceDetailsResult& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;} /** *

Name of the conformance pack.

*/ inline GetConformancePackComplianceDetailsResult& WithConformancePackName(Aws::String&& value) { SetConformancePackName(std::move(value)); return *this;} /** *

Name of the conformance pack.

*/ inline GetConformancePackComplianceDetailsResult& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;} /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline const Aws::Vector& GetConformancePackRuleEvaluationResults() const{ return m_conformancePackRuleEvaluationResults; } /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline void SetConformancePackRuleEvaluationResults(const Aws::Vector& value) { m_conformancePackRuleEvaluationResults = value; } /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline void SetConformancePackRuleEvaluationResults(Aws::Vector&& value) { m_conformancePackRuleEvaluationResults = std::move(value); } /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline GetConformancePackComplianceDetailsResult& WithConformancePackRuleEvaluationResults(const Aws::Vector& value) { SetConformancePackRuleEvaluationResults(value); return *this;} /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline GetConformancePackComplianceDetailsResult& WithConformancePackRuleEvaluationResults(Aws::Vector&& value) { SetConformancePackRuleEvaluationResults(std::move(value)); return *this;} /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline GetConformancePackComplianceDetailsResult& AddConformancePackRuleEvaluationResults(const ConformancePackEvaluationResult& value) { m_conformancePackRuleEvaluationResults.push_back(value); return *this; } /** *

Returns a list of ConformancePackEvaluationResult objects.

*/ inline GetConformancePackComplianceDetailsResult& AddConformancePackRuleEvaluationResults(ConformancePackEvaluationResult&& value) { m_conformancePackRuleEvaluationResults.push_back(std::move(value)); return *this; } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

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

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

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

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline GetConformancePackComplianceDetailsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline GetConformancePackComplianceDetailsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline GetConformancePackComplianceDetailsResult& WithNextToken(const char* value) { SetNextToken(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 GetConformancePackComplianceDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetConformancePackComplianceDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetConformancePackComplianceDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_conformancePackName; Aws::Vector m_conformancePackRuleEvaluationResults; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ConfigService } // namespace Aws