AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_ROUTE53RESOLVER_API UpdateFirewallRuleGroupAssociationRequest() = default;
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 template<typename FirewallRuleGroupAssociationIdT = Aws::String>
45 void SetFirewallRuleGroupAssociationId(FirewallRuleGroupAssociationIdT&& value) { m_firewallRuleGroupAssociationIdHasBeenSet = true; m_firewallRuleGroupAssociationId = std::forward<FirewallRuleGroupAssociationIdT>(value); }
46 template<typename FirewallRuleGroupAssociationIdT = Aws::String>
47 UpdateFirewallRuleGroupAssociationRequest& WithFirewallRuleGroupAssociationId(FirewallRuleGroupAssociationIdT&& value) { SetFirewallRuleGroupAssociationId(std::forward<FirewallRuleGroupAssociationIdT>(value)); return *this;}
49
51
61 inline int GetPriority() const { return m_priority; }
62 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
63 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
64 inline UpdateFirewallRuleGroupAssociationRequest& WithPriority(int value) { SetPriority(value); return *this;}
66
68
73 inline MutationProtectionStatus GetMutationProtection() const { return m_mutationProtection; }
74 inline bool MutationProtectionHasBeenSet() const { return m_mutationProtectionHasBeenSet; }
75 inline void SetMutationProtection(MutationProtectionStatus value) { m_mutationProtectionHasBeenSet = true; m_mutationProtection = value; }
78
80
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 UpdateFirewallRuleGroupAssociationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90 private:
91
92 Aws::String m_firewallRuleGroupAssociationId;
93 bool m_firewallRuleGroupAssociationIdHasBeenSet = false;
94
95 int m_priority{0};
96 bool m_priorityHasBeenSet = false;
97
99 bool m_mutationProtectionHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Route53Resolver
107} // namespace Aws
UpdateFirewallRuleGroupAssociationRequest & WithFirewallRuleGroupAssociationId(FirewallRuleGroupAssociationIdT &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFirewallRuleGroupAssociationRequest & WithMutationProtection(MutationProtectionStatus value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String