/** * 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 SSM { namespace Model { class ListComplianceSummariesResult { public: AWS_SSM_API ListComplianceSummariesResult(); AWS_SSM_API ListComplianceSummariesResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API ListComplianceSummariesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

*/ inline const Aws::Vector& GetComplianceSummaryItems() const{ return m_complianceSummaryItems; } /** *

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

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

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

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

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

*/ inline ListComplianceSummariesResult& WithComplianceSummaryItems(const Aws::Vector& value) { SetComplianceSummaryItems(value); return *this;} /** *

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

*/ inline ListComplianceSummariesResult& WithComplianceSummaryItems(Aws::Vector&& value) { SetComplianceSummaryItems(std::move(value)); return *this;} /** *

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

*/ inline ListComplianceSummariesResult& AddComplianceSummaryItems(const ComplianceSummaryItem& value) { m_complianceSummaryItems.push_back(value); return *this; } /** *

A list of compliant and non-compliant summary counts based on compliance * types. For example, this call returns State Manager associations, patches, or * custom compliance types according to the filter criteria that you specified.

*/ inline ListComplianceSummariesResult& AddComplianceSummaryItems(ComplianceSummaryItem&& value) { m_complianceSummaryItems.push_back(std::move(value)); return *this; } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline ListComplianceSummariesResult& 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 ListComplianceSummariesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListComplianceSummariesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListComplianceSummariesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_complianceSummaryItems; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws