AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
DeleteVpcLinkRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace APIGateway {
15namespace Model {
16
24 public:
25 AWS_APIGATEWAY_API DeleteVpcLinkRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteVpcLink"; }
32
33 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetVpcLinkId() const { return m_vpcLinkId; }
41 inline bool VpcLinkIdHasBeenSet() const { return m_vpcLinkIdHasBeenSet; }
42 template <typename VpcLinkIdT = Aws::String>
43 void SetVpcLinkId(VpcLinkIdT&& value) {
44 m_vpcLinkIdHasBeenSet = true;
45 m_vpcLinkId = std::forward<VpcLinkIdT>(value);
46 }
47 template <typename VpcLinkIdT = Aws::String>
48 DeleteVpcLinkRequest& WithVpcLinkId(VpcLinkIdT&& value) {
49 SetVpcLinkId(std::forward<VpcLinkIdT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_vpcLinkId;
55 bool m_vpcLinkIdHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace APIGateway
60} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String