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/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/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 SESV2
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_SESV2_API DedicatedIp();
41 AWS_SESV2_API DedicatedIp(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetIp() const{ return m_ip; }
51 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
52 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
53 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
54 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
55 inline DedicatedIp& WithIp(const Aws::String& value) { SetIp(value); return *this;}
56 inline DedicatedIp& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
57 inline DedicatedIp& WithIp(const char* value) { SetIp(value); return *this;}
59
61
68 inline const WarmupStatus& GetWarmupStatus() const{ return m_warmupStatus; }
69 inline bool WarmupStatusHasBeenSet() const { return m_warmupStatusHasBeenSet; }
70 inline void SetWarmupStatus(const WarmupStatus& value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = value; }
71 inline void SetWarmupStatus(WarmupStatus&& value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = std::move(value); }
72 inline DedicatedIp& WithWarmupStatus(const WarmupStatus& value) { SetWarmupStatus(value); return *this;}
73 inline DedicatedIp& WithWarmupStatus(WarmupStatus&& value) { SetWarmupStatus(std::move(value)); return *this;}
75
77
82 inline int GetWarmupPercentage() const{ return m_warmupPercentage; }
83 inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
84 inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
85 inline DedicatedIp& WithWarmupPercentage(int value) { SetWarmupPercentage(value); return *this;}
87
89
92 inline const Aws::String& GetPoolName() const{ return m_poolName; }
93 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
94 inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
95 inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
96 inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
97 inline DedicatedIp& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
98 inline DedicatedIp& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
99 inline DedicatedIp& WithPoolName(const char* value) { SetPoolName(value); return *this;}
101 private:
102
103 Aws::String m_ip;
104 bool m_ipHasBeenSet = false;
105
106 WarmupStatus m_warmupStatus;
107 bool m_warmupStatusHasBeenSet = false;
108
109 int m_warmupPercentage;
110 bool m_warmupPercentageHasBeenSet = false;
111
112 Aws::String m_poolName;
113 bool m_poolNameHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SESV2
118} // namespace Aws
void SetIp(Aws::String &&value)
Definition DedicatedIp.h:53
DedicatedIp & WithPoolName(const Aws::String &value)
Definition DedicatedIp.h:97
DedicatedIp & WithIp(const char *value)
Definition DedicatedIp.h:57
void SetIp(const Aws::String &value)
Definition DedicatedIp.h:52
AWS_SESV2_API DedicatedIp(Aws::Utils::Json::JsonView jsonValue)
DedicatedIp & WithWarmupStatus(const WarmupStatus &value)
Definition DedicatedIp.h:72
void SetWarmupStatus(WarmupStatus &&value)
Definition DedicatedIp.h:71
AWS_SESV2_API DedicatedIp & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPoolName(const Aws::String &value)
Definition DedicatedIp.h:94
DedicatedIp & WithIp(const Aws::String &value)
Definition DedicatedIp.h:55
void SetWarmupStatus(const WarmupStatus &value)
Definition DedicatedIp.h:70
const Aws::String & GetPoolName() const
Definition DedicatedIp.h:92
DedicatedIp & WithWarmupPercentage(int value)
Definition DedicatedIp.h:85
DedicatedIp & WithPoolName(const char *value)
Definition DedicatedIp.h:99
DedicatedIp & WithWarmupStatus(WarmupStatus &&value)
Definition DedicatedIp.h:73
void SetPoolName(const char *value)
Definition DedicatedIp.h:96
const WarmupStatus & GetWarmupStatus() const
Definition DedicatedIp.h:68
void SetIp(const char *value)
Definition DedicatedIp.h:54
DedicatedIp & WithIp(Aws::String &&value)
Definition DedicatedIp.h:56
bool WarmupPercentageHasBeenSet() const
Definition DedicatedIp.h:83
void SetPoolName(Aws::String &&value)
Definition DedicatedIp.h:95
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWarmupPercentage(int value)
Definition DedicatedIp.h:84
const Aws::String & GetIp() const
Definition DedicatedIp.h:50
DedicatedIp & WithPoolName(Aws::String &&value)
Definition DedicatedIp.h:98
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue