/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EventBridge { namespace Model { class AWS_EVENTBRIDGE_API TestEventPatternResult { public: TestEventPatternResult(); TestEventPatternResult(const Aws::AmazonWebServiceResult& result); TestEventPatternResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates whether the event matches the event pattern.

*/ inline bool GetResult() const{ return m_result; } /** *

Indicates whether the event matches the event pattern.

*/ inline void SetResult(bool value) { m_result = value; } /** *

Indicates whether the event matches the event pattern.

*/ inline TestEventPatternResult& WithResult(bool value) { SetResult(value); return *this;} private: bool m_result; }; } // namespace Model } // namespace EventBridge } // namespace Aws