7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
27 AWS_APPSTREAM_API
ComputeCapacity(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_APPSTREAM_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
38 m_desiredInstancesHasBeenSet =
true;
39 m_desiredInstances = value;
58 m_desiredSessionsHasBeenSet =
true;
59 m_desiredSessions = value;
67 int64_t m_desiredInstances{0};
69 int64_t m_desiredSessions{0};
70 bool m_desiredInstancesHasBeenSet =
false;
71 bool m_desiredSessionsHasBeenSet =
false;
int64_t GetDesiredSessions() const
ComputeCapacity & WithDesiredSessions(int64_t value)
void SetDesiredSessions(int64_t value)
void SetDesiredInstances(int64_t value)
bool DesiredSessionsHasBeenSet() const
AWS_APPSTREAM_API ComputeCapacity(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_APPSTREAM_API ComputeCapacity()=default
ComputeCapacity & WithDesiredInstances(int64_t value)
int64_t GetDesiredInstances() const
AWS_APPSTREAM_API ComputeCapacity & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool DesiredInstancesHasBeenSet() const
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const