AWS SDK for C++

AWS SDK for C++ Version 1.11.871

Loading...
Searching...
No Matches
VolumeConfig.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace AppStream {
17namespace Model {
18
27 public:
28 AWS_APPSTREAM_API VolumeConfig() = default;
29 AWS_APPSTREAM_API VolumeConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 AWS_APPSTREAM_API VolumeConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
32
34
40 inline int64_t GetVolumeSizeInGb() const { return m_volumeSizeInGb; }
41 inline bool VolumeSizeInGbHasBeenSet() const { return m_volumeSizeInGbHasBeenSet; }
42 inline void SetVolumeSizeInGb(int64_t value) {
43 m_volumeSizeInGbHasBeenSet = true;
44 m_volumeSizeInGb = value;
45 }
46 inline VolumeConfig& WithVolumeSizeInGb(int64_t value) {
47 SetVolumeSizeInGb(value);
48 return *this;
49 }
51 private:
52 int64_t m_volumeSizeInGb{0};
53 bool m_volumeSizeInGbHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AppStream
58} // namespace Aws
AWS_APPSTREAM_API VolumeConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetVolumeSizeInGb(int64_t value)
AWS_APPSTREAM_API VolumeConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
VolumeConfig & WithVolumeSizeInGb(int64_t value)
AWS_APPSTREAM_API VolumeConfig()=default