AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateFirewallConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Route53Resolver
16 {
17 namespace 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 "UpdateFirewallConfig"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
42 
46  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
47 
51  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
52 
56  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
57 
61  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
62 
66  inline UpdateFirewallConfigRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
67 
71  inline UpdateFirewallConfigRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
72 
76  inline UpdateFirewallConfigRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
77 
78 
90  inline const FirewallFailOpenStatus& GetFirewallFailOpen() const{ return m_firewallFailOpen; }
91 
103  inline bool FirewallFailOpenHasBeenSet() const { return m_firewallFailOpenHasBeenSet; }
104 
116  inline void SetFirewallFailOpen(const FirewallFailOpenStatus& value) { m_firewallFailOpenHasBeenSet = true; m_firewallFailOpen = value; }
117 
129  inline void SetFirewallFailOpen(FirewallFailOpenStatus&& value) { m_firewallFailOpenHasBeenSet = true; m_firewallFailOpen = std::move(value); }
130 
142  inline UpdateFirewallConfigRequest& WithFirewallFailOpen(const FirewallFailOpenStatus& value) { SetFirewallFailOpen(value); return *this;}
143 
155  inline UpdateFirewallConfigRequest& WithFirewallFailOpen(FirewallFailOpenStatus&& value) { SetFirewallFailOpen(std::move(value)); return *this;}
156 
157  private:
158 
159  Aws::String m_resourceId;
160  bool m_resourceIdHasBeenSet;
161 
162  FirewallFailOpenStatus m_firewallFailOpen;
163  bool m_firewallFailOpenHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace Route53Resolver
168 } // namespace Aws
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::FirewallFailOpenHasBeenSet
bool FirewallFailOpenHasBeenSet() const
Definition: UpdateFirewallConfigRequest.h:103
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::WithFirewallFailOpen
UpdateFirewallConfigRequest & WithFirewallFailOpen(FirewallFailOpenStatus &&value)
Definition: UpdateFirewallConfigRequest.h:155
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::WithFirewallFailOpen
UpdateFirewallConfigRequest & WithFirewallFailOpen(const FirewallFailOpenStatus &value)
Definition: UpdateFirewallConfigRequest.h:142
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFirewallConfigRequest.h:31
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::SetFirewallFailOpen
void SetFirewallFailOpen(FirewallFailOpenStatus &&value)
Definition: UpdateFirewallConfigRequest.h:129
Aws::Route53Resolver::Route53ResolverRequest
Definition: Route53ResolverRequest.h:17
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: UpdateFirewallConfigRequest.h:51
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::SetFirewallFailOpen
void SetFirewallFailOpen(const FirewallFailOpenStatus &value)
Definition: UpdateFirewallConfigRequest.h:116
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::WithResourceId
UpdateFirewallConfigRequest & WithResourceId(const Aws::String &value)
Definition: UpdateFirewallConfigRequest.h:66
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::SetResourceId
void SetResourceId(const char *value)
Definition: UpdateFirewallConfigRequest.h:61
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: UpdateFirewallConfigRequest.h:41
Route53ResolverRequest.h
AWSString.h
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::WithResourceId
UpdateFirewallConfigRequest & WithResourceId(const char *value)
Definition: UpdateFirewallConfigRequest.h:76
FirewallFailOpenStatus.h
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::WithResourceId
UpdateFirewallConfigRequest & WithResourceId(Aws::String &&value)
Definition: UpdateFirewallConfigRequest.h:71
Aws::Route53Resolver::Model::FirewallFailOpenStatus
FirewallFailOpenStatus
Definition: FirewallFailOpenStatus.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::GetFirewallFailOpen
const FirewallFailOpenStatus & GetFirewallFailOpen() const
Definition: UpdateFirewallConfigRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: UpdateFirewallConfigRequest.h:56
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: UpdateFirewallConfigRequest.h:46
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest::UpdateFirewallConfigRequest
UpdateFirewallConfigRequest()
Aws::Route53Resolver::Model::UpdateFirewallConfigRequest
Definition: UpdateFirewallConfigRequest.h:23