AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteCustomerGatewayRequest.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 "DeleteCustomerGateway"; }
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& GetCustomerGatewayId() const{ return m_customerGatewayId; }
48 inline bool CustomerGatewayIdHasBeenSet() const { return m_customerGatewayIdHasBeenSet; }
49 inline void SetCustomerGatewayId(const Aws::String& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = value; }
50 inline void SetCustomerGatewayId(Aws::String&& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = std::move(value); }
51 inline void SetCustomerGatewayId(const char* value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId.assign(value); }
53 inline DeleteCustomerGatewayRequest& WithCustomerGatewayId(Aws::String&& value) { SetCustomerGatewayId(std::move(value)); return *this;}
54 inline DeleteCustomerGatewayRequest& WithCustomerGatewayId(const char* value) { SetCustomerGatewayId(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 DeleteCustomerGatewayRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
69 private:
70
71 Aws::String m_customerGatewayId;
72 bool m_customerGatewayIdHasBeenSet = false;
73
74 bool m_dryRun;
75 bool m_dryRunHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteCustomerGatewayRequest & WithCustomerGatewayId(Aws::String &&value)
DeleteCustomerGatewayRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API Aws::String SerializePayload() const override
DeleteCustomerGatewayRequest & WithCustomerGatewayId(const char *value)
DeleteCustomerGatewayRequest & WithCustomerGatewayId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String