AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportFirewallDomainsRequest.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/FirewallDomainImportOperation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Resolver
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RESOLVER_API ImportFirewallDomainsRequest();
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 "ImportFirewallDomains"; }
32
33 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
34
35 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetFirewallDomainListId() const{ return m_firewallDomainListId; }
44 inline bool FirewallDomainListIdHasBeenSet() const { return m_firewallDomainListIdHasBeenSet; }
45 inline void SetFirewallDomainListId(const Aws::String& value) { m_firewallDomainListIdHasBeenSet = true; m_firewallDomainListId = value; }
46 inline void SetFirewallDomainListId(Aws::String&& value) { m_firewallDomainListIdHasBeenSet = true; m_firewallDomainListId = std::move(value); }
47 inline void SetFirewallDomainListId(const char* value) { m_firewallDomainListIdHasBeenSet = true; m_firewallDomainListId.assign(value); }
50 inline ImportFirewallDomainsRequest& WithFirewallDomainListId(const char* value) { SetFirewallDomainListId(value); return *this;}
52
54
59 inline const FirewallDomainImportOperation& GetOperation() const{ return m_operation; }
60 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
61 inline void SetOperation(const FirewallDomainImportOperation& value) { m_operationHasBeenSet = true; m_operation = value; }
62 inline void SetOperation(FirewallDomainImportOperation&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
64 inline ImportFirewallDomainsRequest& WithOperation(FirewallDomainImportOperation&& value) { SetOperation(std::move(value)); return *this;}
66
68
74 inline const Aws::String& GetDomainFileUrl() const{ return m_domainFileUrl; }
75 inline bool DomainFileUrlHasBeenSet() const { return m_domainFileUrlHasBeenSet; }
76 inline void SetDomainFileUrl(const Aws::String& value) { m_domainFileUrlHasBeenSet = true; m_domainFileUrl = value; }
77 inline void SetDomainFileUrl(Aws::String&& value) { m_domainFileUrlHasBeenSet = true; m_domainFileUrl = std::move(value); }
78 inline void SetDomainFileUrl(const char* value) { m_domainFileUrlHasBeenSet = true; m_domainFileUrl.assign(value); }
79 inline ImportFirewallDomainsRequest& WithDomainFileUrl(const Aws::String& value) { SetDomainFileUrl(value); return *this;}
80 inline ImportFirewallDomainsRequest& WithDomainFileUrl(Aws::String&& value) { SetDomainFileUrl(std::move(value)); return *this;}
81 inline ImportFirewallDomainsRequest& WithDomainFileUrl(const char* value) { SetDomainFileUrl(value); return *this;}
83 private:
84
85 Aws::String m_firewallDomainListId;
86 bool m_firewallDomainListIdHasBeenSet = false;
87
89 bool m_operationHasBeenSet = false;
90
91 Aws::String m_domainFileUrl;
92 bool m_domainFileUrlHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Route53Resolver
97} // namespace Aws
void SetOperation(const FirewallDomainImportOperation &value)
ImportFirewallDomainsRequest & WithOperation(FirewallDomainImportOperation &&value)
ImportFirewallDomainsRequest & WithOperation(const FirewallDomainImportOperation &value)
ImportFirewallDomainsRequest & WithFirewallDomainListId(Aws::String &&value)
ImportFirewallDomainsRequest & WithDomainFileUrl(Aws::String &&value)
ImportFirewallDomainsRequest & WithFirewallDomainListId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportFirewallDomainsRequest & WithDomainFileUrl(const char *value)
ImportFirewallDomainsRequest & WithFirewallDomainListId(const char *value)
ImportFirewallDomainsRequest & WithDomainFileUrl(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String