AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DedicatedIp.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint-email/model/WarmupStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PinpointEmail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINTEMAIL_API DedicatedIp() = default;
37 AWS_PINPOINTEMAIL_API DedicatedIp(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINTEMAIL_API DedicatedIp& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetIp() const { return m_ip; }
47 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
48 template<typename IpT = Aws::String>
49 void SetIp(IpT&& value) { m_ipHasBeenSet = true; m_ip = std::forward<IpT>(value); }
50 template<typename IpT = Aws::String>
51 DedicatedIp& WithIp(IpT&& value) { SetIp(std::forward<IpT>(value)); return *this;}
53
55
62 inline WarmupStatus GetWarmupStatus() const { return m_warmupStatus; }
63 inline bool WarmupStatusHasBeenSet() const { return m_warmupStatusHasBeenSet; }
64 inline void SetWarmupStatus(WarmupStatus value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = value; }
65 inline DedicatedIp& WithWarmupStatus(WarmupStatus value) { SetWarmupStatus(value); return *this;}
67
69
74 inline int GetWarmupPercentage() const { return m_warmupPercentage; }
75 inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
76 inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
77 inline DedicatedIp& WithWarmupPercentage(int value) { SetWarmupPercentage(value); return *this;}
79
81
84 inline const Aws::String& GetPoolName() const { return m_poolName; }
85 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
86 template<typename PoolNameT = Aws::String>
87 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet = true; m_poolName = std::forward<PoolNameT>(value); }
88 template<typename PoolNameT = Aws::String>
89 DedicatedIp& WithPoolName(PoolNameT&& value) { SetPoolName(std::forward<PoolNameT>(value)); return *this;}
91 private:
92
93 Aws::String m_ip;
94 bool m_ipHasBeenSet = false;
95
96 WarmupStatus m_warmupStatus{WarmupStatus::NOT_SET};
97 bool m_warmupStatusHasBeenSet = false;
98
99 int m_warmupPercentage{0};
100 bool m_warmupPercentageHasBeenSet = false;
101
102 Aws::String m_poolName;
103 bool m_poolNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace PinpointEmail
108} // namespace Aws
AWS_PINPOINTEMAIL_API DedicatedIp()=default
const Aws::String & GetIp() const
Definition DedicatedIp.h:46
DedicatedIp & WithPoolName(PoolNameT &&value)
Definition DedicatedIp.h:89
void SetPoolName(PoolNameT &&value)
Definition DedicatedIp.h:87
AWS_PINPOINTEMAIL_API DedicatedIp(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API DedicatedIp & operator=(Aws::Utils::Json::JsonView jsonValue)
DedicatedIp & WithWarmupPercentage(int value)
Definition DedicatedIp.h:77
DedicatedIp & WithIp(IpT &&value)
Definition DedicatedIp.h:51
void SetWarmupStatus(WarmupStatus value)
Definition DedicatedIp.h:64
DedicatedIp & WithWarmupStatus(WarmupStatus value)
Definition DedicatedIp.h:65
const Aws::String & GetPoolName() const
Definition DedicatedIp.h:84
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue