AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeLimitsResult.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 template<typename RESULT_TYPE>
21 class AmazonWebServiceResult;
22 
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace DynamoDB
31 {
32 namespace Model
33 {
38  {
39  public:
43 
48  inline long long GetAccountMaxReadCapacityUnits() const{ return m_accountMaxReadCapacityUnits; }
49 
54  inline void SetAccountMaxReadCapacityUnits(long long value) { m_accountMaxReadCapacityUnits = value; }
55 
60  inline DescribeLimitsResult& WithAccountMaxReadCapacityUnits(long long value) { SetAccountMaxReadCapacityUnits(value); return *this;}
61 
66  inline long long GetAccountMaxWriteCapacityUnits() const{ return m_accountMaxWriteCapacityUnits; }
67 
72  inline void SetAccountMaxWriteCapacityUnits(long long value) { m_accountMaxWriteCapacityUnits = value; }
73 
78  inline DescribeLimitsResult& WithAccountMaxWriteCapacityUnits(long long value) { SetAccountMaxWriteCapacityUnits(value); return *this;}
79 
85  inline long long GetTableMaxReadCapacityUnits() const{ return m_tableMaxReadCapacityUnits; }
86 
92  inline void SetTableMaxReadCapacityUnits(long long value) { m_tableMaxReadCapacityUnits = value; }
93 
99  inline DescribeLimitsResult& WithTableMaxReadCapacityUnits(long long value) { SetTableMaxReadCapacityUnits(value); return *this;}
100 
106  inline long long GetTableMaxWriteCapacityUnits() const{ return m_tableMaxWriteCapacityUnits; }
107 
113  inline void SetTableMaxWriteCapacityUnits(long long value) { m_tableMaxWriteCapacityUnits = value; }
114 
120  inline DescribeLimitsResult& WithTableMaxWriteCapacityUnits(long long value) { SetTableMaxWriteCapacityUnits(value); return *this;}
121 
122  private:
123  long long m_accountMaxReadCapacityUnits;
124  long long m_accountMaxWriteCapacityUnits;
125  long long m_tableMaxReadCapacityUnits;
126  long long m_tableMaxWriteCapacityUnits;
127  };
128 
129 } // namespace Model
130 } // namespace DynamoDB
131 } // namespace Aws
DescribeLimitsResult & WithTableMaxReadCapacityUnits(long long value)
DescribeLimitsResult & WithAccountMaxWriteCapacityUnits(long long value)
#define AWS_DYNAMODB_API
DescribeLimitsResult & WithAccountMaxReadCapacityUnits(long long value)
DescribeLimitsResult & WithTableMaxWriteCapacityUnits(long long value)
JSON (JavaScript Object Notation).