/** * 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 DeleteQueryDefinitionResult { public: DeleteQueryDefinitionResult(); DeleteQueryDefinitionResult(const Aws::AmazonWebServiceResult& result); DeleteQueryDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A value of TRUE indicates that the operation succeeded. FALSE indicates that * the operation failed.

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

A value of TRUE indicates that the operation succeeded. FALSE indicates that * the operation failed.

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

A value of TRUE indicates that the operation succeeded. FALSE indicates that * the operation failed.

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