/** * 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 SWF { namespace Model { /** *

Contains the count of tasks in a task list.

See Also:

AWS * API Reference

*/ class AWS_SWF_API CountPendingDecisionTasksResult { public: CountPendingDecisionTasksResult(); CountPendingDecisionTasksResult(const Aws::AmazonWebServiceResult& result); CountPendingDecisionTasksResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The number of tasks in the task list.

*/ inline int GetCount() const{ return m_count; } /** *

The number of tasks in the task list.

*/ inline void SetCount(int value) { m_count = value; } /** *

The number of tasks in the task list.

*/ inline CountPendingDecisionTasksResult& WithCount(int value) { SetCount(value); return *this;} /** *

If set to true, indicates that the actual count was more than the maximum * supported by this API and the count returned is the truncated value.

*/ inline bool GetTruncated() const{ return m_truncated; } /** *

If set to true, indicates that the actual count was more than the maximum * supported by this API and the count returned is the truncated value.

*/ inline void SetTruncated(bool value) { m_truncated = value; } /** *

If set to true, indicates that the actual count was more than the maximum * supported by this API and the count returned is the truncated value.

*/ inline CountPendingDecisionTasksResult& WithTruncated(bool value) { SetTruncated(value); return *this;} private: int m_count; bool m_truncated; }; } // namespace Model } // namespace SWF } // namespace Aws