AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIpAddress.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53Resolver
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ROUTE53RESOLVER_API UpdateIpAddress();
37 AWS_ROUTE53RESOLVER_API UpdateIpAddress(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RESOLVER_API UpdateIpAddress& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetIpId() const{ return m_ipId; }
48 inline bool IpIdHasBeenSet() const { return m_ipIdHasBeenSet; }
49 inline void SetIpId(const Aws::String& value) { m_ipIdHasBeenSet = true; m_ipId = value; }
50 inline void SetIpId(Aws::String&& value) { m_ipIdHasBeenSet = true; m_ipId = std::move(value); }
51 inline void SetIpId(const char* value) { m_ipIdHasBeenSet = true; m_ipId.assign(value); }
52 inline UpdateIpAddress& WithIpId(const Aws::String& value) { SetIpId(value); return *this;}
53 inline UpdateIpAddress& WithIpId(Aws::String&& value) { SetIpId(std::move(value)); return *this;}
54 inline UpdateIpAddress& WithIpId(const char* value) { SetIpId(value); return *this;}
56
58
61 inline const Aws::String& GetIpv6() const{ return m_ipv6; }
62 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
63 inline void SetIpv6(const Aws::String& value) { m_ipv6HasBeenSet = true; m_ipv6 = value; }
64 inline void SetIpv6(Aws::String&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::move(value); }
65 inline void SetIpv6(const char* value) { m_ipv6HasBeenSet = true; m_ipv6.assign(value); }
66 inline UpdateIpAddress& WithIpv6(const Aws::String& value) { SetIpv6(value); return *this;}
67 inline UpdateIpAddress& WithIpv6(Aws::String&& value) { SetIpv6(std::move(value)); return *this;}
68 inline UpdateIpAddress& WithIpv6(const char* value) { SetIpv6(value); return *this;}
70 private:
71
72 Aws::String m_ipId;
73 bool m_ipIdHasBeenSet = false;
74
75 Aws::String m_ipv6;
76 bool m_ipv6HasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Route53Resolver
81} // namespace Aws
UpdateIpAddress & WithIpId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API UpdateIpAddress(Aws::Utils::Json::JsonView jsonValue)
UpdateIpAddress & WithIpv6(const char *value)
void SetIpv6(const Aws::String &value)
UpdateIpAddress & WithIpId(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpId(const Aws::String &value)
UpdateIpAddress & WithIpv6(Aws::String &&value)
AWS_ROUTE53RESOLVER_API UpdateIpAddress()
UpdateIpAddress & WithIpv6(const Aws::String &value)
AWS_ROUTE53RESOLVER_API UpdateIpAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateIpAddress & WithIpId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue