AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetUsersCountResult.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 GetUsersCountResult() = 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 GetUsersCountResult& 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 GetUsersCountResult& WithActive(int value) {
54 SetActive(value);
55 return *this;
56 }
58
60
63 inline int GetRejected() const { return m_rejected; }
64 inline void SetRejected(int value) {
65 m_rejectedHasBeenSet = true;
66 m_rejected = value;
67 }
68 inline GetUsersCountResult& WithRejected(int value) {
69 SetRejected(value);
70 return *this;
71 }
73
75
79 inline int GetRemaining() const { return m_remaining; }
80 inline void SetRemaining(int value) {
81 m_remainingHasBeenSet = true;
82 m_remaining = value;
83 }
85 SetRemaining(value);
86 return *this;
87 }
89
91
94 inline int GetTotal() const { return m_total; }
95 inline void SetTotal(int value) {
96 m_totalHasBeenSet = true;
97 m_total = value;
98 }
99 inline GetUsersCountResult& WithTotal(int value) {
100 SetTotal(value);
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
114 GetUsersCountResult& WithRequestId(RequestIdT&& value) {
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 private:
120 int m_pending{0};
121
122 int m_active{0};
123
124 int m_rejected{0};
125
126 int m_remaining{0};
127
128 int m_total{0};
129
130 Aws::String m_requestId;
131 bool m_pendingHasBeenSet = false;
132 bool m_activeHasBeenSet = false;
133 bool m_rejectedHasBeenSet = false;
134 bool m_remainingHasBeenSet = false;
135 bool m_totalHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Wickr
141} // namespace Aws
GetUsersCountResult & WithPending(int value)
AWS_WICKR_API GetUsersCountResult()=default
GetUsersCountResult & WithTotal(int value)
AWS_WICKR_API GetUsersCountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsersCountResult & WithRequestId(RequestIdT &&value)
AWS_WICKR_API GetUsersCountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsersCountResult & WithRemaining(int value)
GetUsersCountResult & WithActive(int value)
GetUsersCountResult & WithRejected(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue