This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-guardduty/include/aws/guardduty/model/PrivateIpAddressDetails.h

134 lines
4.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/guardduty/GuardDuty_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace GuardDuty
{
namespace Model
{
/**
* <p>Contains other private IP address information of the EC2
* instance.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails">AWS
* API Reference</a></p>
*/
class AWS_GUARDDUTY_API PrivateIpAddressDetails
{
public:
PrivateIpAddressDetails();
PrivateIpAddressDetails(Aws::Utils::Json::JsonView jsonValue);
PrivateIpAddressDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline PrivateIpAddressDetails& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;}
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline PrivateIpAddressDetails& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;}
/**
* <p>The private DNS name of the EC2 instance.</p>
*/
inline PrivateIpAddressDetails& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline PrivateIpAddressDetails& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline PrivateIpAddressDetails& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
/**
* <p>The private IP address of the EC2 instance.</p>
*/
inline PrivateIpAddressDetails& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
private:
Aws::String m_privateDnsName;
bool m_privateDnsNameHasBeenSet;
Aws::String m_privateIpAddress;
bool m_privateIpAddressHasBeenSet;
};
} // namespace Model
} // namespace GuardDuty
} // namespace Aws