AWS SDK for C++  1.9.103
AWS SDK for C++
GetSnowballUsageResult.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 template<typename RESULT_TYPE>
12 class AmazonWebServiceResult;
13 
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19 } // namespace Json
20 } // namespace Utils
21 namespace Snowball
22 {
23 namespace Model
24 {
26  {
27  public:
31 
32 
37  inline int GetSnowballLimit() const{ return m_snowballLimit; }
38 
43  inline void SetSnowballLimit(int value) { m_snowballLimit = value; }
44 
49  inline GetSnowballUsageResult& WithSnowballLimit(int value) { SetSnowballLimit(value); return *this;}
50 
51 
55  inline int GetSnowballsInUse() const{ return m_snowballsInUse; }
56 
60  inline void SetSnowballsInUse(int value) { m_snowballsInUse = value; }
61 
65  inline GetSnowballUsageResult& WithSnowballsInUse(int value) { SetSnowballsInUse(value); return *this;}
66 
67  private:
68 
69  int m_snowballLimit;
70 
71  int m_snowballsInUse;
72  };
73 
74 } // namespace Model
75 } // namespace Snowball
76 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::GetSnowballUsageResult::GetSnowballsInUse
int GetSnowballsInUse() const
Definition: GetSnowballUsageResult.h:55
Aws::Snowball::Model::GetSnowballUsageResult::GetSnowballLimit
int GetSnowballLimit() const
Definition: GetSnowballUsageResult.h:37
Aws::Snowball::Model::GetSnowballUsageResult
Definition: GetSnowballUsageResult.h:26
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::GetSnowballUsageResult::GetSnowballUsageResult
GetSnowballUsageResult()
Aws::Snowball::Model::GetSnowballUsageResult::WithSnowballsInUse
GetSnowballUsageResult & WithSnowballsInUse(int value)
Definition: GetSnowballUsageResult.h:65
Aws::Snowball::Model::GetSnowballUsageResult::SetSnowballLimit
void SetSnowballLimit(int value)
Definition: GetSnowballUsageResult.h:43
Aws::Snowball::Model::GetSnowballUsageResult::SetSnowballsInUse
void SetSnowballsInUse(int value)
Definition: GetSnowballUsageResult.h:60
Aws::Snowball::Model::GetSnowballUsageResult::GetSnowballUsageResult
GetSnowballUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::GetSnowballUsageResult::WithSnowballLimit
GetSnowballUsageResult & WithSnowballLimit(int value)
Definition: GetSnowballUsageResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::GetSnowballUsageResult::operator=
GetSnowballUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Snowball_EXPORTS.h