AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateBandwidthRateLimitRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "UpdateBandwidthRateLimit"; }
38 
39  Aws::String SerializePayload() const override;
40 
42 
43 
44 
45  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
46 
47 
48  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
49 
50 
51  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
52 
53 
54  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
55 
56 
57  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
58 
59 
60  inline UpdateBandwidthRateLimitRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
61 
62 
63  inline UpdateBandwidthRateLimitRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
64 
65 
66  inline UpdateBandwidthRateLimitRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
67 
68 
72  inline long long GetAverageUploadRateLimitInBitsPerSec() const{ return m_averageUploadRateLimitInBitsPerSec; }
73 
77  inline bool AverageUploadRateLimitInBitsPerSecHasBeenSet() const { return m_averageUploadRateLimitInBitsPerSecHasBeenSet; }
78 
82  inline void SetAverageUploadRateLimitInBitsPerSec(long long value) { m_averageUploadRateLimitInBitsPerSecHasBeenSet = true; m_averageUploadRateLimitInBitsPerSec = value; }
83 
87  inline UpdateBandwidthRateLimitRequest& WithAverageUploadRateLimitInBitsPerSec(long long value) { SetAverageUploadRateLimitInBitsPerSec(value); return *this;}
88 
89 
93  inline long long GetAverageDownloadRateLimitInBitsPerSec() const{ return m_averageDownloadRateLimitInBitsPerSec; }
94 
98  inline bool AverageDownloadRateLimitInBitsPerSecHasBeenSet() const { return m_averageDownloadRateLimitInBitsPerSecHasBeenSet; }
99 
103  inline void SetAverageDownloadRateLimitInBitsPerSec(long long value) { m_averageDownloadRateLimitInBitsPerSecHasBeenSet = true; m_averageDownloadRateLimitInBitsPerSec = value; }
104 
108  inline UpdateBandwidthRateLimitRequest& WithAverageDownloadRateLimitInBitsPerSec(long long value) { SetAverageDownloadRateLimitInBitsPerSec(value); return *this;}
109 
110  private:
111 
112  Aws::String m_gatewayARN;
113  bool m_gatewayARNHasBeenSet;
114 
115  long long m_averageUploadRateLimitInBitsPerSec;
116  bool m_averageUploadRateLimitInBitsPerSecHasBeenSet;
117 
118  long long m_averageDownloadRateLimitInBitsPerSec;
119  bool m_averageDownloadRateLimitInBitsPerSecHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace StorageGateway
124 } // namespace Aws
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::GetAverageDownloadRateLimitInBitsPerSec
long long GetAverageDownloadRateLimitInBitsPerSec() const
Definition: UpdateBandwidthRateLimitRequest.h:93
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest
Definition: UpdateBandwidthRateLimitRequest.h:29
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateBandwidthRateLimitRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::WithGatewayARN
UpdateBandwidthRateLimitRequest & WithGatewayARN(Aws::String &&value)
Definition: UpdateBandwidthRateLimitRequest.h:63
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBandwidthRateLimitRequest.h:37
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::WithGatewayARN
UpdateBandwidthRateLimitRequest & WithGatewayARN(const Aws::String &value)
Definition: UpdateBandwidthRateLimitRequest.h:60
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateBandwidthRateLimitRequest.h:54
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::SetAverageDownloadRateLimitInBitsPerSec
void SetAverageDownloadRateLimitInBitsPerSec(long long value)
Definition: UpdateBandwidthRateLimitRequest.h:103
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::WithGatewayARN
UpdateBandwidthRateLimitRequest & WithGatewayARN(const char *value)
Definition: UpdateBandwidthRateLimitRequest.h:66
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::AverageUploadRateLimitInBitsPerSecHasBeenSet
bool AverageUploadRateLimitInBitsPerSecHasBeenSet() const
Definition: UpdateBandwidthRateLimitRequest.h:77
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::UpdateBandwidthRateLimitRequest
UpdateBandwidthRateLimitRequest()
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: UpdateBandwidthRateLimitRequest.h:48
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::WithAverageUploadRateLimitInBitsPerSec
UpdateBandwidthRateLimitRequest & WithAverageUploadRateLimitInBitsPerSec(long long value)
Definition: UpdateBandwidthRateLimitRequest.h:87
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::WithAverageDownloadRateLimitInBitsPerSec
UpdateBandwidthRateLimitRequest & WithAverageDownloadRateLimitInBitsPerSec(long long value)
Definition: UpdateBandwidthRateLimitRequest.h:108
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::GetAverageUploadRateLimitInBitsPerSec
long long GetAverageUploadRateLimitInBitsPerSec() const
Definition: UpdateBandwidthRateLimitRequest.h:72
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::AverageDownloadRateLimitInBitsPerSecHasBeenSet
bool AverageDownloadRateLimitInBitsPerSecHasBeenSet() const
Definition: UpdateBandwidthRateLimitRequest.h:98
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateBandwidthRateLimitRequest.h:57
StorageGatewayRequest.h
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateBandwidthRateLimitRequest.h:51
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::SetAverageUploadRateLimitInBitsPerSec
void SetAverageUploadRateLimitInBitsPerSec(long long value)
Definition: UpdateBandwidthRateLimitRequest.h:82
Aws::StorageGateway::Model::UpdateBandwidthRateLimitRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97