/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 DescribeEventDetailsResult { public: AWS_HEALTH_API DescribeEventDetailsResult(); AWS_HEALTH_API DescribeEventDetailsResult(const Aws::AmazonWebServiceResult& result); AWS_HEALTH_API 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; } 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 DescribeEventDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEventDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEventDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_successfulSet; Aws::Vector m_failedSet; Aws::String m_requestId; }; } // namespace Model } // namespace Health } // namespace Aws