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

Details about the timeline event.

*/ inline const TimelineEvent& GetEvent() const{ return m_event; } /** *

Details about the timeline event.

*/ inline void SetEvent(const TimelineEvent& value) { m_event = value; } /** *

Details about the timeline event.

*/ inline void SetEvent(TimelineEvent&& value) { m_event = std::move(value); } /** *

Details about the timeline event.

*/ inline GetTimelineEventResult& WithEvent(const TimelineEvent& value) { SetEvent(value); return *this;} /** *

Details about the timeline event.

*/ inline GetTimelineEventResult& WithEvent(TimelineEvent&& value) { SetEvent(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 GetTimelineEventResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTimelineEventResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTimelineEventResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TimelineEvent m_event; Aws::String m_requestId; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws