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

A list of available standards.

*/ inline const Aws::Vector& GetStandards() const{ return m_standards; } /** *

A list of available standards.

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

A list of available standards.

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

A list of available standards.

*/ inline DescribeStandardsResult& WithStandards(const Aws::Vector& value) { SetStandards(value); return *this;} /** *

A list of available standards.

*/ inline DescribeStandardsResult& WithStandards(Aws::Vector&& value) { SetStandards(std::move(value)); return *this;} /** *

A list of available standards.

*/ inline DescribeStandardsResult& AddStandards(const Standard& value) { m_standards.push_back(value); return *this; } /** *

A list of available standards.

*/ inline DescribeStandardsResult& AddStandards(Standard&& value) { m_standards.push_back(std::move(value)); return *this; } /** *

The pagination token to use to request the next page of results.

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

The pagination token to use to request the next page of results.

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

The pagination token to use to request the next page of results.

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

The pagination token to use to request the next page of results.

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

The pagination token to use to request the next page of results.

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

The pagination token to use to request the next page of results.

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

The pagination token to use to request the next page of results.

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