AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFirewallRuleGroupAssociationRequest.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53resolver/model/MutationProtectionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Resolver
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateFirewallRuleGroupAssociation"; }
32
33 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
34
35 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetFirewallRuleGroupAssociationId() const{ return m_firewallRuleGroupAssociationId; }
43 inline bool FirewallRuleGroupAssociationIdHasBeenSet() const { return m_firewallRuleGroupAssociationIdHasBeenSet; }
44 inline void SetFirewallRuleGroupAssociationId(const Aws::String& value) { m_firewallRuleGroupAssociationIdHasBeenSet = true; m_firewallRuleGroupAssociationId = value; }
45 inline void SetFirewallRuleGroupAssociationId(Aws::String&& value) { m_firewallRuleGroupAssociationIdHasBeenSet = true; m_firewallRuleGroupAssociationId = std::move(value); }
46 inline void SetFirewallRuleGroupAssociationId(const char* value) { m_firewallRuleGroupAssociationIdHasBeenSet = true; m_firewallRuleGroupAssociationId.assign(value); }
51
53
63 inline int GetPriority() const{ return m_priority; }
64 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
65 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
66 inline UpdateFirewallRuleGroupAssociationRequest& WithPriority(int value) { SetPriority(value); return *this;}
68
70
75 inline const MutationProtectionStatus& GetMutationProtection() const{ return m_mutationProtection; }
76 inline bool MutationProtectionHasBeenSet() const { return m_mutationProtectionHasBeenSet; }
77 inline void SetMutationProtection(const MutationProtectionStatus& value) { m_mutationProtectionHasBeenSet = true; m_mutationProtection = value; }
78 inline void SetMutationProtection(MutationProtectionStatus&& value) { m_mutationProtectionHasBeenSet = true; m_mutationProtection = std::move(value); }
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline UpdateFirewallRuleGroupAssociationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline UpdateFirewallRuleGroupAssociationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline UpdateFirewallRuleGroupAssociationRequest& WithName(const char* value) { SetName(value); return *this;}
96 private:
97
98 Aws::String m_firewallRuleGroupAssociationId;
99 bool m_firewallRuleGroupAssociationIdHasBeenSet = false;
100
101 int m_priority;
102 bool m_priorityHasBeenSet = false;
103
104 MutationProtectionStatus m_mutationProtection;
105 bool m_mutationProtectionHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Route53Resolver
113} // namespace Aws
UpdateFirewallRuleGroupAssociationRequest & WithMutationProtection(MutationProtectionStatus &&value)
UpdateFirewallRuleGroupAssociationRequest & WithName(const Aws::String &value)
UpdateFirewallRuleGroupAssociationRequest & WithFirewallRuleGroupAssociationId(Aws::String &&value)
UpdateFirewallRuleGroupAssociationRequest & WithName(Aws::String &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
UpdateFirewallRuleGroupAssociationRequest & WithFirewallRuleGroupAssociationId(const char *value)
UpdateFirewallRuleGroupAssociationRequest & WithMutationProtection(const MutationProtectionStatus &value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFirewallRuleGroupAssociationRequest & WithFirewallRuleGroupAssociationId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String