AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeBandwidthRateLimitResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
40 
41  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
42 
43 
44  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
45 
46 
47  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
48 
49 
50  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
51 
52 
53  inline DescribeBandwidthRateLimitResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
54 
55 
56  inline DescribeBandwidthRateLimitResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
57 
58 
59  inline DescribeBandwidthRateLimitResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
60 
61 
66  inline long long GetAverageUploadRateLimitInBitsPerSec() const{ return m_averageUploadRateLimitInBitsPerSec; }
67 
72  inline void SetAverageUploadRateLimitInBitsPerSec(long long value) { m_averageUploadRateLimitInBitsPerSec = value; }
73 
78  inline DescribeBandwidthRateLimitResult& WithAverageUploadRateLimitInBitsPerSec(long long value) { SetAverageUploadRateLimitInBitsPerSec(value); return *this;}
79 
80 
85  inline long long GetAverageDownloadRateLimitInBitsPerSec() const{ return m_averageDownloadRateLimitInBitsPerSec; }
86 
91  inline void SetAverageDownloadRateLimitInBitsPerSec(long long value) { m_averageDownloadRateLimitInBitsPerSec = value; }
92 
97  inline DescribeBandwidthRateLimitResult& WithAverageDownloadRateLimitInBitsPerSec(long long value) { SetAverageDownloadRateLimitInBitsPerSec(value); return *this;}
98 
99  private:
100 
101  Aws::String m_gatewayARN;
102 
103  long long m_averageUploadRateLimitInBitsPerSec;
104 
105  long long m_averageDownloadRateLimitInBitsPerSec;
106  };
107 
108 } // namespace Model
109 } // namespace StorageGateway
110 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::SetAverageUploadRateLimitInBitsPerSec
void SetAverageUploadRateLimitInBitsPerSec(long long value)
Definition: DescribeBandwidthRateLimitResult.h:72
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::WithAverageUploadRateLimitInBitsPerSec
DescribeBandwidthRateLimitResult & WithAverageUploadRateLimitInBitsPerSec(long long value)
Definition: DescribeBandwidthRateLimitResult.h:78
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::operator=
DescribeBandwidthRateLimitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeBandwidthRateLimitResult.h:50
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::GetAverageDownloadRateLimitInBitsPerSec
long long GetAverageDownloadRateLimitInBitsPerSec() const
Definition: DescribeBandwidthRateLimitResult.h:85
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::WithGatewayARN
DescribeBandwidthRateLimitResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeBandwidthRateLimitResult.h:53
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::WithAverageDownloadRateLimitInBitsPerSec
DescribeBandwidthRateLimitResult & WithAverageDownloadRateLimitInBitsPerSec(long long value)
Definition: DescribeBandwidthRateLimitResult.h:97
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::WithGatewayARN
DescribeBandwidthRateLimitResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeBandwidthRateLimitResult.h:56
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::DescribeBandwidthRateLimitResult
DescribeBandwidthRateLimitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::DescribeBandwidthRateLimitResult
DescribeBandwidthRateLimitResult()
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeBandwidthRateLimitResult.h:41
AWSString.h
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeBandwidthRateLimitResult.h:44
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::WithGatewayARN
DescribeBandwidthRateLimitResult & WithGatewayARN(const char *value)
Definition: DescribeBandwidthRateLimitResult.h:59
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeBandwidthRateLimitResult.h:47
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult
Definition: DescribeBandwidthRateLimitResult.h:33
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::SetAverageDownloadRateLimitInBitsPerSec
void SetAverageDownloadRateLimitInBitsPerSec(long long value)
Definition: DescribeBandwidthRateLimitResult.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeBandwidthRateLimitResult::GetAverageUploadRateLimitInBitsPerSec
long long GetAverageUploadRateLimitInBitsPerSec() const
Definition: DescribeBandwidthRateLimitResult.h:66