AWS SDK for C++  1.9.161
AWS SDK for C++
PutDedicatedIpInPoolRequest.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 "PutDedicatedIpInPool"; }
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 PutDedicatedIpInPoolRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
80 
86  inline PutDedicatedIpInPoolRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
87 
93  inline PutDedicatedIpInPoolRequest& WithIp(const char* value) { SetIp(value); return *this;}
94 
95 
100  inline const Aws::String& GetDestinationPoolName() const{ return m_destinationPoolName; }
101 
106  inline bool DestinationPoolNameHasBeenSet() const { return m_destinationPoolNameHasBeenSet; }
107 
112  inline void SetDestinationPoolName(const Aws::String& value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName = value; }
113 
118  inline void SetDestinationPoolName(Aws::String&& value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName = std::move(value); }
119 
124  inline void SetDestinationPoolName(const char* value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName.assign(value); }
125 
130  inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(const Aws::String& value) { SetDestinationPoolName(value); return *this;}
131 
136  inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(Aws::String&& value) { SetDestinationPoolName(std::move(value)); return *this;}
137 
142  inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(const char* value) { SetDestinationPoolName(value); return *this;}
143 
144  private:
145 
146  Aws::String m_ip;
147  bool m_ipHasBeenSet;
148 
149  Aws::String m_destinationPoolName;
150  bool m_destinationPoolNameHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace SESV2
155 } // namespace Aws
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::GetDestinationPoolName
const Aws::String & GetDestinationPoolName() const
Definition: PutDedicatedIpInPoolRequest.h:100
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SetIp
void SetIp(const Aws::String &value)
Definition: PutDedicatedIpInPoolRequest.h:58
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SetDestinationPoolName
void SetDestinationPoolName(const Aws::String &value)
Definition: PutDedicatedIpInPoolRequest.h:112
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::GetIp
const Aws::String & GetIp() const
Definition: PutDedicatedIpInPoolRequest.h:44
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SetIp
void SetIp(Aws::String &&value)
Definition: PutDedicatedIpInPoolRequest.h:65
Aws::SESV2::Model::PutDedicatedIpInPoolRequest
Definition: PutDedicatedIpInPoolRequest.h:26
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::WithDestinationPoolName
PutDedicatedIpInPoolRequest & WithDestinationPoolName(Aws::String &&value)
Definition: PutDedicatedIpInPoolRequest.h:136
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::PutDedicatedIpInPoolRequest
PutDedicatedIpInPoolRequest()
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::DestinationPoolNameHasBeenSet
bool DestinationPoolNameHasBeenSet() const
Definition: PutDedicatedIpInPoolRequest.h:106
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::IpHasBeenSet
bool IpHasBeenSet() const
Definition: PutDedicatedIpInPoolRequest.h:51
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::WithIp
PutDedicatedIpInPoolRequest & WithIp(const char *value)
Definition: PutDedicatedIpInPoolRequest.h:93
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::WithDestinationPoolName
PutDedicatedIpInPoolRequest & WithDestinationPoolName(const char *value)
Definition: PutDedicatedIpInPoolRequest.h:142
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SetDestinationPoolName
void SetDestinationPoolName(Aws::String &&value)
Definition: PutDedicatedIpInPoolRequest.h:118
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::WithIp
PutDedicatedIpInPoolRequest & WithIp(const Aws::String &value)
Definition: PutDedicatedIpInPoolRequest.h:79
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SetDestinationPoolName
void SetDestinationPoolName(const char *value)
Definition: PutDedicatedIpInPoolRequest.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::WithDestinationPoolName
PutDedicatedIpInPoolRequest & WithDestinationPoolName(const Aws::String &value)
Definition: PutDedicatedIpInPoolRequest.h:130
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::WithIp
PutDedicatedIpInPoolRequest & WithIp(Aws::String &&value)
Definition: PutDedicatedIpInPoolRequest.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutDedicatedIpInPoolRequest.h:34
Aws::SESV2::Model::PutDedicatedIpInPoolRequest::SetIp
void SetIp(const char *value)
Definition: PutDedicatedIpInPoolRequest.h:72