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-lightsail/include/aws/lightsail/model/GetStaticIpResult.h

73 lines
1.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lightsail/Lightsail_EXPORTS.h>
#include <aws/lightsail/model/StaticIp.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Lightsail
{
namespace Model
{
class AWS_LIGHTSAIL_API GetStaticIpResult
{
public:
GetStaticIpResult();
GetStaticIpResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetStaticIpResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An array of key-value pairs containing information about the requested static
* IP.</p>
*/
inline const StaticIp& GetStaticIp() const{ return m_staticIp; }
/**
* <p>An array of key-value pairs containing information about the requested static
* IP.</p>
*/
inline void SetStaticIp(const StaticIp& value) { m_staticIp = value; }
/**
* <p>An array of key-value pairs containing information about the requested static
* IP.</p>
*/
inline void SetStaticIp(StaticIp&& value) { m_staticIp = std::move(value); }
/**
* <p>An array of key-value pairs containing information about the requested static
* IP.</p>
*/
inline GetStaticIpResult& WithStaticIp(const StaticIp& value) { SetStaticIp(value); return *this;}
/**
* <p>An array of key-value pairs containing information about the requested static
* IP.</p>
*/
inline GetStaticIpResult& WithStaticIp(StaticIp&& value) { SetStaticIp(std::move(value)); return *this;}
private:
StaticIp m_staticIp;
};
} // namespace Model
} // namespace Lightsail
} // namespace Aws