AWS SDK for C++  0.12.9
AWS SDK for C++
DirectoryLimits.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace DirectoryService
28 {
29 namespace Model
30 {
31 
36  {
37  public:
40  DirectoryLimits& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
41  Aws::Utils::Json::JsonValue Jsonize() const;
42 
46  inline long GetCloudOnlyDirectoriesLimit() const{ return m_cloudOnlyDirectoriesLimit; }
47 
51  inline void SetCloudOnlyDirectoriesLimit(long value) { m_cloudOnlyDirectoriesLimitHasBeenSet = true; m_cloudOnlyDirectoriesLimit = value; }
52 
56  inline DirectoryLimits& WithCloudOnlyDirectoriesLimit(long value) { SetCloudOnlyDirectoriesLimit(value); return *this;}
57 
61  inline long GetCloudOnlyDirectoriesCurrentCount() const{ return m_cloudOnlyDirectoriesCurrentCount; }
62 
66  inline void SetCloudOnlyDirectoriesCurrentCount(long value) { m_cloudOnlyDirectoriesCurrentCountHasBeenSet = true; m_cloudOnlyDirectoriesCurrentCount = value; }
67 
71  inline DirectoryLimits& WithCloudOnlyDirectoriesCurrentCount(long value) { SetCloudOnlyDirectoriesCurrentCount(value); return *this;}
72 
76  inline bool GetCloudOnlyDirectoriesLimitReached() const{ return m_cloudOnlyDirectoriesLimitReached; }
77 
81  inline void SetCloudOnlyDirectoriesLimitReached(bool value) { m_cloudOnlyDirectoriesLimitReachedHasBeenSet = true; m_cloudOnlyDirectoriesLimitReached = value; }
82 
86  inline DirectoryLimits& WithCloudOnlyDirectoriesLimitReached(bool value) { SetCloudOnlyDirectoriesLimitReached(value); return *this;}
87 
91  inline long GetCloudOnlyMicrosoftADLimit() const{ return m_cloudOnlyMicrosoftADLimit; }
92 
96  inline void SetCloudOnlyMicrosoftADLimit(long value) { m_cloudOnlyMicrosoftADLimitHasBeenSet = true; m_cloudOnlyMicrosoftADLimit = value; }
97 
101  inline DirectoryLimits& WithCloudOnlyMicrosoftADLimit(long value) { SetCloudOnlyMicrosoftADLimit(value); return *this;}
102 
106  inline long GetCloudOnlyMicrosoftADCurrentCount() const{ return m_cloudOnlyMicrosoftADCurrentCount; }
107 
111  inline void SetCloudOnlyMicrosoftADCurrentCount(long value) { m_cloudOnlyMicrosoftADCurrentCountHasBeenSet = true; m_cloudOnlyMicrosoftADCurrentCount = value; }
112 
116  inline DirectoryLimits& WithCloudOnlyMicrosoftADCurrentCount(long value) { SetCloudOnlyMicrosoftADCurrentCount(value); return *this;}
117 
121  inline bool GetCloudOnlyMicrosoftADLimitReached() const{ return m_cloudOnlyMicrosoftADLimitReached; }
122 
126  inline void SetCloudOnlyMicrosoftADLimitReached(bool value) { m_cloudOnlyMicrosoftADLimitReachedHasBeenSet = true; m_cloudOnlyMicrosoftADLimitReached = value; }
127 
131  inline DirectoryLimits& WithCloudOnlyMicrosoftADLimitReached(bool value) { SetCloudOnlyMicrosoftADLimitReached(value); return *this;}
132 
136  inline long GetConnectedDirectoriesLimit() const{ return m_connectedDirectoriesLimit; }
137 
141  inline void SetConnectedDirectoriesLimit(long value) { m_connectedDirectoriesLimitHasBeenSet = true; m_connectedDirectoriesLimit = value; }
142 
146  inline DirectoryLimits& WithConnectedDirectoriesLimit(long value) { SetConnectedDirectoriesLimit(value); return *this;}
147 
151  inline long GetConnectedDirectoriesCurrentCount() const{ return m_connectedDirectoriesCurrentCount; }
152 
156  inline void SetConnectedDirectoriesCurrentCount(long value) { m_connectedDirectoriesCurrentCountHasBeenSet = true; m_connectedDirectoriesCurrentCount = value; }
157 
161  inline DirectoryLimits& WithConnectedDirectoriesCurrentCount(long value) { SetConnectedDirectoriesCurrentCount(value); return *this;}
162 
166  inline bool GetConnectedDirectoriesLimitReached() const{ return m_connectedDirectoriesLimitReached; }
167 
171  inline void SetConnectedDirectoriesLimitReached(bool value) { m_connectedDirectoriesLimitReachedHasBeenSet = true; m_connectedDirectoriesLimitReached = value; }
172 
176  inline DirectoryLimits& WithConnectedDirectoriesLimitReached(bool value) { SetConnectedDirectoriesLimitReached(value); return *this;}
177 
178  private:
179  long m_cloudOnlyDirectoriesLimit;
180  bool m_cloudOnlyDirectoriesLimitHasBeenSet;
181  long m_cloudOnlyDirectoriesCurrentCount;
182  bool m_cloudOnlyDirectoriesCurrentCountHasBeenSet;
183  bool m_cloudOnlyDirectoriesLimitReached;
184  bool m_cloudOnlyDirectoriesLimitReachedHasBeenSet;
185  long m_cloudOnlyMicrosoftADLimit;
186  bool m_cloudOnlyMicrosoftADLimitHasBeenSet;
187  long m_cloudOnlyMicrosoftADCurrentCount;
188  bool m_cloudOnlyMicrosoftADCurrentCountHasBeenSet;
189  bool m_cloudOnlyMicrosoftADLimitReached;
190  bool m_cloudOnlyMicrosoftADLimitReachedHasBeenSet;
191  long m_connectedDirectoriesLimit;
192  bool m_connectedDirectoriesLimitHasBeenSet;
193  long m_connectedDirectoriesCurrentCount;
194  bool m_connectedDirectoriesCurrentCountHasBeenSet;
195  bool m_connectedDirectoriesLimitReached;
196  bool m_connectedDirectoriesLimitReachedHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace DirectoryService
201 } // namespace Aws
DirectoryLimits & WithCloudOnlyMicrosoftADLimitReached(bool value)
#define AWS_DIRECTORYSERVICE_API
DirectoryLimits & WithCloudOnlyDirectoriesCurrentCount(long value)
DirectoryLimits & WithConnectedDirectoriesCurrentCount(long value)
DirectoryLimits & WithCloudOnlyMicrosoftADLimit(long value)
DirectoryLimits & WithCloudOnlyMicrosoftADCurrentCount(long value)
DirectoryLimits & WithConnectedDirectoriesLimit(long value)
DirectoryLimits & WithConnectedDirectoriesLimitReached(bool value)
DirectoryLimits & WithCloudOnlyDirectoriesLimit(long value)
DirectoryLimits & WithCloudOnlyDirectoriesLimitReached(bool value)
JSON (JavaScript Object Notation).