AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteVpnConnectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EC2 {
15namespace Model {
16
24 public:
25 AWS_EC2_API DeleteVpnConnectionRequest() = 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 "DeleteVpnConnection"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
43 inline const Aws::String& GetVpnConnectionId() const { return m_vpnConnectionId; }
44 inline bool VpnConnectionIdHasBeenSet() const { return m_vpnConnectionIdHasBeenSet; }
45 template <typename VpnConnectionIdT = Aws::String>
46 void SetVpnConnectionId(VpnConnectionIdT&& value) {
47 m_vpnConnectionIdHasBeenSet = true;
48 m_vpnConnectionId = std::forward<VpnConnectionIdT>(value);
49 }
50 template <typename VpnConnectionIdT = Aws::String>
52 SetVpnConnectionId(std::forward<VpnConnectionIdT>(value));
53 return *this;
54 }
56
58
64 inline bool GetDryRun() const { return m_dryRun; }
65 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
66 inline void SetDryRun(bool value) {
67 m_dryRunHasBeenSet = true;
68 m_dryRun = value;
69 }
71 SetDryRun(value);
72 return *this;
73 }
75 private:
76 Aws::String m_vpnConnectionId;
77
78 bool m_dryRun{false};
79 bool m_vpnConnectionIdHasBeenSet = false;
80 bool m_dryRunHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace EC2
85} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_EC2_API DeleteVpnConnectionRequest()=default
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteVpnConnectionRequest & WithDryRun(bool value)
DeleteVpnConnectionRequest & WithVpnConnectionId(VpnConnectionIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String