AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteNetworkInterfacePermissionRequest.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 "DeleteNetworkInterfacePermission"; }
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& GetNetworkInterfacePermissionId() const{ return m_networkInterfacePermissionId; }
48 inline bool NetworkInterfacePermissionIdHasBeenSet() const { return m_networkInterfacePermissionIdHasBeenSet; }
49 inline void SetNetworkInterfacePermissionId(const Aws::String& value) { m_networkInterfacePermissionIdHasBeenSet = true; m_networkInterfacePermissionId = value; }
50 inline void SetNetworkInterfacePermissionId(Aws::String&& value) { m_networkInterfacePermissionIdHasBeenSet = true; m_networkInterfacePermissionId = std::move(value); }
51 inline void SetNetworkInterfacePermissionId(const char* value) { m_networkInterfacePermissionIdHasBeenSet = true; m_networkInterfacePermissionId.assign(value); }
56
58
62 inline bool GetForce() const{ return m_force; }
63 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
64 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
65 inline DeleteNetworkInterfacePermissionRequest& WithForce(bool value) { SetForce(value); return *this;}
67
69
75 inline bool GetDryRun() const{ return m_dryRun; }
76 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
77 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
78 inline DeleteNetworkInterfacePermissionRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
80 private:
81
82 Aws::String m_networkInterfacePermissionId;
83 bool m_networkInterfacePermissionIdHasBeenSet = false;
84
85 bool m_force;
86 bool m_forceHasBeenSet = false;
87
88 bool m_dryRun;
89 bool m_dryRunHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EC2
94} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteNetworkInterfacePermissionRequest & WithNetworkInterfacePermissionId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
DeleteNetworkInterfacePermissionRequest & WithNetworkInterfacePermissionId(const Aws::String &value)
DeleteNetworkInterfacePermissionRequest & WithForce(bool value)
DeleteNetworkInterfacePermissionRequest & WithNetworkInterfacePermissionId(Aws::String &&value)
DeleteNetworkInterfacePermissionRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String