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

Information about the events that could be retrieved.

*/ inline const Aws::Vector& GetSuccessfulSet() const{ return m_successfulSet; } /** *

Information about the events that could be retrieved.

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

Information about the events that could be retrieved.

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

Information about the events that could be retrieved.

*/ inline DescribeEventDetailsResult& WithSuccessfulSet(const Aws::Vector& value) { SetSuccessfulSet(value); return *this;} /** *

Information about the events that could be retrieved.

*/ inline DescribeEventDetailsResult& WithSuccessfulSet(Aws::Vector&& value) { SetSuccessfulSet(std::move(value)); return *this;} /** *

Information about the events that could be retrieved.

*/ inline DescribeEventDetailsResult& AddSuccessfulSet(const EventDetails& value) { m_successfulSet.push_back(value); return *this; } /** *

Information about the events that could be retrieved.

*/ inline DescribeEventDetailsResult& AddSuccessfulSet(EventDetails&& value) { m_successfulSet.push_back(std::move(value)); return *this; } /** *

Error messages for any events that could not be retrieved.

*/ inline const Aws::Vector& GetFailedSet() const{ return m_failedSet; } /** *

Error messages for any events that could not be retrieved.

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

Error messages for any events that could not be retrieved.

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

Error messages for any events that could not be retrieved.

*/ inline DescribeEventDetailsResult& WithFailedSet(const Aws::Vector& value) { SetFailedSet(value); return *this;} /** *

Error messages for any events that could not be retrieved.

*/ inline DescribeEventDetailsResult& WithFailedSet(Aws::Vector&& value) { SetFailedSet(std::move(value)); return *this;} /** *

Error messages for any events that could not be retrieved.

*/ inline DescribeEventDetailsResult& AddFailedSet(const EventDetailsErrorItem& value) { m_failedSet.push_back(value); return *this; } /** *

Error messages for any events that could not be retrieved.

*/ inline DescribeEventDetailsResult& AddFailedSet(EventDetailsErrorItem&& value) { m_failedSet.push_back(std::move(value)); return *this; } private: Aws::Vector m_successfulSet; Aws::Vector m_failedSet; }; } // namespace Model } // namespace Health } // namespace Aws