AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrivateIpAddressDetails.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 PrivateIpAddressDetails();
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
46 inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
47 inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
48 inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
49 inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
50 inline PrivateIpAddressDetails& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;}
51 inline PrivateIpAddressDetails& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;}
52 inline PrivateIpAddressDetails& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
54
56
59 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
60 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
61 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
62 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
63 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
64 inline PrivateIpAddressDetails& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
65 inline PrivateIpAddressDetails& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
66 inline PrivateIpAddressDetails& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
68 private:
69
70 Aws::String m_privateDnsName;
71 bool m_privateDnsNameHasBeenSet = false;
72
73 Aws::String m_privateIpAddress;
74 bool m_privateIpAddressHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
PrivateIpAddressDetails & WithPrivateDnsName(const Aws::String &value)
PrivateIpAddressDetails & WithPrivateDnsName(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API PrivateIpAddressDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivateIpAddressDetails & WithPrivateIpAddress(const char *value)
PrivateIpAddressDetails & WithPrivateIpAddress(Aws::String &&value)
PrivateIpAddressDetails & WithPrivateIpAddress(const Aws::String &value)
PrivateIpAddressDetails & WithPrivateDnsName(Aws::String &&value)
AWS_GUARDDUTY_API PrivateIpAddressDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue