AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
CountPendingActivityTasksResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/SWF_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SWF {
23namespace Model {
30 public:
31 AWS_SWF_API CountPendingActivityTasksResult() = default;
34
36
39 inline int GetCount() const { return m_count; }
40 inline void SetCount(int value) {
41 m_countHasBeenSet = true;
42 m_count = value;
43 }
45 SetCount(value);
46 return *this;
47 }
49
51
55 inline bool GetTruncated() const { return m_truncated; }
56 inline void SetTruncated(bool value) {
57 m_truncatedHasBeenSet = true;
58 m_truncated = value;
59 }
61 SetTruncated(value);
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 int m_count{0};
84
85 bool m_truncated{false};
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_countHasBeenSet = false;
90 bool m_truncatedHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace SWF
96} // namespace Aws
AWS_SWF_API CountPendingActivityTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CountPendingActivityTasksResult & WithRequestId(RequestIdT &&value)
CountPendingActivityTasksResult & WithTruncated(bool value)
AWS_SWF_API CountPendingActivityTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CountPendingActivityTasksResult & WithCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue