AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
29 AWS_PINPOINTEMAIL_API PutDedicatedIpWarmupAttributesRequest() = default;
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 template<typename IpT = Aws::String>
48 void SetIp(IpT&& value) { m_ipHasBeenSet = true; m_ip = std::forward<IpT>(value); }
49 template<typename IpT = Aws::String>
50 PutDedicatedIpWarmupAttributesRequest& WithIp(IpT&& value) { SetIp(std::forward<IpT>(value)); return *this;}
52
54
58 inline int GetWarmupPercentage() const { return m_warmupPercentage; }
59 inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
60 inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
63 private:
64
65 Aws::String m_ip;
66 bool m_ipHasBeenSet = false;
67
68 int m_warmupPercentage{0};
69 bool m_warmupPercentageHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace PinpointEmail
74} // namespace Aws
AWS_PINPOINTEMAIL_API PutDedicatedIpWarmupAttributesRequest()=default
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String