AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssociateResolverEndpointIpAddressRequest.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 AssociateResolverEndpointIpAddressRequest() = 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 "AssociateResolverEndpointIpAddress"; }
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 AssociateResolverEndpointIpAddressRequest& WithResolverEndpointId(ResolverEndpointIdT&& value) { SetResolverEndpointId(std::forward<ResolverEndpointIdT>(value)); return *this;}
50
52
57 inline const IpAddressUpdate& GetIpAddress() const { return m_ipAddress; }
58 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
59 template<typename IpAddressT = IpAddressUpdate>
60 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
61 template<typename IpAddressT = IpAddressUpdate>
62 AssociateResolverEndpointIpAddressRequest& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
64 private:
65
66 Aws::String m_resolverEndpointId;
67 bool m_resolverEndpointIdHasBeenSet = false;
68
69 IpAddressUpdate m_ipAddress;
70 bool m_ipAddressHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Route53Resolver
75} // namespace Aws
AssociateResolverEndpointIpAddressRequest & WithIpAddress(IpAddressT &&value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AssociateResolverEndpointIpAddressRequest & WithResolverEndpointId(ResolverEndpointIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String