AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasourcePackageUsageInfo.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Detective
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DETECTIVE_API DatasourcePackageUsageInfo();
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline long long GetVolumeUsageInBytes() const{ return m_volumeUsageInBytes; }
47 inline bool VolumeUsageInBytesHasBeenSet() const { return m_volumeUsageInBytesHasBeenSet; }
48 inline void SetVolumeUsageInBytes(long long value) { m_volumeUsageInBytesHasBeenSet = true; m_volumeUsageInBytes = value; }
49 inline DatasourcePackageUsageInfo& WithVolumeUsageInBytes(long long value) { SetVolumeUsageInBytes(value); return *this;}
51
53
58 inline const Aws::Utils::DateTime& GetVolumeUsageUpdateTime() const{ return m_volumeUsageUpdateTime; }
59 inline bool VolumeUsageUpdateTimeHasBeenSet() const { return m_volumeUsageUpdateTimeHasBeenSet; }
60 inline void SetVolumeUsageUpdateTime(const Aws::Utils::DateTime& value) { m_volumeUsageUpdateTimeHasBeenSet = true; m_volumeUsageUpdateTime = value; }
61 inline void SetVolumeUsageUpdateTime(Aws::Utils::DateTime&& value) { m_volumeUsageUpdateTimeHasBeenSet = true; m_volumeUsageUpdateTime = std::move(value); }
65 private:
66
67 long long m_volumeUsageInBytes;
68 bool m_volumeUsageInBytesHasBeenSet = false;
69
70 Aws::Utils::DateTime m_volumeUsageUpdateTime;
71 bool m_volumeUsageUpdateTimeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Detective
76} // namespace Aws
DatasourcePackageUsageInfo & WithVolumeUsageUpdateTime(const Aws::Utils::DateTime &value)
void SetVolumeUsageUpdateTime(const Aws::Utils::DateTime &value)
DatasourcePackageUsageInfo & WithVolumeUsageUpdateTime(Aws::Utils::DateTime &&value)
AWS_DETECTIVE_API DatasourcePackageUsageInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API DatasourcePackageUsageInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetVolumeUsageUpdateTime() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasourcePackageUsageInfo & WithVolumeUsageInBytes(long long value)
Aws::Utils::Json::JsonValue JsonValue