AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDedicatedIpInPoolRequest.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace PinpointEmail
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_PINPOINTEMAIL_API PutDedicatedIpInPoolRequest();
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_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
37
38
40
45 inline const Aws::String& GetIp() const{ return m_ip; }
46 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
47 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
48 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
49 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
50 inline PutDedicatedIpInPoolRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
51 inline PutDedicatedIpInPoolRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
52 inline PutDedicatedIpInPoolRequest& WithIp(const char* value) { SetIp(value); return *this;}
54
56
60 inline const Aws::String& GetDestinationPoolName() const{ return m_destinationPoolName; }
61 inline bool DestinationPoolNameHasBeenSet() const { return m_destinationPoolNameHasBeenSet; }
62 inline void SetDestinationPoolName(const Aws::String& value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName = value; }
63 inline void SetDestinationPoolName(Aws::String&& value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName = std::move(value); }
64 inline void SetDestinationPoolName(const char* value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName.assign(value); }
67 inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(const char* value) { SetDestinationPoolName(value); return *this;}
69 private:
70
71 Aws::String m_ip;
72 bool m_ipHasBeenSet = false;
73
74 Aws::String m_destinationPoolName;
75 bool m_destinationPoolNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PinpointEmail
80} // namespace Aws
PutDedicatedIpInPoolRequest & WithDestinationPoolName(Aws::String &&value)
PutDedicatedIpInPoolRequest & WithDestinationPoolName(const char *value)
PutDedicatedIpInPoolRequest & WithIp(const Aws::String &value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
PutDedicatedIpInPoolRequest & WithIp(const char *value)
PutDedicatedIpInPoolRequest & WithDestinationPoolName(const Aws::String &value)
PutDedicatedIpInPoolRequest & WithIp(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String