AWS SDK for C++  1.9.16
AWS SDK for C++
SnapshotLimits.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace DirectoryService
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetManualSnapshotsLimit() const{ return m_manualSnapshotsLimit; }
43 
47  inline bool ManualSnapshotsLimitHasBeenSet() const { return m_manualSnapshotsLimitHasBeenSet; }
48 
52  inline void SetManualSnapshotsLimit(int value) { m_manualSnapshotsLimitHasBeenSet = true; m_manualSnapshotsLimit = value; }
53 
57  inline SnapshotLimits& WithManualSnapshotsLimit(int value) { SetManualSnapshotsLimit(value); return *this;}
58 
59 
63  inline int GetManualSnapshotsCurrentCount() const{ return m_manualSnapshotsCurrentCount; }
64 
68  inline bool ManualSnapshotsCurrentCountHasBeenSet() const { return m_manualSnapshotsCurrentCountHasBeenSet; }
69 
73  inline void SetManualSnapshotsCurrentCount(int value) { m_manualSnapshotsCurrentCountHasBeenSet = true; m_manualSnapshotsCurrentCount = value; }
74 
78  inline SnapshotLimits& WithManualSnapshotsCurrentCount(int value) { SetManualSnapshotsCurrentCount(value); return *this;}
79 
80 
84  inline bool GetManualSnapshotsLimitReached() const{ return m_manualSnapshotsLimitReached; }
85 
89  inline bool ManualSnapshotsLimitReachedHasBeenSet() const { return m_manualSnapshotsLimitReachedHasBeenSet; }
90 
94  inline void SetManualSnapshotsLimitReached(bool value) { m_manualSnapshotsLimitReachedHasBeenSet = true; m_manualSnapshotsLimitReached = value; }
95 
99  inline SnapshotLimits& WithManualSnapshotsLimitReached(bool value) { SetManualSnapshotsLimitReached(value); return *this;}
100 
101  private:
102 
103  int m_manualSnapshotsLimit;
104  bool m_manualSnapshotsLimitHasBeenSet;
105 
106  int m_manualSnapshotsCurrentCount;
107  bool m_manualSnapshotsCurrentCountHasBeenSet;
108 
109  bool m_manualSnapshotsLimitReached;
110  bool m_manualSnapshotsLimitReachedHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace DirectoryService
115 } // namespace Aws
Aws::DirectoryService::Model::SnapshotLimits::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::SnapshotLimits::WithManualSnapshotsLimit
SnapshotLimits & WithManualSnapshotsLimit(int value)
Definition: SnapshotLimits.h:57
Aws::DirectoryService::Model::SnapshotLimits::ManualSnapshotsCurrentCountHasBeenSet
bool ManualSnapshotsCurrentCountHasBeenSet() const
Definition: SnapshotLimits.h:68
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::SnapshotLimits::ManualSnapshotsLimitHasBeenSet
bool ManualSnapshotsLimitHasBeenSet() const
Definition: SnapshotLimits.h:47
Aws::DirectoryService::Model::SnapshotLimits::SetManualSnapshotsLimit
void SetManualSnapshotsLimit(int value)
Definition: SnapshotLimits.h:52
Aws::DirectoryService::Model::SnapshotLimits
Definition: SnapshotLimits.h:31
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::SnapshotLimits::operator=
SnapshotLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::SnapshotLimits::WithManualSnapshotsCurrentCount
SnapshotLimits & WithManualSnapshotsCurrentCount(int value)
Definition: SnapshotLimits.h:78
Aws::DirectoryService::Model::SnapshotLimits::SnapshotLimits
SnapshotLimits()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::SnapshotLimits::SetManualSnapshotsLimitReached
void SetManualSnapshotsLimitReached(bool value)
Definition: SnapshotLimits.h:94
Aws::DirectoryService::Model::SnapshotLimits::WithManualSnapshotsLimitReached
SnapshotLimits & WithManualSnapshotsLimitReached(bool value)
Definition: SnapshotLimits.h:99
Aws::DirectoryService::Model::SnapshotLimits::SetManualSnapshotsCurrentCount
void SetManualSnapshotsCurrentCount(int value)
Definition: SnapshotLimits.h:73
Aws::DirectoryService::Model::SnapshotLimits::GetManualSnapshotsLimitReached
bool GetManualSnapshotsLimitReached() const
Definition: SnapshotLimits.h:84
Aws::DirectoryService::Model::SnapshotLimits::SnapshotLimits
SnapshotLimits(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::SnapshotLimits::GetManualSnapshotsCurrentCount
int GetManualSnapshotsCurrentCount() const
Definition: SnapshotLimits.h:63
Aws::DirectoryService::Model::SnapshotLimits::ManualSnapshotsLimitReachedHasBeenSet
bool ManualSnapshotsLimitReachedHasBeenSet() const
Definition: SnapshotLimits.h:89
Aws::DirectoryService::Model::SnapshotLimits::GetManualSnapshotsLimit
int GetManualSnapshotsLimit() const
Definition: SnapshotLimits.h:42