/** * 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 DescribeConformancePackComplianceResult { public: AWS_CONFIGSERVICE_API DescribeConformancePackComplianceResult(); AWS_CONFIGSERVICE_API DescribeConformancePackComplianceResult(const Aws::AmazonWebServiceResult& result); AWS_CONFIGSERVICE_API DescribeConformancePackComplianceResult& 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 DescribeConformancePackComplianceResult& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;} /** *

Name of the conformance pack.

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

Name of the conformance pack.

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

Returns a list of ConformancePackRuleCompliance objects.

*/ inline const Aws::Vector& GetConformancePackRuleComplianceList() const{ return m_conformancePackRuleComplianceList; } /** *

Returns a list of ConformancePackRuleCompliance objects.

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

Returns a list of ConformancePackRuleCompliance objects.

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

Returns a list of ConformancePackRuleCompliance objects.

*/ inline DescribeConformancePackComplianceResult& WithConformancePackRuleComplianceList(const Aws::Vector& value) { SetConformancePackRuleComplianceList(value); return *this;} /** *

Returns a list of ConformancePackRuleCompliance objects.

*/ inline DescribeConformancePackComplianceResult& WithConformancePackRuleComplianceList(Aws::Vector&& value) { SetConformancePackRuleComplianceList(std::move(value)); return *this;} /** *

Returns a list of ConformancePackRuleCompliance objects.

*/ inline DescribeConformancePackComplianceResult& AddConformancePackRuleComplianceList(const ConformancePackRuleCompliance& value) { m_conformancePackRuleComplianceList.push_back(value); return *this; } /** *

Returns a list of ConformancePackRuleCompliance objects.

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