AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CountPendingDecisionTasksResult.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SWF
24{
25namespace Model
26{
33 {
34 public:
35 AWS_SWF_API CountPendingDecisionTasksResult() = default;
38
39
41
44 inline int GetCount() const { return m_count; }
45 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
46 inline CountPendingDecisionTasksResult& WithCount(int value) { SetCount(value); return *this;}
48
50
54 inline bool GetTruncated() const { return m_truncated; }
55 inline void SetTruncated(bool value) { m_truncatedHasBeenSet = true; m_truncated = value; }
56 inline CountPendingDecisionTasksResult& WithTruncated(bool value) { SetTruncated(value); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 CountPendingDecisionTasksResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 int m_count{0};
70 bool m_countHasBeenSet = false;
71
72 bool m_truncated{false};
73 bool m_truncatedHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SWF
81} // namespace Aws
CountPendingDecisionTasksResult & WithTruncated(bool value)
CountPendingDecisionTasksResult & WithRequestId(RequestIdT &&value)
CountPendingDecisionTasksResult & WithCount(int value)
AWS_SWF_API CountPendingDecisionTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SWF_API CountPendingDecisionTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue