1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/comprehend/Comprehend_EXPORTS.h> 8 #include <aws/comprehend/model/EventsDetectionJobProperties.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace Comprehend 24 { 25 namespace Model 26 { 27 class AWS_COMPREHEND_API DescribeEventsDetectionJobResult 28 { 29 public: 30 DescribeEventsDetectionJobResult(); 31 DescribeEventsDetectionJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DescribeEventsDetectionJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>An object that contains the properties associated with an event detection 37 * job.</p> 38 */ GetEventsDetectionJobProperties()39 inline const EventsDetectionJobProperties& GetEventsDetectionJobProperties() const{ return m_eventsDetectionJobProperties; } 40 41 /** 42 * <p>An object that contains the properties associated with an event detection 43 * job.</p> 44 */ SetEventsDetectionJobProperties(const EventsDetectionJobProperties & value)45 inline void SetEventsDetectionJobProperties(const EventsDetectionJobProperties& value) { m_eventsDetectionJobProperties = value; } 46 47 /** 48 * <p>An object that contains the properties associated with an event detection 49 * job.</p> 50 */ SetEventsDetectionJobProperties(EventsDetectionJobProperties && value)51 inline void SetEventsDetectionJobProperties(EventsDetectionJobProperties&& value) { m_eventsDetectionJobProperties = std::move(value); } 52 53 /** 54 * <p>An object that contains the properties associated with an event detection 55 * job.</p> 56 */ WithEventsDetectionJobProperties(const EventsDetectionJobProperties & value)57 inline DescribeEventsDetectionJobResult& WithEventsDetectionJobProperties(const EventsDetectionJobProperties& value) { SetEventsDetectionJobProperties(value); return *this;} 58 59 /** 60 * <p>An object that contains the properties associated with an event detection 61 * job.</p> 62 */ WithEventsDetectionJobProperties(EventsDetectionJobProperties && value)63 inline DescribeEventsDetectionJobResult& WithEventsDetectionJobProperties(EventsDetectionJobProperties&& value) { SetEventsDetectionJobProperties(std::move(value)); return *this;} 64 65 private: 66 67 EventsDetectionJobProperties m_eventsDetectionJobProperties; 68 }; 69 70 } // namespace Model 71 } // namespace Comprehend 72 } // namespace Aws 73