/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

A request to create a new dedicated IP pool.

See Also:

AWS * API Reference

*/ class CreateDedicatedIpPoolRequest : public SESV2Request { public: AWS_SESV2_API CreateDedicatedIpPoolRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateDedicatedIpPool"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The name of the dedicated IP pool.

*/ inline const Aws::String& GetPoolName() const{ return m_poolName; } /** *

The name of the dedicated IP pool.

*/ inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; } /** *

The name of the dedicated IP pool.

*/ inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; } /** *

The name of the dedicated IP pool.

*/ inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); } /** *

The name of the dedicated IP pool.

*/ inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); } /** *

The name of the dedicated IP pool.

*/ inline CreateDedicatedIpPoolRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;} /** *

The name of the dedicated IP pool.

*/ inline CreateDedicatedIpPoolRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;} /** *

The name of the dedicated IP pool.

*/ inline CreateDedicatedIpPoolRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;} /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline CreateDedicatedIpPoolRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline CreateDedicatedIpPoolRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline CreateDedicatedIpPoolRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

An object that defines the tags (keys and values) that you want to associate * with the pool.

*/ inline CreateDedicatedIpPoolRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The type of scaling mode.

*/ inline const ScalingMode& GetScalingMode() const{ return m_scalingMode; } /** *

The type of scaling mode.

*/ inline bool ScalingModeHasBeenSet() const { return m_scalingModeHasBeenSet; } /** *

The type of scaling mode.

*/ inline void SetScalingMode(const ScalingMode& value) { m_scalingModeHasBeenSet = true; m_scalingMode = value; } /** *

The type of scaling mode.

*/ inline void SetScalingMode(ScalingMode&& value) { m_scalingModeHasBeenSet = true; m_scalingMode = std::move(value); } /** *

The type of scaling mode.

*/ inline CreateDedicatedIpPoolRequest& WithScalingMode(const ScalingMode& value) { SetScalingMode(value); return *this;} /** *

The type of scaling mode.

*/ inline CreateDedicatedIpPoolRequest& WithScalingMode(ScalingMode&& value) { SetScalingMode(std::move(value)); return *this;} private: Aws::String m_poolName; bool m_poolNameHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; ScalingMode m_scalingMode; bool m_scalingModeHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws