AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
CountPendingDecisionTasksResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace SWF {
22namespace Model {
29 public:
30 AWS_SWF_API CountPendingDecisionTasksResult() = default;
33
35
38 inline int GetCount() const { return m_count; }
39 inline void SetCount(int value) {
40 m_countHasBeenSet = true;
41 m_count = value;
42 }
44 SetCount(value);
45 return *this;
46 }
48
50
54 inline bool GetTruncated() const { return m_truncated; }
55 inline void SetTruncated(bool value) {
56 m_truncatedHasBeenSet = true;
57 m_truncated = value;
58 }
60 SetTruncated(value);
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 int m_count{0};
81
82 bool m_truncated{false};
83
84 Aws::String m_requestId;
85 bool m_countHasBeenSet = false;
86 bool m_truncatedHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace SWF
92} // 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