AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ImportFirewallDomainsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53globalresolver/Route53GlobalResolverRequest.h>
9#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53GlobalResolver {
15namespace Model {
16
20 public:
21 AWS_ROUTE53GLOBALRESOLVER_API ImportFirewallDomainsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ImportFirewallDomains"; }
28
29 AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetDomainFileUrl() const { return m_domainFileUrl; }
37 inline bool DomainFileUrlHasBeenSet() const { return m_domainFileUrlHasBeenSet; }
38 template <typename DomainFileUrlT = Aws::String>
39 void SetDomainFileUrl(DomainFileUrlT&& value) {
40 m_domainFileUrlHasBeenSet = true;
41 m_domainFileUrl = std::forward<DomainFileUrlT>(value);
42 }
43 template <typename DomainFileUrlT = Aws::String>
45 SetDomainFileUrl(std::forward<DomainFileUrlT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetFirewallDomainListId() const { return m_firewallDomainListId; }
56 inline bool FirewallDomainListIdHasBeenSet() const { return m_firewallDomainListIdHasBeenSet; }
57 template <typename FirewallDomainListIdT = Aws::String>
58 void SetFirewallDomainListId(FirewallDomainListIdT&& value) {
59 m_firewallDomainListIdHasBeenSet = true;
60 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
61 }
62 template <typename FirewallDomainListIdT = Aws::String>
64 SetFirewallDomainListId(std::forward<FirewallDomainListIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetOperation() const { return m_operation; }
75 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
76 template <typename OperationT = Aws::String>
77 void SetOperation(OperationT&& value) {
78 m_operationHasBeenSet = true;
79 m_operation = std::forward<OperationT>(value);
80 }
81 template <typename OperationT = Aws::String>
83 SetOperation(std::forward<OperationT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_domainFileUrl;
89
90 Aws::String m_firewallDomainListId;
91
92 Aws::String m_operation;
93 bool m_domainFileUrlHasBeenSet = false;
94 bool m_firewallDomainListIdHasBeenSet = false;
95 bool m_operationHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Route53GlobalResolver
100} // namespace Aws
ImportFirewallDomainsRequest & WithDomainFileUrl(DomainFileUrlT &&value)
ImportFirewallDomainsRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
AWS_ROUTE53GLOBALRESOLVER_API ImportFirewallDomainsRequest()=default
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
ImportFirewallDomainsRequest & WithOperation(OperationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String