AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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