AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBandwidthRateLimitRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace StorageGateway
15{
16namespace Model
17{
18
29 {
30 public:
31 AWS_STORAGEGATEWAY_API UpdateBandwidthRateLimitRequest();
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_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
40
41 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
46 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
47 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
48 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
49 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
50 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
51 inline UpdateBandwidthRateLimitRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
52 inline UpdateBandwidthRateLimitRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
53 inline UpdateBandwidthRateLimitRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
55
57
60 inline long long GetAverageUploadRateLimitInBitsPerSec() const{ return m_averageUploadRateLimitInBitsPerSec; }
61 inline bool AverageUploadRateLimitInBitsPerSecHasBeenSet() const { return m_averageUploadRateLimitInBitsPerSecHasBeenSet; }
62 inline void SetAverageUploadRateLimitInBitsPerSec(long long value) { m_averageUploadRateLimitInBitsPerSecHasBeenSet = true; m_averageUploadRateLimitInBitsPerSec = value; }
65
67
70 inline long long GetAverageDownloadRateLimitInBitsPerSec() const{ return m_averageDownloadRateLimitInBitsPerSec; }
71 inline bool AverageDownloadRateLimitInBitsPerSecHasBeenSet() const { return m_averageDownloadRateLimitInBitsPerSecHasBeenSet; }
72 inline void SetAverageDownloadRateLimitInBitsPerSec(long long value) { m_averageDownloadRateLimitInBitsPerSecHasBeenSet = true; m_averageDownloadRateLimitInBitsPerSec = value; }
75 private:
76
77 Aws::String m_gatewayARN;
78 bool m_gatewayARNHasBeenSet = false;
79
80 long long m_averageUploadRateLimitInBitsPerSec;
81 bool m_averageUploadRateLimitInBitsPerSecHasBeenSet = false;
82
83 long long m_averageDownloadRateLimitInBitsPerSec;
84 bool m_averageDownloadRateLimitInBitsPerSecHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace StorageGateway
89} // namespace Aws
UpdateBandwidthRateLimitRequest & WithAverageDownloadRateLimitInBitsPerSec(long long value)
UpdateBandwidthRateLimitRequest & WithGatewayARN(const Aws::String &value)
UpdateBandwidthRateLimitRequest & WithAverageUploadRateLimitInBitsPerSec(long long value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateBandwidthRateLimitRequest & WithGatewayARN(const char *value)
UpdateBandwidthRateLimitRequest & WithGatewayARN(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String