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

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

*/ inline const Aws::Vector& GetStandardsControlAssociationSummaries() const{ return m_standardsControlAssociationSummaries; } /** *

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

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

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

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

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

*/ inline ListStandardsControlAssociationsResult& WithStandardsControlAssociationSummaries(const Aws::Vector& value) { SetStandardsControlAssociationSummaries(value); return *this;} /** *

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

*/ inline ListStandardsControlAssociationsResult& WithStandardsControlAssociationSummaries(Aws::Vector&& value) { SetStandardsControlAssociationSummaries(std::move(value)); return *this;} /** *

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

*/ inline ListStandardsControlAssociationsResult& AddStandardsControlAssociationSummaries(const StandardsControlAssociationSummary& value) { m_standardsControlAssociationSummaries.push_back(value); return *this; } /** *

An array that provides the enablement status and other details for each * security control that applies to each enabled standard.

*/ inline ListStandardsControlAssociationsResult& AddStandardsControlAssociationSummaries(StandardsControlAssociationSummary&& value) { m_standardsControlAssociationSummaries.push_back(std::move(value)); return *this; } /** *

A pagination parameter that's included in the response only if it was * included in the request.

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

A pagination parameter that's included in the response only if it was * included in the request.

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

A pagination parameter that's included in the response only if it was * included in the request.

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

A pagination parameter that's included in the response only if it was * included in the request.

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

A pagination parameter that's included in the response only if it was * included in the request.

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

A pagination parameter that's included in the response only if it was * included in the request.

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

A pagination parameter that's included in the response only if it was * included in the request.

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