AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteNetworkAclEntryRequest.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
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteNetworkAclEntry"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
46 inline bool GetDryRun() const{ return m_dryRun; }
47 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
48 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
49 inline DeleteNetworkAclEntryRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
51
53
56 inline const Aws::String& GetNetworkAclId() const{ return m_networkAclId; }
57 inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; }
58 inline void SetNetworkAclId(const Aws::String& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; }
59 inline void SetNetworkAclId(Aws::String&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); }
60 inline void SetNetworkAclId(const char* value) { m_networkAclIdHasBeenSet = true; m_networkAclId.assign(value); }
61 inline DeleteNetworkAclEntryRequest& WithNetworkAclId(const Aws::String& value) { SetNetworkAclId(value); return *this;}
62 inline DeleteNetworkAclEntryRequest& WithNetworkAclId(Aws::String&& value) { SetNetworkAclId(std::move(value)); return *this;}
63 inline DeleteNetworkAclEntryRequest& WithNetworkAclId(const char* value) { SetNetworkAclId(value); return *this;}
65
67
70 inline int GetRuleNumber() const{ return m_ruleNumber; }
71 inline bool RuleNumberHasBeenSet() const { return m_ruleNumberHasBeenSet; }
72 inline void SetRuleNumber(int value) { m_ruleNumberHasBeenSet = true; m_ruleNumber = value; }
73 inline DeleteNetworkAclEntryRequest& WithRuleNumber(int value) { SetRuleNumber(value); return *this;}
75
77
80 inline bool GetEgress() const{ return m_egress; }
81 inline bool EgressHasBeenSet() const { return m_egressHasBeenSet; }
82 inline void SetEgress(bool value) { m_egressHasBeenSet = true; m_egress = value; }
83 inline DeleteNetworkAclEntryRequest& WithEgress(bool value) { SetEgress(value); return *this;}
85 private:
86
87 bool m_dryRun;
88 bool m_dryRunHasBeenSet = false;
89
90 Aws::String m_networkAclId;
91 bool m_networkAclIdHasBeenSet = false;
92
93 int m_ruleNumber;
94 bool m_ruleNumberHasBeenSet = false;
95
96 bool m_egress;
97 bool m_egressHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace EC2
102} // namespace Aws
AWS_EC2_API DeleteNetworkAclEntryRequest()
void SetDryRun(bool value)
bool RuleNumberHasBeenSet() const
void SetRuleNumber(int value)
void SetNetworkAclId(const char *value)
bool EgressHasBeenSet() const
DeleteNetworkAclEntryRequest & WithNetworkAclId(Aws::String &&value)
bool GetEgress() const
bool NetworkAclIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DeleteNetworkAclEntryRequest & WithNetworkAclId(const Aws::String &value)
DeleteNetworkAclEntryRequest & WithEgress(bool value)
void SetNetworkAclId(const Aws::String &value)
bool DryRunHasBeenSet() const
bool GetDryRun() const
virtual const char * GetServiceRequestName() const override
void SetNetworkAclId(Aws::String &&value)
const Aws::String & GetNetworkAclId() const
DeleteNetworkAclEntryRequest & WithDryRun(bool value)
void SetEgress(bool value)
DeleteNetworkAclEntryRequest & WithRuleNumber(int value)
DeleteNetworkAclEntryRequest & WithNetworkAclId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
int GetRuleNumber() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String