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

A list of properly processed rule ARNs.

*/ inline const Aws::Vector& GetProcessedAutomationRules() const{ return m_processedAutomationRules; } /** *

A list of properly processed rule ARNs.

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

A list of properly processed rule ARNs.

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

A list of properly processed rule ARNs.

*/ inline BatchUpdateAutomationRulesResult& WithProcessedAutomationRules(const Aws::Vector& value) { SetProcessedAutomationRules(value); return *this;} /** *

A list of properly processed rule ARNs.

*/ inline BatchUpdateAutomationRulesResult& WithProcessedAutomationRules(Aws::Vector&& value) { SetProcessedAutomationRules(std::move(value)); return *this;} /** *

A list of properly processed rule ARNs.

*/ inline BatchUpdateAutomationRulesResult& AddProcessedAutomationRules(const Aws::String& value) { m_processedAutomationRules.push_back(value); return *this; } /** *

A list of properly processed rule ARNs.

*/ inline BatchUpdateAutomationRulesResult& AddProcessedAutomationRules(Aws::String&& value) { m_processedAutomationRules.push_back(std::move(value)); return *this; } /** *

A list of properly processed rule ARNs.

*/ inline BatchUpdateAutomationRulesResult& AddProcessedAutomationRules(const char* value) { m_processedAutomationRules.push_back(value); return *this; } /** *

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

*/ inline const Aws::Vector& GetUnprocessedAutomationRules() const{ return m_unprocessedAutomationRules; } /** *

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

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

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

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

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

*/ inline BatchUpdateAutomationRulesResult& WithUnprocessedAutomationRules(const Aws::Vector& value) { SetUnprocessedAutomationRules(value); return *this;} /** *

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

*/ inline BatchUpdateAutomationRulesResult& WithUnprocessedAutomationRules(Aws::Vector&& value) { SetUnprocessedAutomationRules(std::move(value)); return *this;} /** *

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

*/ inline BatchUpdateAutomationRulesResult& AddUnprocessedAutomationRules(const UnprocessedAutomationRule& value) { m_unprocessedAutomationRules.push_back(value); return *this; } /** *

A list of objects containing RuleArn, ErrorCode, * and ErrorMessage. This parameter tells you which automation rules * the request didn't update and why.

*/ inline BatchUpdateAutomationRulesResult& AddUnprocessedAutomationRules(UnprocessedAutomationRule&& value) { m_unprocessedAutomationRules.push_back(std::move(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 BatchUpdateAutomationRulesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchUpdateAutomationRulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchUpdateAutomationRulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_processedAutomationRules; Aws::Vector m_unprocessedAutomationRules; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws