/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the count of tasks in a task list.See Also:
AWS
* API Reference
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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CountPendingDecisionTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CountPendingDecisionTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CountPendingDecisionTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_count; bool m_truncated; Aws::String m_requestId; }; } // namespace Model } // namespace SWF } // namespace Aws