AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFirewallDomainsRequest.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/FirewallDomainUpdateOperation.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Route53Resolver
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ROUTE53RESOLVER_API UpdateFirewallDomainsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFirewallDomains"; }
33
34 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
35
36 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
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 UpdateFirewallDomainsRequest& WithFirewallDomainListId(const char* value) { SetFirewallDomainListId(value); return *this;}
52
54
62 inline const FirewallDomainUpdateOperation& GetOperation() const{ return m_operation; }
63 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
64 inline void SetOperation(const FirewallDomainUpdateOperation& value) { m_operationHasBeenSet = true; m_operation = value; }
65 inline void SetOperation(FirewallDomainUpdateOperation&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
67 inline UpdateFirewallDomainsRequest& WithOperation(FirewallDomainUpdateOperation&& value) { SetOperation(std::move(value)); return *this;}
69
71
81 inline const Aws::Vector<Aws::String>& GetDomains() const{ return m_domains; }
82 inline bool DomainsHasBeenSet() const { return m_domainsHasBeenSet; }
83 inline void SetDomains(const Aws::Vector<Aws::String>& value) { m_domainsHasBeenSet = true; m_domains = value; }
84 inline void SetDomains(Aws::Vector<Aws::String>&& value) { m_domainsHasBeenSet = true; m_domains = std::move(value); }
85 inline UpdateFirewallDomainsRequest& WithDomains(const Aws::Vector<Aws::String>& value) { SetDomains(value); return *this;}
86 inline UpdateFirewallDomainsRequest& WithDomains(Aws::Vector<Aws::String>&& value) { SetDomains(std::move(value)); return *this;}
87 inline UpdateFirewallDomainsRequest& AddDomains(const Aws::String& value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
88 inline UpdateFirewallDomainsRequest& AddDomains(Aws::String&& value) { m_domainsHasBeenSet = true; m_domains.push_back(std::move(value)); return *this; }
89 inline UpdateFirewallDomainsRequest& AddDomains(const char* value) { m_domainsHasBeenSet = true; m_domains.push_back(value); return *this; }
91 private:
92
93 Aws::String m_firewallDomainListId;
94 bool m_firewallDomainListIdHasBeenSet = false;
95
97 bool m_operationHasBeenSet = false;
98
100 bool m_domainsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Route53Resolver
105} // namespace Aws
UpdateFirewallDomainsRequest & WithFirewallDomainListId(const char *value)
UpdateFirewallDomainsRequest & WithOperation(const FirewallDomainUpdateOperation &value)
UpdateFirewallDomainsRequest & WithOperation(FirewallDomainUpdateOperation &&value)
UpdateFirewallDomainsRequest & WithDomains(Aws::Vector< Aws::String > &&value)
UpdateFirewallDomainsRequest & AddDomains(const Aws::String &value)
UpdateFirewallDomainsRequest & WithFirewallDomainListId(Aws::String &&value)
UpdateFirewallDomainsRequest & AddDomains(Aws::String &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFirewallDomainsRequest & WithFirewallDomainListId(const Aws::String &value)
UpdateFirewallDomainsRequest & WithDomains(const Aws::Vector< Aws::String > &value)
UpdateFirewallDomainsRequest & AddDomains(const char *value)
void SetOperation(const FirewallDomainUpdateOperation &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector