AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisassociateResolverEndpointIpAddressRequest.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/IpAddressUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Resolver
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RESOLVER_API DisassociateResolverEndpointIpAddressRequest() = 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 "DisassociateResolverEndpointIpAddress"; }
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& GetResolverEndpointId() const { return m_resolverEndpointId; }
44 inline bool ResolverEndpointIdHasBeenSet() const { return m_resolverEndpointIdHasBeenSet; }
45 template<typename ResolverEndpointIdT = Aws::String>
46 void SetResolverEndpointId(ResolverEndpointIdT&& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = std::forward<ResolverEndpointIdT>(value); }
47 template<typename ResolverEndpointIdT = Aws::String>
48 DisassociateResolverEndpointIpAddressRequest& WithResolverEndpointId(ResolverEndpointIdT&& value) { SetResolverEndpointId(std::forward<ResolverEndpointIdT>(value)); return *this;}
50
52
55 inline const IpAddressUpdate& GetIpAddress() const { return m_ipAddress; }
56 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
57 template<typename IpAddressT = IpAddressUpdate>
58 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
59 template<typename IpAddressT = IpAddressUpdate>
60 DisassociateResolverEndpointIpAddressRequest& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
62 private:
63
64 Aws::String m_resolverEndpointId;
65 bool m_resolverEndpointIdHasBeenSet = false;
66
67 IpAddressUpdate m_ipAddress;
68 bool m_ipAddressHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Route53Resolver
73} // namespace Aws
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
DisassociateResolverEndpointIpAddressRequest & WithResolverEndpointId(ResolverEndpointIdT &&value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String