AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteUsagePlanKeyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace APIGateway
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteUsagePlanKey"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
44  inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; }
45 
51  inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; }
52 
58  inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = value; }
59 
65  inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::move(value); }
66 
72  inline void SetUsagePlanId(const char* value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId.assign(value); }
73 
79  inline DeleteUsagePlanKeyRequest& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
80 
86  inline DeleteUsagePlanKeyRequest& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
87 
93  inline DeleteUsagePlanKeyRequest& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;}
94 
95 
99  inline const Aws::String& GetKeyId() const{ return m_keyId; }
100 
104  inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
105 
109  inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
110 
114  inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
115 
119  inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
120 
124  inline DeleteUsagePlanKeyRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
125 
129  inline DeleteUsagePlanKeyRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
130 
134  inline DeleteUsagePlanKeyRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;}
135 
136  private:
137 
138  Aws::String m_usagePlanId;
139  bool m_usagePlanIdHasBeenSet;
140 
141  Aws::String m_keyId;
142  bool m_keyIdHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace APIGateway
147 } // namespace Aws
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SetKeyId
void SetKeyId(const Aws::String &value)
Definition: DeleteUsagePlanKeyRequest.h:109
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::WithKeyId
DeleteUsagePlanKeyRequest & WithKeyId(Aws::String &&value)
Definition: DeleteUsagePlanKeyRequest.h:129
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::KeyIdHasBeenSet
bool KeyIdHasBeenSet() const
Definition: DeleteUsagePlanKeyRequest.h:104
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest
Definition: DeleteUsagePlanKeyRequest.h:26
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::WithUsagePlanId
DeleteUsagePlanKeyRequest & WithUsagePlanId(Aws::String &&value)
Definition: DeleteUsagePlanKeyRequest.h:86
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SetKeyId
void SetKeyId(const char *value)
Definition: DeleteUsagePlanKeyRequest.h:119
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SetUsagePlanId
void SetUsagePlanId(const Aws::String &value)
Definition: DeleteUsagePlanKeyRequest.h:58
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SetUsagePlanId
void SetUsagePlanId(Aws::String &&value)
Definition: DeleteUsagePlanKeyRequest.h:65
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::WithUsagePlanId
DeleteUsagePlanKeyRequest & WithUsagePlanId(const Aws::String &value)
Definition: DeleteUsagePlanKeyRequest.h:79
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::DeleteUsagePlanKeyRequest
DeleteUsagePlanKeyRequest()
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SerializePayload
Aws::String SerializePayload() const override
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::WithKeyId
DeleteUsagePlanKeyRequest & WithKeyId(const char *value)
Definition: DeleteUsagePlanKeyRequest.h:134
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SetUsagePlanId
void SetUsagePlanId(const char *value)
Definition: DeleteUsagePlanKeyRequest.h:72
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::GetUsagePlanId
const Aws::String & GetUsagePlanId() const
Definition: DeleteUsagePlanKeyRequest.h:44
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::UsagePlanIdHasBeenSet
bool UsagePlanIdHasBeenSet() const
Definition: DeleteUsagePlanKeyRequest.h:51
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::WithUsagePlanId
DeleteUsagePlanKeyRequest & WithUsagePlanId(const char *value)
Definition: DeleteUsagePlanKeyRequest.h:93
AWSString.h
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::WithKeyId
DeleteUsagePlanKeyRequest & WithKeyId(const Aws::String &value)
Definition: DeleteUsagePlanKeyRequest.h:124
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::SetKeyId
void SetKeyId(Aws::String &&value)
Definition: DeleteUsagePlanKeyRequest.h:114
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::GetKeyId
const Aws::String & GetKeyId() const
Definition: DeleteUsagePlanKeyRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DeleteUsagePlanKeyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUsagePlanKeyRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18