AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocalIpDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API LocalIpDetails();
36 AWS_GUARDDUTY_API LocalIpDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIpAddressV4() const{ return m_ipAddressV4; }
46 inline bool IpAddressV4HasBeenSet() const { return m_ipAddressV4HasBeenSet; }
47 inline void SetIpAddressV4(const Aws::String& value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4 = value; }
48 inline void SetIpAddressV4(Aws::String&& value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4 = std::move(value); }
49 inline void SetIpAddressV4(const char* value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4.assign(value); }
50 inline LocalIpDetails& WithIpAddressV4(const Aws::String& value) { SetIpAddressV4(value); return *this;}
51 inline LocalIpDetails& WithIpAddressV4(Aws::String&& value) { SetIpAddressV4(std::move(value)); return *this;}
52 inline LocalIpDetails& WithIpAddressV4(const char* value) { SetIpAddressV4(value); return *this;}
54
56
59 inline const Aws::String& GetIpAddressV6() const{ return m_ipAddressV6; }
60 inline bool IpAddressV6HasBeenSet() const { return m_ipAddressV6HasBeenSet; }
61 inline void SetIpAddressV6(const Aws::String& value) { m_ipAddressV6HasBeenSet = true; m_ipAddressV6 = value; }
62 inline void SetIpAddressV6(Aws::String&& value) { m_ipAddressV6HasBeenSet = true; m_ipAddressV6 = std::move(value); }
63 inline void SetIpAddressV6(const char* value) { m_ipAddressV6HasBeenSet = true; m_ipAddressV6.assign(value); }
64 inline LocalIpDetails& WithIpAddressV6(const Aws::String& value) { SetIpAddressV6(value); return *this;}
65 inline LocalIpDetails& WithIpAddressV6(Aws::String&& value) { SetIpAddressV6(std::move(value)); return *this;}
66 inline LocalIpDetails& WithIpAddressV6(const char* value) { SetIpAddressV6(value); return *this;}
68 private:
69
70 Aws::String m_ipAddressV4;
71 bool m_ipAddressV4HasBeenSet = false;
72
73 Aws::String m_ipAddressV6;
74 bool m_ipAddressV6HasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
void SetIpAddressV4(Aws::String &&value)
const Aws::String & GetIpAddressV4() const
LocalIpDetails & WithIpAddressV4(Aws::String &&value)
void SetIpAddressV4(const char *value)
LocalIpDetails & WithIpAddressV6(Aws::String &&value)
void SetIpAddressV6(const char *value)
const Aws::String & GetIpAddressV6() const
LocalIpDetails & WithIpAddressV6(const Aws::String &value)
void SetIpAddressV6(const Aws::String &value)
void SetIpAddressV6(Aws::String &&value)
AWS_GUARDDUTY_API LocalIpDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API LocalIpDetails(Aws::Utils::Json::JsonView jsonValue)
LocalIpDetails & WithIpAddressV4(const char *value)
LocalIpDetails & WithIpAddressV4(const Aws::String &value)
void SetIpAddressV4(const Aws::String &value)
LocalIpDetails & WithIpAddressV6(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue