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/frauddetector/FraudDetector_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.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 FraudDetector 24 { 25 namespace Model 26 { 27 class AWS_FRAUDDETECTOR_API DeleteEventsByEventTypeResult 28 { 29 public: 30 DeleteEventsByEventTypeResult(); 31 DeleteEventsByEventTypeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DeleteEventsByEventTypeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>Name of event type for which to delete the events.</p> 37 */ GetEventTypeName()38 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; } 39 40 /** 41 * <p>Name of event type for which to delete the events.</p> 42 */ SetEventTypeName(const Aws::String & value)43 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeName = value; } 44 45 /** 46 * <p>Name of event type for which to delete the events.</p> 47 */ SetEventTypeName(Aws::String && value)48 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeName = std::move(value); } 49 50 /** 51 * <p>Name of event type for which to delete the events.</p> 52 */ SetEventTypeName(const char * value)53 inline void SetEventTypeName(const char* value) { m_eventTypeName.assign(value); } 54 55 /** 56 * <p>Name of event type for which to delete the events.</p> 57 */ WithEventTypeName(const Aws::String & value)58 inline DeleteEventsByEventTypeResult& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} 59 60 /** 61 * <p>Name of event type for which to delete the events.</p> 62 */ WithEventTypeName(Aws::String && value)63 inline DeleteEventsByEventTypeResult& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} 64 65 /** 66 * <p>Name of event type for which to delete the events.</p> 67 */ WithEventTypeName(const char * value)68 inline DeleteEventsByEventTypeResult& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} 69 70 71 /** 72 * <p>The status of the delete request.</p> 73 */ GetEventsDeletionStatus()74 inline const Aws::String& GetEventsDeletionStatus() const{ return m_eventsDeletionStatus; } 75 76 /** 77 * <p>The status of the delete request.</p> 78 */ SetEventsDeletionStatus(const Aws::String & value)79 inline void SetEventsDeletionStatus(const Aws::String& value) { m_eventsDeletionStatus = value; } 80 81 /** 82 * <p>The status of the delete request.</p> 83 */ SetEventsDeletionStatus(Aws::String && value)84 inline void SetEventsDeletionStatus(Aws::String&& value) { m_eventsDeletionStatus = std::move(value); } 85 86 /** 87 * <p>The status of the delete request.</p> 88 */ SetEventsDeletionStatus(const char * value)89 inline void SetEventsDeletionStatus(const char* value) { m_eventsDeletionStatus.assign(value); } 90 91 /** 92 * <p>The status of the delete request.</p> 93 */ WithEventsDeletionStatus(const Aws::String & value)94 inline DeleteEventsByEventTypeResult& WithEventsDeletionStatus(const Aws::String& value) { SetEventsDeletionStatus(value); return *this;} 95 96 /** 97 * <p>The status of the delete request.</p> 98 */ WithEventsDeletionStatus(Aws::String && value)99 inline DeleteEventsByEventTypeResult& WithEventsDeletionStatus(Aws::String&& value) { SetEventsDeletionStatus(std::move(value)); return *this;} 100 101 /** 102 * <p>The status of the delete request.</p> 103 */ WithEventsDeletionStatus(const char * value)104 inline DeleteEventsByEventTypeResult& WithEventsDeletionStatus(const char* value) { SetEventsDeletionStatus(value); return *this;} 105 106 private: 107 108 Aws::String m_eventTypeName; 109 110 Aws::String m_eventsDeletionStatus; 111 }; 112 113 } // namespace Model 114 } // namespace FraudDetector 115 } // namespace Aws 116