AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetBotsCountResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wickr/Wickr_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 Wickr {
23namespace Model {
25 public:
26 AWS_WICKR_API GetBotsCountResult() = default;
29
31
34 inline int GetPending() const { return m_pending; }
35 inline void SetPending(int value) {
36 m_pendingHasBeenSet = true;
37 m_pending = value;
38 }
39 inline GetBotsCountResult& WithPending(int value) {
40 SetPending(value);
41 return *this;
42 }
44
46
49 inline int GetActive() const { return m_active; }
50 inline void SetActive(int value) {
51 m_activeHasBeenSet = true;
52 m_active = value;
53 }
54 inline GetBotsCountResult& WithActive(int value) {
55 SetActive(value);
56 return *this;
57 }
59
61
64 inline int GetTotal() const { return m_total; }
65 inline void SetTotal(int value) {
66 m_totalHasBeenSet = true;
67 m_total = value;
68 }
69 inline GetBotsCountResult& WithTotal(int value) {
70 SetTotal(value);
71 return *this;
72 }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template <typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) {
80 m_requestIdHasBeenSet = true;
81 m_requestId = std::forward<RequestIdT>(value);
82 }
83 template <typename RequestIdT = Aws::String>
84 GetBotsCountResult& WithRequestId(RequestIdT&& value) {
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
90
91 private:
92 int m_pending{0};
93
94 int m_active{0};
95
96 int m_total{0};
97
98 Aws::String m_requestId;
99 Aws::Http::HttpResponseCode m_HttpResponseCode;
100 bool m_pendingHasBeenSet = false;
101 bool m_activeHasBeenSet = false;
102 bool m_totalHasBeenSet = false;
103 bool m_requestIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Wickr
108} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_WICKR_API GetBotsCountResult()=default
GetBotsCountResult & WithTotal(int value)
AWS_WICKR_API GetBotsCountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotsCountResult & WithPending(int value)
AWS_WICKR_API GetBotsCountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotsCountResult & WithActive(int value)
GetBotsCountResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue