AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDedicatedIpWarmupAttributesRequest.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
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_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
38
39
41
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 PutDedicatedIpWarmupAttributesRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
51 inline PutDedicatedIpWarmupAttributesRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
52 inline PutDedicatedIpWarmupAttributesRequest& WithIp(const char* value) { SetIp(value); return *this;}
54
56
60 inline int GetWarmupPercentage() const{ return m_warmupPercentage; }
61 inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
62 inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
65 private:
66
67 Aws::String m_ip;
68 bool m_ipHasBeenSet = false;
69
70 int m_warmupPercentage;
71 bool m_warmupPercentageHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace PinpointEmail
76} // namespace Aws
PutDedicatedIpWarmupAttributesRequest & WithIp(Aws::String &&value)
PutDedicatedIpWarmupAttributesRequest & WithIp(const char *value)
PutDedicatedIpWarmupAttributesRequest & WithIp(const Aws::String &value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String