AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetBotsCountResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_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 Wickr {
22namespace Model {
24 public:
25 AWS_WICKR_API GetBotsCountResult() = default;
28
30
33 inline int GetPending() const { return m_pending; }
34 inline void SetPending(int value) {
35 m_pendingHasBeenSet = true;
36 m_pending = value;
37 }
38 inline GetBotsCountResult& WithPending(int value) {
39 SetPending(value);
40 return *this;
41 }
43
45
48 inline int GetActive() const { return m_active; }
49 inline void SetActive(int value) {
50 m_activeHasBeenSet = true;
51 m_active = value;
52 }
53 inline GetBotsCountResult& WithActive(int value) {
54 SetActive(value);
55 return *this;
56 }
58
60
63 inline int GetTotal() const { return m_total; }
64 inline void SetTotal(int value) {
65 m_totalHasBeenSet = true;
66 m_total = value;
67 }
68 inline GetBotsCountResult& WithTotal(int value) {
69 SetTotal(value);
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
83 GetBotsCountResult& WithRequestId(RequestIdT&& value) {
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 private:
89 int m_pending{0};
90
91 int m_active{0};
92
93 int m_total{0};
94
95 Aws::String m_requestId;
96 bool m_pendingHasBeenSet = false;
97 bool m_activeHasBeenSet = false;
98 bool m_totalHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Wickr
104} // namespace Aws
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