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

An array of controls that apply to the specified standard.

*/ inline const Aws::Vector& GetSecurityControlDefinitions() const{ return m_securityControlDefinitions; } /** *

An array of controls that apply to the specified standard.

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

An array of controls that apply to the specified standard.

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

An array of controls that apply to the specified standard.

*/ inline ListSecurityControlDefinitionsResult& WithSecurityControlDefinitions(const Aws::Vector& value) { SetSecurityControlDefinitions(value); return *this;} /** *

An array of controls that apply to the specified standard.

*/ inline ListSecurityControlDefinitionsResult& WithSecurityControlDefinitions(Aws::Vector&& value) { SetSecurityControlDefinitions(std::move(value)); return *this;} /** *

An array of controls that apply to the specified standard.

*/ inline ListSecurityControlDefinitionsResult& AddSecurityControlDefinitions(const SecurityControlDefinition& value) { m_securityControlDefinitions.push_back(value); return *this; } /** *

An array of controls that apply to the specified standard.

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