/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Lightsail
{
namespace Model
{
/**
* Describes a disk snapshot.
See Also:
AWS
* API Reference
*/
class DiskSnapshotInfo
{
public:
AWS_LIGHTSAIL_API DiskSnapshotInfo();
AWS_LIGHTSAIL_API DiskSnapshotInfo(Aws::Utils::Json::JsonView jsonValue);
AWS_LIGHTSAIL_API DiskSnapshotInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The size of the disk in GB (e.g., 32
).
*/
inline int GetSizeInGb() const{ return m_sizeInGb; }
/**
* The size of the disk in GB (e.g., 32
).
*/
inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
/**
* The size of the disk in GB (e.g., 32
).
*/
inline void SetSizeInGb(int value) { m_sizeInGbHasBeenSet = true; m_sizeInGb = value; }
/**
* The size of the disk in GB (e.g., 32
).
*/
inline DiskSnapshotInfo& WithSizeInGb(int value) { SetSizeInGb(value); return *this;}
private:
int m_sizeInGb;
bool m_sizeInGbHasBeenSet = false;
};
} // namespace Model
} // namespace Lightsail
} // namespace Aws