AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DedicatedIpPool.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9#include <aws/sesv2/model/ScalingMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SESV2 {
21namespace Model {
22
29 public:
30 AWS_SESV2_API DedicatedIpPool() = default;
33 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetPoolName() const { return m_poolName; }
40 inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; }
41 template <typename PoolNameT = Aws::String>
42 void SetPoolName(PoolNameT&& value) {
43 m_poolNameHasBeenSet = true;
44 m_poolName = std::forward<PoolNameT>(value);
45 }
46 template <typename PoolNameT = Aws::String>
47 DedicatedIpPool& WithPoolName(PoolNameT&& value) {
48 SetPoolName(std::forward<PoolNameT>(value));
49 return *this;
50 }
52
54
60 inline ScalingMode GetScalingMode() const { return m_scalingMode; }
61 inline bool ScalingModeHasBeenSet() const { return m_scalingModeHasBeenSet; }
62 inline void SetScalingMode(ScalingMode value) {
63 m_scalingModeHasBeenSet = true;
64 m_scalingMode = value;
65 }
67 SetScalingMode(value);
68 return *this;
69 }
71 private:
72 Aws::String m_poolName;
73
74 ScalingMode m_scalingMode{ScalingMode::NOT_SET};
75 bool m_poolNameHasBeenSet = false;
76 bool m_scalingModeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SESV2
81} // namespace Aws
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
DedicatedIpPool & WithPoolName(PoolNameT &&value)
AWS_SESV2_API DedicatedIpPool & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPoolName() const
DedicatedIpPool & WithScalingMode(ScalingMode value)
AWS_SESV2_API DedicatedIpPool(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API DedicatedIpPool()=default
void SetPoolName(PoolNameT &&value)
void SetScalingMode(ScalingMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue