104 lines
3.7 KiB
C++
104 lines
3.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
|
|
#include <aws/pinpoint-email/PinpointEmailRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace PinpointEmail
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>A request to obtain more information about a dedicated IP
|
|
* address.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIpRequest">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_PINPOINTEMAIL_API GetDedicatedIpRequest : public PinpointEmailRequest
|
|
{
|
|
public:
|
|
GetDedicatedIpRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "GetDedicatedIp"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline const Aws::String& GetIp() const{ return m_ip; }
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline GetDedicatedIpRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline GetDedicatedIpRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The IP address that you want to obtain more information about. The value you
|
|
* specify has to be a dedicated IP address that's assocaited with your Amazon
|
|
* Pinpoint account.</p>
|
|
*/
|
|
inline GetDedicatedIpRequest& WithIp(const char* value) { SetIp(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_ip;
|
|
bool m_ipHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace PinpointEmail
|
|
} // namespace Aws
|