AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
49 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
50 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
51 inline DedicatedIp& WithIp(const Aws::String& value) { SetIp(value); return *this;}
52 inline DedicatedIp& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
53 inline DedicatedIp& WithIp(const char* value) { SetIp(value); return *this;}
55
57
64 inline const WarmupStatus& GetWarmupStatus() const{ return m_warmupStatus; }
65 inline bool WarmupStatusHasBeenSet() const { return m_warmupStatusHasBeenSet; }
66 inline void SetWarmupStatus(const WarmupStatus& value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = value; }
67 inline void SetWarmupStatus(WarmupStatus&& value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = std::move(value); }
68 inline DedicatedIp& WithWarmupStatus(const WarmupStatus& value) { SetWarmupStatus(value); return *this;}
69 inline DedicatedIp& WithWarmupStatus(WarmupStatus&& value) { SetWarmupStatus(std::move(value)); return *this;}
71
73
78 inline int GetWarmupPercentage() const{ return m_warmupPercentage; }
79 inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
80 inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
81 inline DedicatedIp& WithWarmupPercentage(int value) { SetWarmupPercentage(value); return *this;}
83
85
88 inline const Aws::String& GetPoolName() const{ return m_poolName; }
89 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
90 inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
91 inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
92 inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
93 inline DedicatedIp& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
94 inline DedicatedIp& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
95 inline DedicatedIp& WithPoolName(const char* value) { SetPoolName(value); return *this;}
97 private:
98
99 Aws::String m_ip;
100 bool m_ipHasBeenSet = false;
101
102 WarmupStatus m_warmupStatus;
103 bool m_warmupStatusHasBeenSet = false;
104
105 int m_warmupPercentage;
106 bool m_warmupPercentageHasBeenSet = false;
107
108 Aws::String m_poolName;
109 bool m_poolNameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace PinpointEmail
114} // namespace Aws
DedicatedIp & WithWarmupStatus(WarmupStatus &&value)
Definition DedicatedIp.h:69
void SetPoolName(Aws::String &&value)
Definition DedicatedIp.h:91
DedicatedIp & WithWarmupStatus(const WarmupStatus &value)
Definition DedicatedIp.h:68
const Aws::String & GetIp() const
Definition DedicatedIp.h:46
AWS_PINPOINTEMAIL_API DedicatedIp(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API DedicatedIp & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPoolName(const Aws::String &value)
Definition DedicatedIp.h:90
DedicatedIp & WithIp(const Aws::String &value)
Definition DedicatedIp.h:51
void SetPoolName(const char *value)
Definition DedicatedIp.h:92
DedicatedIp & WithWarmupPercentage(int value)
Definition DedicatedIp.h:81
void SetWarmupStatus(WarmupStatus &&value)
Definition DedicatedIp.h:67
DedicatedIp & WithPoolName(Aws::String &&value)
Definition DedicatedIp.h:94
DedicatedIp & WithIp(const char *value)
Definition DedicatedIp.h:53
AWS_PINPOINTEMAIL_API DedicatedIp()
DedicatedIp & WithPoolName(const char *value)
Definition DedicatedIp.h:95
void SetIp(Aws::String &&value)
Definition DedicatedIp.h:49
DedicatedIp & WithPoolName(const Aws::String &value)
Definition DedicatedIp.h:93
DedicatedIp & WithIp(Aws::String &&value)
Definition DedicatedIp.h:52
const Aws::String & GetPoolName() const
Definition DedicatedIp.h:88
void SetIp(const Aws::String &value)
Definition DedicatedIp.h:48
void SetWarmupStatus(const WarmupStatus &value)
Definition DedicatedIp.h:66
const WarmupStatus & GetWarmupStatus() const
Definition DedicatedIp.h:64
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