AWS SDK for C++  1.9.160
AWS SDK for C++
GetDedicatedIpRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetDedicatedIp"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
44  inline const Aws::String& GetIp() const{ return m_ip; }
45 
51  inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
52 
58  inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
59 
65  inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
66 
72  inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
73 
79  inline GetDedicatedIpRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
80 
86  inline GetDedicatedIpRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
87 
93  inline GetDedicatedIpRequest& WithIp(const char* value) { SetIp(value); return *this;}
94 
95  private:
96 
97  Aws::String m_ip;
98  bool m_ipHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace SESV2
103 } // namespace Aws
Aws::SESV2::Model::GetDedicatedIpRequest
Definition: GetDedicatedIpRequest.h:26
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetDedicatedIpRequest::GetIp
const Aws::String & GetIp() const
Definition: GetDedicatedIpRequest.h:44
Aws::SESV2::Model::GetDedicatedIpRequest::WithIp
GetDedicatedIpRequest & WithIp(Aws::String &&value)
Definition: GetDedicatedIpRequest.h:86
Aws::SESV2::Model::GetDedicatedIpRequest::SetIp
void SetIp(const Aws::String &value)
Definition: GetDedicatedIpRequest.h:58
Aws::SESV2::Model::GetDedicatedIpRequest::WithIp
GetDedicatedIpRequest & WithIp(const char *value)
Definition: GetDedicatedIpRequest.h:93
Aws::SESV2::Model::GetDedicatedIpRequest::GetDedicatedIpRequest
GetDedicatedIpRequest()
Aws::SESV2::Model::GetDedicatedIpRequest::WithIp
GetDedicatedIpRequest & WithIp(const Aws::String &value)
Definition: GetDedicatedIpRequest.h:79
Aws::SESV2::Model::GetDedicatedIpRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDedicatedIpRequest.h:34
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::GetDedicatedIpRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::GetDedicatedIpRequest::SetIp
void SetIp(Aws::String &&value)
Definition: GetDedicatedIpRequest.h:65
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::GetDedicatedIpRequest::IpHasBeenSet
bool IpHasBeenSet() const
Definition: GetDedicatedIpRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::GetDedicatedIpRequest::SetIp
void SetIp(const char *value)
Definition: GetDedicatedIpRequest.h:72