AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBandwidthRateLimitResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace StorageGateway
24{
25namespace Model
26{
33 {
34 public:
35 AWS_STORAGEGATEWAY_API DescribeBandwidthRateLimitResult();
38
39
41
42 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
43 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
44 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
45 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
46 inline DescribeBandwidthRateLimitResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
47 inline DescribeBandwidthRateLimitResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
48 inline DescribeBandwidthRateLimitResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
50
52
56 inline long long GetAverageUploadRateLimitInBitsPerSec() const{ return m_averageUploadRateLimitInBitsPerSec; }
57 inline void SetAverageUploadRateLimitInBitsPerSec(long long value) { m_averageUploadRateLimitInBitsPerSec = value; }
60
62
66 inline long long GetAverageDownloadRateLimitInBitsPerSec() const{ return m_averageDownloadRateLimitInBitsPerSec; }
67 inline void SetAverageDownloadRateLimitInBitsPerSec(long long value) { m_averageDownloadRateLimitInBitsPerSec = value; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline DescribeBandwidthRateLimitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline DescribeBandwidthRateLimitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline DescribeBandwidthRateLimitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_gatewayARN;
84
85 long long m_averageUploadRateLimitInBitsPerSec;
86
87 long long m_averageDownloadRateLimitInBitsPerSec;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace StorageGateway
94} // namespace Aws
DescribeBandwidthRateLimitResult & WithRequestId(const Aws::String &value)
AWS_STORAGEGATEWAY_API DescribeBandwidthRateLimitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API DescribeBandwidthRateLimitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBandwidthRateLimitResult & WithGatewayARN(Aws::String &&value)
DescribeBandwidthRateLimitResult & WithRequestId(const char *value)
DescribeBandwidthRateLimitResult & WithGatewayARN(const char *value)
DescribeBandwidthRateLimitResult & WithGatewayARN(const Aws::String &value)
DescribeBandwidthRateLimitResult & WithRequestId(Aws::String &&value)
DescribeBandwidthRateLimitResult & WithAverageDownloadRateLimitInBitsPerSec(long long value)
DescribeBandwidthRateLimitResult & WithAverageUploadRateLimitInBitsPerSec(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue