AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UpdateFirewallDomainsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53globalresolver/Route53GlobalResolverRequest.h>
10#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Route53GlobalResolver {
16namespace Model {
17
21 public:
22 AWS_ROUTE53GLOBALRESOLVER_API UpdateFirewallDomainsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateFirewallDomains"; }
29
30 AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::Vector<Aws::String>& GetDomains() const { return m_domains; }
37 inline bool DomainsHasBeenSet() const { return m_domainsHasBeenSet; }
38 template <typename DomainsT = Aws::Vector<Aws::String>>
39 void SetDomains(DomainsT&& value) {
40 m_domainsHasBeenSet = true;
41 m_domains = std::forward<DomainsT>(value);
42 }
43 template <typename DomainsT = Aws::Vector<Aws::String>>
45 SetDomains(std::forward<DomainsT>(value));
46 return *this;
47 }
48 template <typename DomainsT = Aws::String>
50 m_domainsHasBeenSet = true;
51 m_domains.emplace_back(std::forward<DomainsT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetFirewallDomainListId() const { return m_firewallDomainListId; }
62 inline bool FirewallDomainListIdHasBeenSet() const { return m_firewallDomainListIdHasBeenSet; }
63 template <typename FirewallDomainListIdT = Aws::String>
64 void SetFirewallDomainListId(FirewallDomainListIdT&& value) {
65 m_firewallDomainListIdHasBeenSet = true;
66 m_firewallDomainListId = std::forward<FirewallDomainListIdT>(value);
67 }
68 template <typename FirewallDomainListIdT = Aws::String>
70 SetFirewallDomainListId(std::forward<FirewallDomainListIdT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetOperation() const { return m_operation; }
81 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
82 template <typename OperationT = Aws::String>
83 void SetOperation(OperationT&& value) {
84 m_operationHasBeenSet = true;
85 m_operation = std::forward<OperationT>(value);
86 }
87 template <typename OperationT = Aws::String>
89 SetOperation(std::forward<OperationT>(value));
90 return *this;
91 }
93 private:
95
96 Aws::String m_firewallDomainListId;
97
98 Aws::String m_operation;
99 bool m_domainsHasBeenSet = false;
100 bool m_firewallDomainListIdHasBeenSet = false;
101 bool m_operationHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Route53GlobalResolver
106} // namespace Aws
AWS_ROUTE53GLOBALRESOLVER_API UpdateFirewallDomainsRequest()=default
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
UpdateFirewallDomainsRequest & WithOperation(OperationT &&value)
UpdateFirewallDomainsRequest & WithFirewallDomainListId(FirewallDomainListIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector