AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetResolverEndpointId(const Aws::String& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = value; }
46 inline void SetResolverEndpointId(Aws::String&& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = std::move(value); }
47 inline void SetResolverEndpointId(const char* value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId.assign(value); }
52
54
59 inline const IpAddressUpdate& GetIpAddress() const{ return m_ipAddress; }
60 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
61 inline void SetIpAddress(const IpAddressUpdate& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
62 inline void SetIpAddress(IpAddressUpdate&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
64 inline AssociateResolverEndpointIpAddressRequest& WithIpAddress(IpAddressUpdate&& value) { SetIpAddress(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_resolverEndpointId;
69 bool m_resolverEndpointIdHasBeenSet = false;
70
71 IpAddressUpdate m_ipAddress;
72 bool m_ipAddressHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Route53Resolver
77} // namespace Aws
AssociateResolverEndpointIpAddressRequest & WithIpAddress(IpAddressUpdate &&value)
AssociateResolverEndpointIpAddressRequest & WithResolverEndpointId(Aws::String &&value)
AssociateResolverEndpointIpAddressRequest & WithIpAddress(const IpAddressUpdate &value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateResolverEndpointIpAddressRequest & WithResolverEndpointId(const char *value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AssociateResolverEndpointIpAddressRequest & WithResolverEndpointId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String