AWS SDK for C++  1.9.103
AWS SDK for C++
DeleteBandwidthRateLimitRequest.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 
27  {
28  public:
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::String SerializePayload() const override;
38 
40 
41 
42 
43  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
44 
45 
46  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
47 
48 
49  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
50 
51 
52  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
53 
54 
55  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
56 
57 
58  inline DeleteBandwidthRateLimitRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
59 
60 
61  inline DeleteBandwidthRateLimitRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
62 
63 
64  inline DeleteBandwidthRateLimitRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
65 
66 
72  inline const Aws::String& GetBandwidthType() const{ return m_bandwidthType; }
73 
79  inline bool BandwidthTypeHasBeenSet() const { return m_bandwidthTypeHasBeenSet; }
80 
86  inline void SetBandwidthType(const Aws::String& value) { m_bandwidthTypeHasBeenSet = true; m_bandwidthType = value; }
87 
93  inline void SetBandwidthType(Aws::String&& value) { m_bandwidthTypeHasBeenSet = true; m_bandwidthType = std::move(value); }
94 
100  inline void SetBandwidthType(const char* value) { m_bandwidthTypeHasBeenSet = true; m_bandwidthType.assign(value); }
101 
107  inline DeleteBandwidthRateLimitRequest& WithBandwidthType(const Aws::String& value) { SetBandwidthType(value); return *this;}
108 
114  inline DeleteBandwidthRateLimitRequest& WithBandwidthType(Aws::String&& value) { SetBandwidthType(std::move(value)); return *this;}
115 
121  inline DeleteBandwidthRateLimitRequest& WithBandwidthType(const char* value) { SetBandwidthType(value); return *this;}
122 
123  private:
124 
125  Aws::String m_gatewayARN;
126  bool m_gatewayARNHasBeenSet;
127 
128  Aws::String m_bandwidthType;
129  bool m_bandwidthTypeHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace StorageGateway
134 } // namespace Aws
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::WithBandwidthType
DeleteBandwidthRateLimitRequest & WithBandwidthType(const char *value)
Definition: DeleteBandwidthRateLimitRequest.h:121
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::WithGatewayARN
DeleteBandwidthRateLimitRequest & WithGatewayARN(Aws::String &&value)
Definition: DeleteBandwidthRateLimitRequest.h:61
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::BandwidthTypeHasBeenSet
bool BandwidthTypeHasBeenSet() const
Definition: DeleteBandwidthRateLimitRequest.h:79
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SetBandwidthType
void SetBandwidthType(const Aws::String &value)
Definition: DeleteBandwidthRateLimitRequest.h:86
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::WithBandwidthType
DeleteBandwidthRateLimitRequest & WithBandwidthType(const Aws::String &value)
Definition: DeleteBandwidthRateLimitRequest.h:107
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::WithGatewayARN
DeleteBandwidthRateLimitRequest & WithGatewayARN(const Aws::String &value)
Definition: DeleteBandwidthRateLimitRequest.h:58
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBandwidthRateLimitRequest.h:35
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DeleteBandwidthRateLimitRequest.h:43
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SetBandwidthType
void SetBandwidthType(const char *value)
Definition: DeleteBandwidthRateLimitRequest.h:100
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::WithBandwidthType
DeleteBandwidthRateLimitRequest & WithBandwidthType(Aws::String &&value)
Definition: DeleteBandwidthRateLimitRequest.h:114
AWSString.h
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DeleteBandwidthRateLimitRequest.h:55
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::DeleteBandwidthRateLimitRequest
DeleteBandwidthRateLimitRequest()
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SetBandwidthType
void SetBandwidthType(Aws::String &&value)
Definition: DeleteBandwidthRateLimitRequest.h:93
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DeleteBandwidthRateLimitRequest.h:52
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest
Definition: DeleteBandwidthRateLimitRequest.h:27
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::GetBandwidthType
const Aws::String & GetBandwidthType() const
Definition: DeleteBandwidthRateLimitRequest.h:72
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::WithGatewayARN
DeleteBandwidthRateLimitRequest & WithGatewayARN(const char *value)
Definition: DeleteBandwidthRateLimitRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DeleteBandwidthRateLimitRequest.h:49
Aws::StorageGateway::Model::DeleteBandwidthRateLimitRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: DeleteBandwidthRateLimitRequest.h:46