AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
GameServerContainerGroupCounts.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace GameLift {
17namespace Model {
18
35 public:
36 AWS_GAMELIFT_API GameServerContainerGroupCounts() = default;
37 AWS_GAMELIFT_API GameServerContainerGroupCounts(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_GAMELIFT_API GameServerContainerGroupCounts& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
40
42
46 inline int64_t GetPENDING() const { return m_pENDING; }
47 inline bool PENDINGHasBeenSet() const { return m_pENDINGHasBeenSet; }
48 inline void SetPENDING(int64_t value) {
49 m_pENDINGHasBeenSet = true;
50 m_pENDING = value;
51 }
53 SetPENDING(value);
54 return *this;
55 }
57
59
62 inline int64_t GetACTIVE() const { return m_aCTIVE; }
63 inline bool ACTIVEHasBeenSet() const { return m_aCTIVEHasBeenSet; }
64 inline void SetACTIVE(int64_t value) {
65 m_aCTIVEHasBeenSet = true;
66 m_aCTIVE = value;
67 }
69 SetACTIVE(value);
70 return *this;
71 }
73
75
78 inline int64_t GetIDLE() const { return m_iDLE; }
79 inline bool IDLEHasBeenSet() const { return m_iDLEHasBeenSet; }
80 inline void SetIDLE(int64_t value) {
81 m_iDLEHasBeenSet = true;
82 m_iDLE = value;
83 }
85 SetIDLE(value);
86 return *this;
87 }
89
91
95 inline int64_t GetTERMINATING() const { return m_tERMINATING; }
96 inline bool TERMINATINGHasBeenSet() const { return m_tERMINATINGHasBeenSet; }
97 inline void SetTERMINATING(int64_t value) {
98 m_tERMINATINGHasBeenSet = true;
99 m_tERMINATING = value;
100 }
102 SetTERMINATING(value);
103 return *this;
104 }
106 private:
107 int64_t m_pENDING{0};
108
109 int64_t m_aCTIVE{0};
110
111 int64_t m_iDLE{0};
112
113 int64_t m_tERMINATING{0};
114 bool m_pENDINGHasBeenSet = false;
115 bool m_aCTIVEHasBeenSet = false;
116 bool m_iDLEHasBeenSet = false;
117 bool m_tERMINATINGHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace GameLift
122} // namespace Aws
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_GAMELIFT_API GameServerContainerGroupCounts()=default
GameServerContainerGroupCounts & WithACTIVE(int64_t value)
GameServerContainerGroupCounts & WithTERMINATING(int64_t value)
AWS_GAMELIFT_API GameServerContainerGroupCounts & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
GameServerContainerGroupCounts & WithPENDING(int64_t value)
AWS_GAMELIFT_API GameServerContainerGroupCounts(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
GameServerContainerGroupCounts & WithIDLE(int64_t value)