AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserStorageMetadata.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/model/StorageRuleType.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 WorkDocs
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WORKDOCS_API UserStorageMetadata();
37 AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetStorageUtilizedInBytes() const{ return m_storageUtilizedInBytes; }
45 inline bool StorageUtilizedInBytesHasBeenSet() const { return m_storageUtilizedInBytesHasBeenSet; }
46 inline void SetStorageUtilizedInBytes(long long value) { m_storageUtilizedInBytesHasBeenSet = true; m_storageUtilizedInBytes = value; }
47 inline UserStorageMetadata& WithStorageUtilizedInBytes(long long value) { SetStorageUtilizedInBytes(value); return *this;}
49
51
54 inline const StorageRuleType& GetStorageRule() const{ return m_storageRule; }
55 inline bool StorageRuleHasBeenSet() const { return m_storageRuleHasBeenSet; }
56 inline void SetStorageRule(const StorageRuleType& value) { m_storageRuleHasBeenSet = true; m_storageRule = value; }
57 inline void SetStorageRule(StorageRuleType&& value) { m_storageRuleHasBeenSet = true; m_storageRule = std::move(value); }
58 inline UserStorageMetadata& WithStorageRule(const StorageRuleType& value) { SetStorageRule(value); return *this;}
59 inline UserStorageMetadata& WithStorageRule(StorageRuleType&& value) { SetStorageRule(std::move(value)); return *this;}
61 private:
62
63 long long m_storageUtilizedInBytes;
64 bool m_storageUtilizedInBytesHasBeenSet = false;
65
66 StorageRuleType m_storageRule;
67 bool m_storageRuleHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace WorkDocs
72} // namespace Aws
UserStorageMetadata & WithStorageUtilizedInBytes(long long value)
AWS_WORKDOCS_API UserStorageMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStorageRule(StorageRuleType &&value)
const StorageRuleType & GetStorageRule() const
UserStorageMetadata & WithStorageRule(StorageRuleType &&value)
void SetStorageRule(const StorageRuleType &value)
AWS_WORKDOCS_API UserStorageMetadata(Aws::Utils::Json::JsonView jsonValue)
UserStorageMetadata & WithStorageRule(const StorageRuleType &value)
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue