/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { class AWS_CONFIGSERVICE_API PutRemediationExceptionsResult { public: PutRemediationExceptionsResult(); PutRemediationExceptionsResult(const Aws::AmazonWebServiceResult& result); PutRemediationExceptionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

*/ inline const Aws::Vector& GetFailedBatches() const{ return m_failedBatches; } /** *

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

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

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

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

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

*/ inline PutRemediationExceptionsResult& WithFailedBatches(const Aws::Vector& value) { SetFailedBatches(value); return *this;} /** *

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

*/ inline PutRemediationExceptionsResult& WithFailedBatches(Aws::Vector&& value) { SetFailedBatches(std::move(value)); return *this;} /** *

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

*/ inline PutRemediationExceptionsResult& AddFailedBatches(const FailedRemediationExceptionBatch& value) { m_failedBatches.push_back(value); return *this; } /** *

Returns a list of failed remediation exceptions batch objects. Each object in * the batch consists of a list of failed items and failure messages.

*/ inline PutRemediationExceptionsResult& AddFailedBatches(FailedRemediationExceptionBatch&& value) { m_failedBatches.push_back(std::move(value)); return *this; } private: Aws::Vector m_failedBatches; }; } // namespace Model } // namespace ConfigService } // namespace Aws