AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename FirewallDomainListIdT = Aws::String>
46 void SetFirewallDomainListId(FirewallDomainListIdT&& value) { m_firewallDomainListIdHasBeenSet = true; m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value); }
47 template<typename FirewallDomainListIdT = Aws::String>
48 ImportFirewallDomainsRequest& WithFirewallDomainListId(FirewallDomainListIdT&& value) { SetFirewallDomainListId(std::forward<FirewallDomainListIdT>(value)); return *this;}
50
52
57 inline FirewallDomainImportOperation GetOperation() const { return m_operation; }
58 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
59 inline void SetOperation(FirewallDomainImportOperation value) { m_operationHasBeenSet = true; m_operation = value; }
62
64
70 inline const Aws::String& GetDomainFileUrl() const { return m_domainFileUrl; }
71 inline bool DomainFileUrlHasBeenSet() const { return m_domainFileUrlHasBeenSet; }
72 template<typename DomainFileUrlT = Aws::String>
73 void SetDomainFileUrl(DomainFileUrlT&& value) { m_domainFileUrlHasBeenSet = true; m_domainFileUrl = std::forward<DomainFileUrlT>(value); }
74 template<typename DomainFileUrlT = Aws::String>
75 ImportFirewallDomainsRequest& WithDomainFileUrl(DomainFileUrlT&& value) { SetDomainFileUrl(std::forward<DomainFileUrlT>(value)); return *this;}
77 private:
78
79 Aws::String m_firewallDomainListId;
80 bool m_firewallDomainListIdHasBeenSet = false;
81
83 bool m_operationHasBeenSet = false;
84
85 Aws::String m_domainFileUrl;
86 bool m_domainFileUrlHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Route53Resolver
91} // namespace Aws
AWS_ROUTE53RESOLVER_API ImportFirewallDomainsRequest()=default
ImportFirewallDomainsRequest & WithDomainFileUrl(DomainFileUrlT &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportFirewallDomainsRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
ImportFirewallDomainsRequest & WithOperation(FirewallDomainImportOperation value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String