AWS SDK for C++  1.9.159
AWS SDK for C++
PutDedicatedIpWarmupAttributesRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "PutDedicatedIpWarmupAttributes"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
44  inline const Aws::String& GetIp() const{ return m_ip; }
45 
50  inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
51 
56  inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
57 
62  inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
63 
68  inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
69 
74  inline PutDedicatedIpWarmupAttributesRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
75 
80  inline PutDedicatedIpWarmupAttributesRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
81 
86  inline PutDedicatedIpWarmupAttributesRequest& WithIp(const char* value) { SetIp(value); return *this;}
87 
88 
93  inline int GetWarmupPercentage() const{ return m_warmupPercentage; }
94 
99  inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
100 
105  inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
106 
111  inline PutDedicatedIpWarmupAttributesRequest& WithWarmupPercentage(int value) { SetWarmupPercentage(value); return *this;}
112 
113  private:
114 
115  Aws::String m_ip;
116  bool m_ipHasBeenSet;
117 
118  int m_warmupPercentage;
119  bool m_warmupPercentageHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace SESV2
124 } // namespace Aws
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::SetIp
void SetIp(Aws::String &&value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:62
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::WithWarmupPercentage
PutDedicatedIpWarmupAttributesRequest & WithWarmupPercentage(int value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:111
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::SetWarmupPercentage
void SetWarmupPercentage(int value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:105
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::WithIp
PutDedicatedIpWarmupAttributesRequest & WithIp(Aws::String &&value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:80
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::WithIp
PutDedicatedIpWarmupAttributesRequest & WithIp(const Aws::String &value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:74
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest
Definition: PutDedicatedIpWarmupAttributesRequest.h:27
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::SetIp
void SetIp(const Aws::String &value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:56
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
AWSString.h
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutDedicatedIpWarmupAttributesRequest.h:35
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::GetIp
const Aws::String & GetIp() const
Definition: PutDedicatedIpWarmupAttributesRequest.h:44
SESV2_EXPORTS.h
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::WarmupPercentageHasBeenSet
bool WarmupPercentageHasBeenSet() const
Definition: PutDedicatedIpWarmupAttributesRequest.h:99
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::WithIp
PutDedicatedIpWarmupAttributesRequest & WithIp(const char *value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::SetIp
void SetIp(const char *value)
Definition: PutDedicatedIpWarmupAttributesRequest.h:68
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::PutDedicatedIpWarmupAttributesRequest
PutDedicatedIpWarmupAttributesRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::GetWarmupPercentage
int GetWarmupPercentage() const
Definition: PutDedicatedIpWarmupAttributesRequest.h:93
SESV2Request.h
Aws::SESV2::Model::PutDedicatedIpWarmupAttributesRequest::IpHasBeenSet
bool IpHasBeenSet() const
Definition: PutDedicatedIpWarmupAttributesRequest.h:50