AWS SDK for C++  1.9.155
AWS SDK for C++
DedicatedIp.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetIp() const{ return m_ip; }
50 
54  inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
55 
59  inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
60 
64  inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
65 
69  inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
70 
74  inline DedicatedIp& WithIp(const Aws::String& value) { SetIp(value); return *this;}
75 
79  inline DedicatedIp& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
80 
84  inline DedicatedIp& WithIp(const char* value) { SetIp(value); return *this;}
85 
86 
94  inline const WarmupStatus& GetWarmupStatus() const{ return m_warmupStatus; }
95 
103  inline bool WarmupStatusHasBeenSet() const { return m_warmupStatusHasBeenSet; }
104 
112  inline void SetWarmupStatus(const WarmupStatus& value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = value; }
113 
121  inline void SetWarmupStatus(WarmupStatus&& value) { m_warmupStatusHasBeenSet = true; m_warmupStatus = std::move(value); }
122 
130  inline DedicatedIp& WithWarmupStatus(const WarmupStatus& value) { SetWarmupStatus(value); return *this;}
131 
139  inline DedicatedIp& WithWarmupStatus(WarmupStatus&& value) { SetWarmupStatus(std::move(value)); return *this;}
140 
141 
147  inline int GetWarmupPercentage() const{ return m_warmupPercentage; }
148 
154  inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; }
155 
161  inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; }
162 
168  inline DedicatedIp& WithWarmupPercentage(int value) { SetWarmupPercentage(value); return *this;}
169 
170 
174  inline const Aws::String& GetPoolName() const{ return m_poolName; }
175 
179  inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
180 
184  inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
185 
189  inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
190 
194  inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
195 
199  inline DedicatedIp& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
200 
204  inline DedicatedIp& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
205 
209  inline DedicatedIp& WithPoolName(const char* value) { SetPoolName(value); return *this;}
210 
211  private:
212 
213  Aws::String m_ip;
214  bool m_ipHasBeenSet;
215 
216  WarmupStatus m_warmupStatus;
217  bool m_warmupStatusHasBeenSet;
218 
219  int m_warmupPercentage;
220  bool m_warmupPercentageHasBeenSet;
221 
222  Aws::String m_poolName;
223  bool m_poolNameHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace SESV2
228 } // namespace Aws
Aws::SESV2::Model::DedicatedIp::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::DedicatedIp::SetWarmupStatus
void SetWarmupStatus(WarmupStatus &&value)
Definition: DedicatedIp.h:121
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DedicatedIp::WarmupPercentageHasBeenSet
bool WarmupPercentageHasBeenSet() const
Definition: DedicatedIp.h:154
Aws::SESV2::Model::DedicatedIp::operator=
DedicatedIp & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::WarmupStatus
WarmupStatus
Definition: WarmupStatus.h:17
Aws::SESV2::Model::DedicatedIp::WithPoolName
DedicatedIp & WithPoolName(const char *value)
Definition: DedicatedIp.h:209
Aws::SESV2::Model::DedicatedIp::WithWarmupStatus
DedicatedIp & WithWarmupStatus(WarmupStatus &&value)
Definition: DedicatedIp.h:139
Aws::SESV2::Model::DedicatedIp::GetWarmupStatus
const WarmupStatus & GetWarmupStatus() const
Definition: DedicatedIp.h:94
Aws::SESV2::Model::DedicatedIp::WithIp
DedicatedIp & WithIp(const Aws::String &value)
Definition: DedicatedIp.h:74
Aws::SESV2::Model::DedicatedIp::SetWarmupStatus
void SetWarmupStatus(const WarmupStatus &value)
Definition: DedicatedIp.h:112
Aws::SESV2::Model::DedicatedIp
Definition: DedicatedIp.h:38
Aws::SESV2::Model::DedicatedIp::WithWarmupStatus
DedicatedIp & WithWarmupStatus(const WarmupStatus &value)
Definition: DedicatedIp.h:130
Aws::SESV2::Model::DedicatedIp::WithIp
DedicatedIp & WithIp(const char *value)
Definition: DedicatedIp.h:84
Aws::SESV2::Model::DedicatedIp::GetWarmupPercentage
int GetWarmupPercentage() const
Definition: DedicatedIp.h:147
WarmupStatus.h
Aws::SESV2::Model::DedicatedIp::DedicatedIp
DedicatedIp()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::DedicatedIp::IpHasBeenSet
bool IpHasBeenSet() const
Definition: DedicatedIp.h:54
SESV2_EXPORTS.h
Aws::SESV2::Model::DedicatedIp::GetPoolName
const Aws::String & GetPoolName() const
Definition: DedicatedIp.h:174
Aws::SESV2::Model::DedicatedIp::WithWarmupPercentage
DedicatedIp & WithWarmupPercentage(int value)
Definition: DedicatedIp.h:168
Aws::SESV2::Model::DedicatedIp::SetPoolName
void SetPoolName(Aws::String &&value)
Definition: DedicatedIp.h:189
Aws::SESV2::Model::DedicatedIp::SetPoolName
void SetPoolName(const Aws::String &value)
Definition: DedicatedIp.h:184
Aws::SESV2::Model::DedicatedIp::SetIp
void SetIp(Aws::String &&value)
Definition: DedicatedIp.h:64
Aws::SESV2::Model::DedicatedIp::SetWarmupPercentage
void SetWarmupPercentage(int value)
Definition: DedicatedIp.h:161
Aws::SESV2::Model::DedicatedIp::WithPoolName
DedicatedIp & WithPoolName(const Aws::String &value)
Definition: DedicatedIp.h:199
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DedicatedIp::SetPoolName
void SetPoolName(const char *value)
Definition: DedicatedIp.h:194
Aws::SESV2::Model::DedicatedIp::WithPoolName
DedicatedIp & WithPoolName(Aws::String &&value)
Definition: DedicatedIp.h:204
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::DedicatedIp::DedicatedIp
DedicatedIp(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DedicatedIp::SetIp
void SetIp(const Aws::String &value)
Definition: DedicatedIp.h:59
Aws::SESV2::Model::DedicatedIp::WarmupStatusHasBeenSet
bool WarmupStatusHasBeenSet() const
Definition: DedicatedIp.h:103
Aws::SESV2::Model::DedicatedIp::WithIp
DedicatedIp & WithIp(Aws::String &&value)
Definition: DedicatedIp.h:79
Aws::SESV2::Model::DedicatedIp::GetIp
const Aws::String & GetIp() const
Definition: DedicatedIp.h:49
Aws::SESV2::Model::DedicatedIp::PoolNameHasBeenSet
bool PoolNameHasBeenSet() const
Definition: DedicatedIp.h:179
Aws::SESV2::Model::DedicatedIp::SetIp
void SetIp(const char *value)
Definition: DedicatedIp.h:69