/** * 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 { /** *

See Also:

AWS * API Reference

*/ class AWS_CONFIGSERVICE_API DescribeComplianceByResourceResult { public: DescribeComplianceByResourceResult(); DescribeComplianceByResourceResult(const Aws::AmazonWebServiceResult& result); DescribeComplianceByResourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

*/ inline const Aws::Vector& GetComplianceByResources() const{ return m_complianceByResources; } /** *

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

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

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

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

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

*/ inline DescribeComplianceByResourceResult& WithComplianceByResources(const Aws::Vector& value) { SetComplianceByResources(value); return *this;} /** *

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

*/ inline DescribeComplianceByResourceResult& WithComplianceByResources(Aws::Vector&& value) { SetComplianceByResources(std::move(value)); return *this;} /** *

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

*/ inline DescribeComplianceByResourceResult& AddComplianceByResources(const ComplianceByResource& value) { m_complianceByResources.push_back(value); return *this; } /** *

Indicates whether the specified Amazon Web Services resource complies with * all of the Config rules that evaluate it.

*/ inline DescribeComplianceByResourceResult& AddComplianceByResources(ComplianceByResource&& value) { m_complianceByResources.push_back(std::move(value)); return *this; } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

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

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline DescribeComplianceByResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_complianceByResources; Aws::String m_nextToken; }; } // namespace Model } // namespace ConfigService } // namespace Aws