AWS SDK for C++  1.9.108
AWS SDK for C++
NFSOnDeviceServiceConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Snowball
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline int GetStorageLimit() const{ return m_storageLimit; }
45 
49  inline bool StorageLimitHasBeenSet() const { return m_storageLimitHasBeenSet; }
50 
54  inline void SetStorageLimit(int value) { m_storageLimitHasBeenSet = true; m_storageLimit = value; }
55 
59  inline NFSOnDeviceServiceConfiguration& WithStorageLimit(int value) { SetStorageLimit(value); return *this;}
60 
61 
65  inline const StorageUnit& GetStorageUnit() const{ return m_storageUnit; }
66 
70  inline bool StorageUnitHasBeenSet() const { return m_storageUnitHasBeenSet; }
71 
75  inline void SetStorageUnit(const StorageUnit& value) { m_storageUnitHasBeenSet = true; m_storageUnit = value; }
76 
80  inline void SetStorageUnit(StorageUnit&& value) { m_storageUnitHasBeenSet = true; m_storageUnit = std::move(value); }
81 
85  inline NFSOnDeviceServiceConfiguration& WithStorageUnit(const StorageUnit& value) { SetStorageUnit(value); return *this;}
86 
90  inline NFSOnDeviceServiceConfiguration& WithStorageUnit(StorageUnit&& value) { SetStorageUnit(std::move(value)); return *this;}
91 
92  private:
93 
94  int m_storageLimit;
95  bool m_storageLimitHasBeenSet;
96 
97  StorageUnit m_storageUnit;
98  bool m_storageUnitHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace Snowball
103 } // namespace Aws
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::SetStorageUnit
void SetStorageUnit(StorageUnit &&value)
Definition: NFSOnDeviceServiceConfiguration.h:80
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::GetStorageLimit
int GetStorageLimit() const
Definition: NFSOnDeviceServiceConfiguration.h:44
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::NFSOnDeviceServiceConfiguration
NFSOnDeviceServiceConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::WithStorageLimit
NFSOnDeviceServiceConfiguration & WithStorageLimit(int value)
Definition: NFSOnDeviceServiceConfiguration.h:59
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::GetStorageUnit
const StorageUnit & GetStorageUnit() const
Definition: NFSOnDeviceServiceConfiguration.h:65
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::operator=
NFSOnDeviceServiceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::NFSOnDeviceServiceConfiguration
NFSOnDeviceServiceConfiguration()
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::WithStorageUnit
NFSOnDeviceServiceConfiguration & WithStorageUnit(StorageUnit &&value)
Definition: NFSOnDeviceServiceConfiguration.h:90
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::SetStorageUnit
void SetStorageUnit(const StorageUnit &value)
Definition: NFSOnDeviceServiceConfiguration.h:75
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::WithStorageUnit
NFSOnDeviceServiceConfiguration & WithStorageUnit(const StorageUnit &value)
Definition: NFSOnDeviceServiceConfiguration.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::SetStorageLimit
void SetStorageLimit(int value)
Definition: NFSOnDeviceServiceConfiguration.h:54
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration
Definition: NFSOnDeviceServiceConfiguration.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::StorageUnitHasBeenSet
bool StorageUnitHasBeenSet() const
Definition: NFSOnDeviceServiceConfiguration.h:70
StorageUnit.h
Aws::Snowball::Model::NFSOnDeviceServiceConfiguration::StorageLimitHasBeenSet
bool StorageLimitHasBeenSet() const
Definition: NFSOnDeviceServiceConfiguration.h:49
Snowball_EXPORTS.h
Aws::Snowball::Model::StorageUnit
StorageUnit
Definition: StorageUnit.h:17