AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteBandwidthRateLimitRequest.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
27 {
28 public:
29 AWS_STORAGEGATEWAY_API DeleteBandwidthRateLimitRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteBandwidthRateLimit"; }
36
37 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
38
39 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
44 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
45 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
46 template<typename GatewayARNT = Aws::String>
47 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
48 template<typename GatewayARNT = Aws::String>
49 DeleteBandwidthRateLimitRequest& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
51
53
58 inline const Aws::String& GetBandwidthType() const { return m_bandwidthType; }
59 inline bool BandwidthTypeHasBeenSet() const { return m_bandwidthTypeHasBeenSet; }
60 template<typename BandwidthTypeT = Aws::String>
61 void SetBandwidthType(BandwidthTypeT&& value) { m_bandwidthTypeHasBeenSet = true; m_bandwidthType = std::forward<BandwidthTypeT>(value); }
62 template<typename BandwidthTypeT = Aws::String>
63 DeleteBandwidthRateLimitRequest& WithBandwidthType(BandwidthTypeT&& value) { SetBandwidthType(std::forward<BandwidthTypeT>(value)); return *this;}
65 private:
66
67 Aws::String m_gatewayARN;
68 bool m_gatewayARNHasBeenSet = false;
69
70 Aws::String m_bandwidthType;
71 bool m_bandwidthTypeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace StorageGateway
76} // namespace Aws
DeleteBandwidthRateLimitRequest & WithGatewayARN(GatewayARNT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API DeleteBandwidthRateLimitRequest()=default
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
DeleteBandwidthRateLimitRequest & WithBandwidthType(BandwidthTypeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String