AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DedicatedIpPool.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/ScalingMode.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
33 {
34 public:
35 AWS_SESV2_API DedicatedIpPool();
38 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPoolName() const{ return m_poolName; }
46 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
47 inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; }
48 inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); }
49 inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); }
50 inline DedicatedIpPool& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;}
51 inline DedicatedIpPool& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;}
52 inline DedicatedIpPool& WithPoolName(const char* value) { SetPoolName(value); return *this;}
54
56
62 inline const ScalingMode& GetScalingMode() const{ return m_scalingMode; }
63 inline bool ScalingModeHasBeenSet() const { return m_scalingModeHasBeenSet; }
64 inline void SetScalingMode(const ScalingMode& value) { m_scalingModeHasBeenSet = true; m_scalingMode = value; }
65 inline void SetScalingMode(ScalingMode&& value) { m_scalingModeHasBeenSet = true; m_scalingMode = std::move(value); }
66 inline DedicatedIpPool& WithScalingMode(const ScalingMode& value) { SetScalingMode(value); return *this;}
67 inline DedicatedIpPool& WithScalingMode(ScalingMode&& value) { SetScalingMode(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_poolName;
72 bool m_poolNameHasBeenSet = false;
73
74 ScalingMode m_scalingMode;
75 bool m_scalingModeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SESV2
80} // namespace Aws
DedicatedIpPool & WithScalingMode(const ScalingMode &value)
DedicatedIpPool & WithPoolName(Aws::String &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
DedicatedIpPool & WithPoolName(const char *value)
void SetScalingMode(const ScalingMode &value)
AWS_SESV2_API DedicatedIpPool & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPoolName() const
DedicatedIpPool & WithPoolName(const Aws::String &value)
void SetPoolName(const Aws::String &value)
const ScalingMode & GetScalingMode() const
void SetPoolName(const char *value)
AWS_SESV2_API DedicatedIpPool(Aws::Utils::Json::JsonView jsonValue)
void SetScalingMode(ScalingMode &&value)
DedicatedIpPool & WithScalingMode(ScalingMode &&value)
void SetPoolName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue