AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteUsagePlanRequest.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 "DeleteUsagePlan"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetUsagePlanId() const{ return m_usagePlanId; }
43 
47  inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; }
48 
52  inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = value; }
53 
57  inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::move(value); }
58 
62  inline void SetUsagePlanId(const char* value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId.assign(value); }
63 
67  inline DeleteUsagePlanRequest& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
68 
72  inline DeleteUsagePlanRequest& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
73 
77  inline DeleteUsagePlanRequest& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;}
78 
79  private:
80 
81  Aws::String m_usagePlanId;
82  bool m_usagePlanIdHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace APIGateway
87 } // namespace Aws
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteUsagePlanRequest
Definition: DeleteUsagePlanRequest.h:26
Aws::APIGateway::Model::DeleteUsagePlanRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUsagePlanRequest.h:34
Aws::APIGateway::Model::DeleteUsagePlanRequest::GetUsagePlanId
const Aws::String & GetUsagePlanId() const
Definition: DeleteUsagePlanRequest.h:42
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteUsagePlanRequest::SetUsagePlanId
void SetUsagePlanId(const char *value)
Definition: DeleteUsagePlanRequest.h:62
Aws::APIGateway::Model::DeleteUsagePlanRequest::UsagePlanIdHasBeenSet
bool UsagePlanIdHasBeenSet() const
Definition: DeleteUsagePlanRequest.h:47
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteUsagePlanRequest::DeleteUsagePlanRequest
DeleteUsagePlanRequest()
AWSString.h
Aws::APIGateway::Model::DeleteUsagePlanRequest::WithUsagePlanId
DeleteUsagePlanRequest & WithUsagePlanId(const Aws::String &value)
Definition: DeleteUsagePlanRequest.h:67
Aws::APIGateway::Model::DeleteUsagePlanRequest::WithUsagePlanId
DeleteUsagePlanRequest & WithUsagePlanId(Aws::String &&value)
Definition: DeleteUsagePlanRequest.h:72
Aws
Definition: AccessManagementClient.h:15
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
Aws::APIGateway::Model::DeleteUsagePlanRequest::SetUsagePlanId
void SetUsagePlanId(Aws::String &&value)
Definition: DeleteUsagePlanRequest.h:57
Aws::APIGateway::Model::DeleteUsagePlanRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::DeleteUsagePlanRequest::SetUsagePlanId
void SetUsagePlanId(const Aws::String &value)
Definition: DeleteUsagePlanRequest.h:52
Aws::APIGateway::Model::DeleteUsagePlanRequest::WithUsagePlanId
DeleteUsagePlanRequest & WithUsagePlanId(const char *value)
Definition: DeleteUsagePlanRequest.h:77