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

This is true if the query was stopped by the StopQuery * operation.

*/ inline bool GetSuccess() const{ return m_success; } /** *

This is true if the query was stopped by the StopQuery * operation.

*/ inline void SetSuccess(bool value) { m_success = value; } /** *

This is true if the query was stopped by the StopQuery * operation.

*/ inline StopQueryResult& WithSuccess(bool value) { SetSuccess(value); return *this;} private: bool m_success; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws