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

An object that contains the properties associated with an event detection * job.

*/ inline const EventsDetectionJobProperties& GetEventsDetectionJobProperties() const{ return m_eventsDetectionJobProperties; } /** *

An object that contains the properties associated with an event detection * job.

*/ inline void SetEventsDetectionJobProperties(const EventsDetectionJobProperties& value) { m_eventsDetectionJobProperties = value; } /** *

An object that contains the properties associated with an event detection * job.

*/ inline void SetEventsDetectionJobProperties(EventsDetectionJobProperties&& value) { m_eventsDetectionJobProperties = std::move(value); } /** *

An object that contains the properties associated with an event detection * job.

*/ inline DescribeEventsDetectionJobResult& WithEventsDetectionJobProperties(const EventsDetectionJobProperties& value) { SetEventsDetectionJobProperties(value); return *this;} /** *

An object that contains the properties associated with an event detection * job.

*/ inline DescribeEventsDetectionJobResult& WithEventsDetectionJobProperties(EventsDetectionJobProperties&& value) { SetEventsDetectionJobProperties(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 DescribeEventsDetectionJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEventsDetectionJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEventsDetectionJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EventsDetectionJobProperties m_eventsDetectionJobProperties; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws